aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonas Kylmälä <joonas.kylmala@iki.fi>2018-02-08 07:01:40 -0500
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-15 03:27:37 -0500
commite607b605be46a44f50e3b48597188477e52eeff8 (patch)
tree6f72700340708c19ad838cff0f14b05ec92f713c
parent50caa75681357737b6c44b7c212964217ffc00de (diff)
ARM: dts: sunxi: h3-h5: Move pinctrl of mmc1 from dts to dtsi
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>
-rw-r--r--arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-beelink-x2.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-2.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts2
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts2
-rw-r--r--arch/arm/boot/dts/sunxi-h3-h5.dtsi2
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts2
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts2
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts2
13 files changed, 2 insertions, 24 deletions
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
index 29a85eb14927..7d01f9322658 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
@@ -72,8 +72,6 @@
72}; 72};
73 73
74&mmc1 { 74&mmc1 {
75 pinctrl-names = "default";
76 pinctrl-0 = <&mmc1_pins_a>;
77 vmmc-supply = <&reg_vcc3v3>; 75 vmmc-supply = <&reg_vcc3v3>;
78 vqmmc-supply = <&reg_vcc3v3>; 76 vqmmc-supply = <&reg_vcc3v3>;
79 mmc-pwrseq = <&wifi_pwrseq>; 77 mmc-pwrseq = <&wifi_pwrseq>;
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
index f3b066ff63cb..73978853bb4c 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -119,8 +119,6 @@
119}; 119};
120 120
121&mmc1 { 121&mmc1 {
122 pinctrl-names = "default";
123 pinctrl-0 = <&mmc1_pins_a>;
124 vmmc-supply = <&reg_vcc_wifi>; 122 vmmc-supply = <&reg_vcc_wifi>;
125 mmc-pwrseq = <&wifi_pwrseq>; 123 mmc-pwrseq = <&wifi_pwrseq>;
126 bus-width = <4>; 124 bus-width = <4>;
diff --git a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts b/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts
index bea49ed89cc7..9c1bc472fb1c 100644
--- a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts
@@ -143,8 +143,6 @@
143}; 143};
144 144
145&mmc1 { 145&mmc1 {
146 pinctrl-names = "default";
147 pinctrl-0 = <&mmc1_pins_a>;
148 vmmc-supply = <&reg_vcc3v3>; 146 vmmc-supply = <&reg_vcc3v3>;
149 vqmmc-supply = <&reg_vcc3v3>; 147 vqmmc-supply = <&reg_vcc3v3>;
150 mmc-pwrseq = <&wifi_pwrseq>; 148 mmc-pwrseq = <&wifi_pwrseq>;
diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index 9fc07593e907..870aabcbb2d8 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -122,8 +122,6 @@
122}; 122};
123 123
124&mmc1 { 124&mmc1 {
125 pinctrl-names = "default";
126 pinctrl-0 = <&mmc1_pins_a>;
127 vmmc-supply = <&reg_vcc3v3>; 125 vmmc-supply = <&reg_vcc3v3>;
128 bus-width = <4>; 126 bus-width = <4>;
129 non-removable; 127 non-removable;
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
index a6e61915d648..07b51a2f14c6 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
@@ -101,8 +101,6 @@
101}; 101};
102 102
103&mmc1 { 103&mmc1 {
104 pinctrl-names = "default";
105 pinctrl-0 = <&mmc1_pins_a>;
106 vmmc-supply = <&reg_vcc3v3>; 104 vmmc-supply = <&reg_vcc3v3>;
107 vqmmc-supply = <&reg_vcc3v3>; 105 vqmmc-supply = <&reg_vcc3v3>;
108 mmc-pwrseq = <&wifi_pwrseq>; 106 mmc-pwrseq = <&wifi_pwrseq>;
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
index 07e2e6180792..6246d3eff39d 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
@@ -87,8 +87,6 @@
87}; 87};
88 88
89&mmc1 { 89&mmc1 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&mmc1_pins_a>;
92 vmmc-supply = <&reg_vcc3v3>; 90 vmmc-supply = <&reg_vcc3v3>;
93 vqmmc-supply = <&reg_vcc3v3>; 91 vqmmc-supply = <&reg_vcc3v3>;
94 mmc-pwrseq = <&wifi_pwrseq>; 92 mmc-pwrseq = <&wifi_pwrseq>;
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
index ac6f52f3fa62..7569bd05e249 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
@@ -139,8 +139,6 @@
139}; 139};
140 140
141&mmc1 { 141&mmc1 {
142 pinctrl-names = "default";
143 pinctrl-0 = <&mmc1_pins_a>;
144 vmmc-supply = <&reg_vcc3v3>; 142 vmmc-supply = <&reg_vcc3v3>;
145 mmc-pwrseq = <&wifi_pwrseq>; 143 mmc-pwrseq = <&wifi_pwrseq>;
146 bus-width = <4>; 144 bus-width = <4>;
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
index 82ab5b6b730b..2e59fd296717 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
@@ -113,8 +113,6 @@
113}; 113};
114 114
115&mmc1 { 115&mmc1 {
116 pinctrl-names = "default";
117 pinctrl-0 = <&mmc1_pins_a>;
118 vmmc-supply = <&reg_vcc3v3>; 116 vmmc-supply = <&reg_vcc3v3>;
119 bus-width = <4>; 117 bus-width = <4>;
120 non-removable; 118 non-removable;
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
index a10281b455f5..71fb73208939 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
@@ -59,8 +59,6 @@
59}; 59};
60 60
61&mmc1 { 61&mmc1 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&mmc1_pins_a>;
64 vmmc-supply = <&reg_vcc3v3>; 62 vmmc-supply = <&reg_vcc3v3>;
65 bus-width = <4>; 63 bus-width = <4>;
66 non-removable; 64 non-removable;
diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
index 3a0854a96a04..b4a4b3cb6c4e 100644
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
@@ -154,6 +154,8 @@
154 mmc1: mmc@1c10000 { 154 mmc1: mmc@1c10000 {
155 /* compatible and clocks are in per SoC .dtsi file */ 155 /* compatible and clocks are in per SoC .dtsi file */
156 reg = <0x01c10000 0x1000>; 156 reg = <0x01c10000 0x1000>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&mmc1_pins_a>;
157 resets = <&ccu RST_BUS_MMC1>; 159 resets = <&ccu RST_BUS_MMC1>;
158 reset-names = "ahb"; 160 reset-names = "ahb";
159 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 161 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
index 1ef70cb4c9bc..506e25ba028a 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
@@ -158,8 +158,6 @@
158}; 158};
159 159
160&mmc1 { 160&mmc1 {
161 pinctrl-names = "default";
162 pinctrl-0 = <&mmc1_pins_a>;
163 vmmc-supply = <&reg_vcc3v3>; 161 vmmc-supply = <&reg_vcc3v3>;
164 vqmmc-supply = <&reg_vcc3v3>; 162 vqmmc-supply = <&reg_vcc3v3>;
165 mmc-pwrseq = <&wifi_pwrseq>; 163 mmc-pwrseq = <&wifi_pwrseq>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
index 586ec67f4101..803566608ed8 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
@@ -174,8 +174,6 @@
174}; 174};
175 175
176&mmc1 { 176&mmc1 {
177 pinctrl-names = "default";
178 pinctrl-0 = <&mmc1_pins_a>;
179 vmmc-supply = <&reg_vcc3v3>; 177 vmmc-supply = <&reg_vcc3v3>;
180 mmc-pwrseq = <&wifi_pwrseq>; 178 mmc-pwrseq = <&wifi_pwrseq>;
181 bus-width = <4>; 179 bus-width = <4>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
index feee125a4e9a..eda24d813282 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
@@ -81,8 +81,6 @@
81}; 81};
82 82
83&mmc1 { 83&mmc1 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&mmc1_pins_a>;
86 vmmc-supply = <&reg_vcc3v3>; 84 vmmc-supply = <&reg_vcc3v3>;
87 vqmmc-supply = <&reg_vcc3v3>; 85 vqmmc-supply = <&reg_vcc3v3>;
88 mmc-pwrseq = <&wifi_pwrseq>; 86 mmc-pwrseq = <&wifi_pwrseq>;