]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 e374f4fc8073f6fde9ee0d5d0d5d4758218a264d..245cee14cf1d84a6276f2a715edaebc5c4fa167d 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";