ARM: sun7i: dt: add pinmux configuration for the PWM
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 28 Apr 2014 16:17:12 +0000 (18:17 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 28 Apr 2014 19:11:03 +0000 (12:11 -0700)
Add the pinctrl descriptions for both PWM channels of the Allwinner A20.

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.dtsi

index fe626ec579f2f9de68848df6bf9751829733bf2c..3ac8926bde27c332edb2db472c1bc28ca13efcaf 100644 (file)
                        #size-cells = <0>;
                        #gpio-cells = <3>;
 
+                       pwm0_pins_a: pwm0@0 {
+                               allwinner,pins = "PB2";
+                               allwinner,function = "pwm";
+                               allwinner,drive = <0>;
+                               allwinner,pull = <0>;
+                       };
+
+                       pwm1_pins_a: pwm1@0 {
+                               allwinner,pins = "PI3";
+                               allwinner,function = "pwm";
+                               allwinner,drive = <0>;
+                               allwinner,pull = <0>;
+                       };
+
                        uart0_pins_a: uart0@0 {
                                allwinner,pins = "PB22", "PB23";
                                allwinner,function = "uart0";