]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: gr8: Add missing pwm channel 1 pin
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Oct 2016 06:49:59 +0000 (08:49 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 22 Nov 2016 14:32:09 +0000 (15:32 +0100)
The PWM controller has two different channels, but only the first pin was
exposed in the DTSI. Add the other one.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun5i-gr8.dtsi

index 74aff795e723827b52551882a01e850e4f822a69..c68439b27ef90a356a4df8df5a14ff073c2b62de 100644 (file)
@@ -854,6 +854,13 @@ pwm0_pins_a: pwm0@0 {
                                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
                        };
 
+                       pwm1_pins: pwm1 {
+                               allwinner,pins = "PG13";
+                               allwinner,function = "pwm1";
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+                       };
+
                        spdif_tx_pins_a: spdif@0 {
                                allwinner,pins = "PB10";
                                allwinner,function = "spdif";