]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: sun5i: Rename A10s pins
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 14 Oct 2016 14:32:26 +0000 (16:32 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 22 Nov 2016 14:33:55 +0000 (15:33 +0100)
The SPI2 pins on the sun5i PB bank are only available on the A10s. Rename
the A10s only bank so that it doesn't confuse people on the other SoCs
whose indexing would start at b.

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

index aef91476f9aec0dcc880079a3c8f9112fa3f134c..0684d7930d65960a89e17ce52e2f123dbc6c9ddc 100644 (file)
 
 &spi2 {
        pinctrl-names = "default";
-       pinctrl-0 = <&spi2_pins_a>,
-                   <&spi2_cs0_pins_a>;
+       pinctrl-0 = <&spi2_pins_b>,
+                   <&spi2_cs0_pins_b>;
        status = "okay";
 };
 
index c41a2ba34dde902c8a352bd3715dfa6c827b5887..7aa8c7aa0153e29bfa1bd6691275c23d87fa8d68 100644 (file)
                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
        };
 
-       spi2_pins_a: spi2@0 {
+       spi2_pins_b: spi2@1 {
                allwinner,pins = "PB12", "PB13", "PB14";
                allwinner,function = "spi2";
                allwinner,drive = <SUN4I_PINCTRL_10_MA>;
                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
        };
 
-       spi2_cs0_pins_a: spi2_cs0@0 {
+       spi2_cs0_pins_b: spi2_cs0@1 {
                allwinner,pins = "PB11";
                allwinner,function = "spi2";
                allwinner,drive = <SUN4I_PINCTRL_10_MA>;