ARM: sunxi: dt: add PWM support for the cubietruck
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 28 Apr 2014 16:17:14 +0000 (18:17 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 28 Apr 2014 19:13:19 +0000 (12:13 -0700)
Enable the PWM for both PWM channels on the cubietruck. They can be found on
connector CN8.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-cubietruck.dts

index cb25d3c8da5833bae48d777325be4081b11bedb8..0c3bd127a5fdee63da2976e95f05137b8f6b0df4 100644 (file)
                        };
                };
 
+               pwm: pwm@01c20e00 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pwm0_pins_a>, <&pwm1_pins_a>;
+                       status = "okay";
+               };
+
                uart0: serial@01c28000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&uart0_pins_a>;