summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2013-07-04 20:08:42 +0000
committergonzo <gonzo@FreeBSD.org>2013-07-04 20:08:42 +0000
commitf46ddafd5dc1fa559765500316c9fb8a3b8e69c4 (patch)
tree8917f3861395db31dbb2a45f76ea6050dd45b46f
parent6a8f6a36f6644e82aaf533fe761e0896546b7cf1 (diff)
downloadFreeBSD-src-f46ddafd5dc1fa559765500316c9fb8a3b8e69c4.zip
FreeBSD-src-f46ddafd5dc1fa559765500316c9fb8a3b8e69c4.tar.gz
Add nodes for PWMSS1 and PWMSS2
-rw-r--r--sys/boot/fdt/dts/am335x.dtsi30
1 files changed, 29 insertions, 1 deletions
diff --git a/sys/boot/fdt/dts/am335x.dtsi b/sys/boot/fdt/dts/am335x.dtsi
index 482de9c..7a210b1 100644
--- a/sys/boot/fdt/dts/am335x.dtsi
+++ b/sys/boot/fdt/dts/am335x.dtsi
@@ -155,7 +155,7 @@
compatible = "ti,am335x-pwm";
#address-cells = <1>;
#size-cells = <1>;
- reg = < 0x48300000 0x100 /* PWMSS */
+ reg = < 0x48300000 0x100 /* PWMSS0 */
0x48300100 0x80 /* eCAP0 */
0x48300180 0x80 /* eQEP0 */
0x48300200 0x60 /* ePWM0 */
@@ -165,6 +165,34 @@
pwm-device-id = <0>;
};
+ pwm@48302000 {
+ compatible = "ti,am335x-pwm";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = < 0x48302000 0x100 /* PWMSS1 */
+ 0x48302100 0x80 /* eCAP1 */
+ 0x48302180 0x80 /* eQEP1 */
+ 0x48302200 0x60 /* ePWM1 */
+ >;
+ interrupts = <87 59>; /* ePWM1INT, ePWM1_TZINT */
+ interrupt-parent = <&AINTC>;
+ pwm-device-id = <1>;
+ };
+
+ pwm@48304000 {
+ compatible = "ti,am335x-pwm";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = < 0x48304000 0x100 /* PWMSS2 */
+ 0x48304100 0x80 /* eCAP2 */
+ 0x48304180 0x80 /* eQEP2 */
+ 0x48304200 0x60 /* ePWM2 */
+ >;
+ interrupts = <88 60>; /* ePWM2INT, ePWM2_TZINT */
+ interrupt-parent = <&AINTC>;
+ pwm-device-id = <2>;
+ };
+
lcd: lcd@4830e000 {
#address-cells = <1>;
#size-cells = <0>;
OpenPOWER on IntegriCloud