]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: at91/dt: sama5d4: add pwm0 device node
authorBo Shen <voice.shen@atmel.com>
Fri, 9 Jan 2015 16:11:05 +0000 (17:11 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Mar 2015 17:36:16 +0000 (18:36 +0100)
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/sama5d4.dtsi

index 93dc4e374b644650d161b491aee85a2ceddf8f49..3041baaa19a15cb40c431454fb5869597c286b3a 100644 (file)
@@ -64,6 +64,7 @@
                gpio2 = &pioC;
                gpio3 = &pioD;
                gpio4 = &pioE;
+               pwm0 = &pwm0;
                ssc0 = &ssc0;
                ssc1 = &ssc1;
                tcb0 = &tcb0;
                                status = "disabled";
                        };
 
+                       pwm0: pwm@f800c000 {
+                               compatible = "atmel,sama5d3-pwm";
+                               reg = <0xf800c000 0x300>;
+                               interrupts = <43 IRQ_TYPE_LEVEL_HIGH 4>;
+                               #pwm-cells = <3>;
+                               clocks = <&pwm_clk>;
+                               status = "disabled";
+                       };
+
                        spi0: spi@f8010000 {
                                #address-cells = <1>;
                                #size-cells = <0>;