]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sunxi: h3-h5: Move pinctrl of mmc1 from dts to dtsi
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Thu, 8 Feb 2018 12:01:40 +0000 (14:01 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 15 Feb 2018 08:27:37 +0000 (09:27 +0100)
Most of the boards use the mmc1 pins and their attributes defined in
mmc1_pins_a. Let's default to that by moving the pinctrl attributes to
the dtsi file. This makes it easier to modify device trees in the
future as there is only one place to change the pinctrl attributes.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
13 files changed:
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
arch/arm/boot/dts/sunxi-h3-h5.dtsi
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts

index 29a85eb14927150f07c21f479412d47883fd0064..7d01f9322658611e351d3d1c9c6c2ca793ad3597 100644 (file)
@@ -72,8 +72,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
index f3b066ff63cbb8f74b869c458058d90df1a4f4c2..73978853bb4cf5bd3e55c83949fe7acf2c50a79b 100644 (file)
@@ -119,8 +119,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc_wifi>;
        mmc-pwrseq = <&wifi_pwrseq>;
        bus-width = <4>;
index bea49ed89cc79e7ae38b1a04b04b3eca0b3ad2d0..9c1bc472fb1c7800f3030939b7adf1d8b19c8c54 100644 (file)
@@ -143,8 +143,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
index 9fc07593e907ba47ea32561c705805e7d5e676a6..870aabcbb2d8b3487acd895d6e85c28bc7eced64 100644 (file)
@@ -122,8 +122,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        non-removable;
index a6e61915d6488fda9ce637e6f7e4b8da1e23cb92..07b51a2f14c678207ea5823a2b981dcb3b749a8c 100644 (file)
@@ -101,8 +101,6 @@ &ir {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
index 07e2e61807923778a52137a3ab47800c17cf5f1e..6246d3eff39dec1a149d45455b2b41604b3a463b 100644 (file)
@@ -87,8 +87,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
index ac6f52f3fa62eb220817a44ac939ac5a131f9e90..7569bd05e2499362b99f620f0822d4429c8ef7b3 100644 (file)
@@ -139,8 +139,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
        bus-width = <4>;
index 82ab5b6b730b54240d182b259cb94d9b1cec165f..2e59fd29671783710b4dfbe1a8173a675c5e80fa 100644 (file)
@@ -113,8 +113,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        non-removable;
index a10281b455f50ccad1f26087ae14884600c19c90..71fb7320893971336edf1ec145d2f213bb61d34f 100644 (file)
@@ -59,8 +59,6 @@ &emac {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        non-removable;
index 3a0854a96a040b9120360b9e99a618119e89cdd7..b4a4b3cb6c4ec3b1babfca6008df9bacfd75d3a8 100644 (file)
@@ -154,6 +154,8 @@ mmc0: mmc@1c0f000 {
                mmc1: mmc@1c10000 {
                        /* compatible and clocks are in per SoC .dtsi file */
                        reg = <0x01c10000 0x1000>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&mmc1_pins_a>;
                        resets = <&ccu RST_BUS_MMC1>;
                        reset-names = "ahb";
                        interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
index 1ef70cb4c9bc0c94ce751acd1a7acec085bb2beb..506e25ba028abc9c0b3c73b67622a8be9bf0df96 100644 (file)
@@ -158,8 +158,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
index 586ec67f410181dcf8abb6e7c357d40c0bd7d2da..803566608ed8a9ac638f36d4c9719ee7c8745244 100644 (file)
@@ -174,8 +174,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;
        bus-width = <4>;
index feee125a4e9afad2b1bb51beee1b0b5c25b78f54..eda24d813282aeeaa445aad68078a5aac837baa3 100644 (file)
@@ -81,8 +81,6 @@ &mmc0 {
 };
 
 &mmc1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        mmc-pwrseq = <&wifi_pwrseq>;