ARM: dts: sun5i: Add PWM channel 0 pinmux setting for A13/A10s
authorHans de Goede <hdegoede@redhat.com>
Sun, 11 Oct 2015 09:55:06 +0000 (11:55 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 12 Oct 2015 13:51:09 +0000 (15:51 +0200)
Add a pinmux setting for the first pwm channel. This is often used for
backlight dimming on tablets.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i.dtsi

index 7d355e52efe220329daf0ad1711a3f2548a16770..9ffee9bb70a743eaf70c8751a150350941880059 100644 (file)
                                allwinner,drive = <SUN4I_PINCTRL_10_MA>;
                                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
                        };
+
+                       pwm0_pins: pwm0 {
+                               allwinner,pins = "PB2";
+                               allwinner,function = "pwm";
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+                       };
                };
 
                timer@01c20c00 {