ARM: sun5i: Add SPI2 pins
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 18 Jul 2016 18:51:30 +0000 (20:51 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 22 Nov 2016 14:33:56 +0000 (15:33 +0100)
All the sun5i have the SPI2 pins exposed on the PE bank. Add them to the
DT.

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

index e374f4f..245cee1 100644 (file)
                                allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
                        };
 
+                       spi2_pins_a: spi2@0 {
+                               allwinner,pins = "PE1", "PE2", "PE3";
+                               allwinner,function = "spi2";
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+                       };
+
+                       spi2_cs0_pins_a: spi2-cs0@0 {
+                               allwinner,pins = "PE0";
+                               allwinner,function = "spi2";
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+                       };
+
                        uart3_pins_a: uart3@0 {
                                allwinner,pins = "PG9", "PG10";
                                allwinner,function = "uart3";