Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun7i: Provide default muxing for relevant controllers

The I2C and MMC controllers have only one muxing option in the SoC. In such a
case, we can just move the muxing into the DTSI, and remove it from
the DTS.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>

+14 -167
-6
arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts
··· 150 150 }; 151 151 152 152 &i2c0 { 153 - pinctrl-names = "default"; 154 - pinctrl-0 = <&i2c0_pins>; 155 153 status = "okay"; 156 154 157 155 axp209: pmic@34 { ··· 172 174 }; 173 175 174 176 &mmc0 { 175 - pinctrl-names = "default"; 176 - pinctrl-0 = <&mmc0_pins>; 177 177 vmmc-supply = <&reg_vcc3v3>; 178 178 bus-width = <4>; 179 179 cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */ ··· 181 185 &mmc3 { 182 186 #address-cells = <1>; 183 187 #size-cells = <0>; 184 - pinctrl-names = "default"; 185 - pinctrl-0 = <&mmc3_pins>; 186 188 vmmc-supply = <&reg_vcc3v3>; 187 189 mmc-pwrseq = <&mmc3_pwrseq>; 188 190 bus-width = <4>;
-6
arch/arm/boot/dts/sun7i-a20-bananapi.dts
··· 152 152 }; 153 153 154 154 &i2c0 { 155 - pinctrl-names = "default"; 156 - pinctrl-0 = <&i2c0_pins>; 157 155 status = "okay"; 158 156 159 157 axp209: pmic@34 { ··· 162 164 }; 163 165 164 166 &i2c2 { 165 - pinctrl-names = "default"; 166 - pinctrl-0 = <&i2c2_pins>; 167 167 status = "okay"; 168 168 }; 169 169 ··· 172 176 }; 173 177 174 178 &mmc0 { 175 - pinctrl-names = "default"; 176 - pinctrl-0 = <&mmc0_pins>; 177 179 vmmc-supply = <&reg_vcc3v3>; 178 180 bus-width = <4>; 179 181 cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
-8
arch/arm/boot/dts/sun7i-a20-bananapro.dts
··· 120 120 }; 121 121 122 122 &i2c0 { 123 - pinctrl-names = "default"; 124 - pinctrl-0 = <&i2c0_pins>; 125 123 status = "okay"; 126 124 127 125 axp209: pmic@34 { ··· 134 136 }; 135 137 136 138 &i2c2 { 137 - pinctrl-names = "default"; 138 - pinctrl-0 = <&i2c2_pins>; 139 139 status = "okay"; 140 140 }; 141 141 ··· 144 148 }; 145 149 146 150 &mmc0 { 147 - pinctrl-names = "default"; 148 - pinctrl-0 = <&mmc0_pins>; 149 151 vmmc-supply = <&reg_vcc3v3>; 150 152 bus-width = <4>; 151 153 cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */ ··· 151 157 }; 152 158 153 159 &mmc3 { 154 - pinctrl-names = "default"; 155 - pinctrl-0 = <&mmc3_pins>; 156 160 vmmc-supply = <&reg_vcc3v3>; 157 161 mmc-pwrseq = <&wifi_pwrseq>; 158 162 bus-width = <4>;
-6
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
··· 135 135 }; 136 136 137 137 &i2c0 { 138 - pinctrl-names = "default"; 139 - pinctrl-0 = <&i2c0_pins>; 140 138 status = "okay"; 141 139 142 140 axp209: pmic@34 { ··· 145 147 }; 146 148 147 149 &i2c1 { 148 - pinctrl-names = "default"; 149 - pinctrl-0 = <&i2c1_pins>; 150 150 status = "okay"; 151 151 }; 152 152 ··· 155 159 }; 156 160 157 161 &mmc0 { 158 - pinctrl-names = "default"; 159 - pinctrl-0 = <&mmc0_pins>; 160 162 vmmc-supply = <&reg_vcc3v3>; 161 163 bus-width = <4>; 162 164 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-9
arch/arm/boot/dts/sun7i-a20-cubietruck.dts
··· 168 168 }; 169 169 170 170 &i2c0 { 171 - pinctrl-names = "default"; 172 - pinctrl-0 = <&i2c0_pins>; 173 171 status = "okay"; 174 172 175 173 axp209: pmic@34 { ··· 179 181 180 182 &i2c1 { 181 183 pinctrl-names = "default"; 182 - pinctrl-0 = <&i2c1_pins>; 183 184 status = "okay"; 184 185 }; 185 186 186 187 &i2c2 { 187 - pinctrl-names = "default"; 188 - pinctrl-0 = <&i2c2_pins>; 189 188 status = "okay"; 190 189 }; 191 190 ··· 193 198 }; 194 199 195 200 &mmc0 { 196 - pinctrl-names = "default"; 197 - pinctrl-0 = <&mmc0_pins>; 198 201 vmmc-supply = <&reg_vcc3v3>; 199 202 bus-width = <4>; 200 203 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 200 207 }; 201 208 202 209 &mmc3 { 203 - pinctrl-names = "default"; 204 - pinctrl-0 = <&mmc3_pins>; 205 210 vmmc-supply = <&reg_vcc3v3>; 206 211 mmc-pwrseq = <&mmc3_pwrseq>; 207 212 bus-width = <4>;
-12
arch/arm/boot/dts/sun7i-a20-hummingbird.dts
··· 116 116 }; 117 117 118 118 &i2c0 { 119 - pinctrl-names = "default"; 120 - pinctrl-0 = <&i2c0_pins>; 121 119 status = "okay"; 122 120 123 121 axp209: pmic@34 { ··· 129 131 }; 130 132 131 133 &i2c1 { 132 - pinctrl-names = "default"; 133 - pinctrl-0 = <&i2c1_pins>; 134 134 status = "okay"; 135 135 }; 136 136 137 137 &i2c2 { 138 - pinctrl-names = "default"; 139 - pinctrl-0 = <&i2c2_pins>; 140 138 status = "okay"; 141 139 }; 142 140 143 141 &i2c3 { 144 - pinctrl-names = "default"; 145 - pinctrl-0 = <&i2c3_pins>; 146 142 status = "okay"; 147 143 }; 148 144 ··· 147 155 }; 148 156 149 157 &mmc0 { 150 - pinctrl-names = "default"; 151 - pinctrl-0 = <&mmc0_pins>; 152 158 vmmc-supply = <&reg_vcc3v0>; 153 159 bus-width = <4>; 154 160 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 154 164 }; 155 165 156 166 &mmc3 { 157 - pinctrl-names = "default"; 158 - pinctrl-0 = <&mmc3_pins>; 159 167 vmmc-supply = <&reg_mmc3_vdd>; 160 168 bus-width = <4>; 161 169 non-removable;
-6
arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
··· 126 126 }; 127 127 128 128 &i2c0 { 129 - pinctrl-names = "default"; 130 - pinctrl-0 = <&i2c0_pins>; 131 129 status = "okay"; 132 130 133 131 axp209: pmic@34 { ··· 146 148 }; 147 149 148 150 &mmc0 { 149 - pinctrl-names = "default"; 150 - pinctrl-0 = <&mmc0_pins>; 151 151 vmmc-supply = <&reg_vcc3v3>; 152 152 bus-width = <4>; 153 153 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 153 157 }; 154 158 155 159 &mmc3 { 156 - pinctrl-names = "default"; 157 - pinctrl-0 = <&mmc3_pins>; 158 160 vmmc-supply = <&reg_vmmc3>; 159 161 bus-width = <4>; 160 162 non-removable;
-6
arch/arm/boot/dts/sun7i-a20-icnova-swac.dts
··· 85 85 }; 86 86 87 87 &i2c0 { 88 - pinctrl-names = "default"; 89 - pinctrl-0 = <&i2c0_pins>; 90 88 status = "okay"; 91 89 92 90 axp209: pmic@34 { ··· 95 97 }; 96 98 97 99 &i2c1 { 98 - pinctrl-names = "default"; 99 - pinctrl-0 = <&i2c1_pins>; 100 100 status = "okay"; 101 101 }; 102 102 103 103 &mmc0 { 104 - pinctrl-names = "default"; 105 - pinctrl-0 = <&mmc0_pins>; 106 104 vmmc-supply = <&reg_vcc3v3>; 107 105 bus-width = <4>; 108 106 cd-gpios = <&pio 8 5 GPIO_ACTIVE_LOW>; /* PI5 */
-2
arch/arm/boot/dts/sun7i-a20-itead-ibox.dts
··· 120 120 }; 121 121 122 122 &mmc0 { 123 - pinctrl-names = "default"; 124 - pinctrl-0 = <&mmc0_pins>; 125 123 vmmc-supply = <&reg_vcc3v3>; 126 124 bus-width = <4>; 127 125 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-6
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
··· 195 195 }; 196 196 197 197 &i2c0 { 198 - pinctrl-names = "default"; 199 - pinctrl-0 = <&i2c0_pins>; 200 198 status = "okay"; 201 199 202 200 axp209: pmic@34 { ··· 205 207 }; 206 208 207 209 &i2c2 { 208 - pinctrl-names = "default"; 209 - pinctrl-0 = <&i2c2_pins>; 210 210 status = "okay"; 211 211 }; 212 212 ··· 215 219 }; 216 220 217 221 &mmc0 { 218 - pinctrl-names = "default"; 219 - pinctrl-0 = <&mmc0_pins>; 220 222 vmmc-supply = <&reg_vcc3v3>; 221 223 bus-width = <4>; 222 224 cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
-6
arch/arm/boot/dts/sun7i-a20-m3.dts
··· 92 92 }; 93 93 94 94 &i2c0 { 95 - pinctrl-names = "default"; 96 - pinctrl-0 = <&i2c0_pins>; 97 95 status = "okay"; 98 96 99 97 axp209: pmic@34 { ··· 112 114 }; 113 115 114 116 &mmc0 { 115 - pinctrl-names = "default"; 116 - pinctrl-0 = <&mmc0_pins>; 117 117 vmmc-supply = <&reg_vcc3v3>; 118 118 bus-width = <4>; 119 119 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 119 123 }; 120 124 121 125 &mmc2 { 122 - pinctrl-names = "default"; 123 - pinctrl-0 = <&mmc2_pins>; 124 126 vmmc-supply = <&reg_vcc3v3>; 125 127 bus-width = <4>; 126 128 non-removable;
-8
arch/arm/boot/dts/sun7i-a20-mk808c.dts
··· 106 106 }; 107 107 108 108 &i2c0 { 109 - pinctrl-names = "default"; 110 - pinctrl-0 = <&i2c0_pins>; 111 109 status = "okay"; 112 110 113 111 axp209: pmic@34 { ··· 119 121 }; 120 122 121 123 &i2c1 { 122 - pinctrl-names = "default"; 123 - pinctrl-0 = <&i2c1_pins>; 124 124 status = "okay"; 125 125 }; 126 126 127 127 &i2c2 { 128 - pinctrl-names = "default"; 129 - pinctrl-0 = <&i2c2_pins>; 130 128 status = "okay"; 131 129 }; 132 130 133 131 &mmc0 { 134 - pinctrl-names = "default"; 135 - pinctrl-0 = <&mmc0_pins>; 136 132 vmmc-supply = <&reg_vcc3v0>; 137 133 bus-width = <4>; 138 134 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-2
arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts
··· 21 21 }; 22 22 23 23 &mmc2 { 24 - pinctrl-names = "default"; 25 - pinctrl-0 = <&mmc2_pins>; 26 24 vmmc-supply = <&reg_vcc3v3>; 27 25 mmc-pwrseq = <&mmc2_pwrseq>; 28 26 bus-width = <4>;
-10
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts
··· 131 131 }; 132 132 133 133 &i2c0 { 134 - pinctrl-names = "default"; 135 - pinctrl-0 = <&i2c0_pins>; 136 134 status = "okay"; 137 135 138 136 axp209: pmic@34 { ··· 141 143 }; 142 144 143 145 &i2c1 { 144 - pinctrl-names = "default"; 145 - pinctrl-0 = <&i2c1_pins>; 146 146 status = "okay"; 147 147 }; 148 148 149 149 &i2c2 { 150 - pinctrl-names = "default"; 151 - pinctrl-0 = <&i2c2_pins>; 152 150 status = "okay"; 153 151 }; 154 152 ··· 203 209 }; 204 210 205 211 &mmc0 { 206 - pinctrl-names = "default"; 207 - pinctrl-0 = <&mmc0_pins>; 208 212 vmmc-supply = <&reg_vcc3v3>; 209 213 bus-width = <4>; 210 214 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 210 218 }; 211 219 212 220 &mmc3 { 213 - pinctrl-names = "default"; 214 - pinctrl-0 = <&mmc3_pins>; 215 221 vmmc-supply = <&reg_vcc3v3>; 216 222 bus-width = <4>; 217 223 cd-gpios = <&pio 7 0 GPIO_ACTIVE_LOW>; /* PH0 */
-2
arch/arm/boot/dts/sun7i-a20-olimex-som204-evb-emmc.dts
··· 20 20 }; 21 21 22 22 &mmc2 { 23 - pinctrl-names = "default"; 24 - pinctrl-0 = <&mmc2_pins>; 25 23 vmmc-supply = <&reg_vcc3v3>; 26 24 mmc-pwrseq = <&mmc2_pwrseq>; 27 25 bus-width = <4>;
-10
arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts
··· 130 130 }; 131 131 132 132 &i2c0 { 133 - pinctrl-names = "default"; 134 - pinctrl-0 = <&i2c0_pins>; 135 133 status = "okay"; 136 134 137 135 axp209: pmic@34 { ··· 141 143 142 144 /* Exposed to UEXT1 */ 143 145 &i2c1 { 144 - pinctrl-names = "default"; 145 - pinctrl-0 = <&i2c1_pins>; 146 146 status = "okay"; 147 147 148 148 eeprom: eeprom@50 { ··· 152 156 153 157 /* Exposed to UEXT2 */ 154 158 &i2c2 { 155 - pinctrl-names = "default"; 156 - pinctrl-0 = <&i2c2_pins>; 157 159 status = "okay"; 158 160 }; 159 161 ··· 162 168 }; 163 169 164 170 &mmc0 { 165 - pinctrl-names = "default"; 166 - pinctrl-0 = <&mmc0_pins>; 167 171 vmmc-supply = <&reg_vcc3v3>; 168 172 bus-width = <4>; 169 173 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; ··· 169 177 }; 170 178 171 179 &mmc3 { 172 - pinctrl-names = "default"; 173 - pinctrl-0 = <&mmc3_pins>; 174 180 vmmc-supply = <&reg_vcc3v3>; 175 181 mmc-pwrseq = <&rtl_pwrseq>; 176 182 bus-width = <4>;
-6
arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts
··· 126 126 }; 127 127 128 128 &i2c0 { 129 - pinctrl-names = "default"; 130 - pinctrl-0 = <&i2c0_pins>; 131 129 status = "okay"; 132 130 133 131 axp209: pmic@34 { ··· 140 142 }; 141 143 142 144 &i2c1 { 143 - pinctrl-names = "default"; 144 - pinctrl-0 = <&i2c1_pins>; 145 145 status = "okay"; 146 146 147 147 eeprom: eeprom@50 { ··· 150 154 }; 151 155 152 156 &mmc0 { 153 - pinctrl-names = "default"; 154 - pinctrl-0 = <&mmc0_pins>; 155 157 vmmc-supply = <&reg_vcc3v3>; 156 158 bus-width = <4>; 157 159 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-2
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts
··· 54 54 }; 55 55 56 56 &mmc2 { 57 - pinctrl-names = "default"; 58 - pinctrl-0 = <&mmc2_pins>; 59 57 vmmc-supply = <&reg_vcc3v3>; 60 58 vqmmc-supply = <&reg_vcc3v3>; 61 59 bus-width = <4>;
-6
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
··· 131 131 }; 132 132 133 133 &i2c0 { 134 - pinctrl-names = "default"; 135 - pinctrl-0 = <&i2c0_pins>; 136 134 status = "okay"; 137 135 138 136 axp209: pmic@34 { ··· 141 143 }; 142 144 143 145 &i2c1 { 144 - pinctrl-names = "default"; 145 - pinctrl-0 = <&i2c1_pins>; 146 146 status = "okay"; 147 147 148 148 eeprom: eeprom@50 { ··· 155 159 }; 156 160 157 161 &mmc0 { 158 - pinctrl-names = "default"; 159 - pinctrl-0 = <&mmc0_pins>; 160 162 vmmc-supply = <&reg_vcc3v3>; 161 163 bus-width = <4>; 162 164 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-2
arch/arm/boot/dts/sun7i-a20-olinuxino-micro-emmc.dts
··· 54 54 }; 55 55 56 56 &mmc2 { 57 - pinctrl-names = "default"; 58 - pinctrl-0 = <&mmc2_pins>; 59 57 vmmc-supply = <&reg_vcc3v3>; 60 58 bus-width = <4>; 61 59 non-removable;
-10
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
··· 138 138 }; 139 139 140 140 &i2c0 { 141 - pinctrl-names = "default"; 142 - pinctrl-0 = <&i2c0_pins>; 143 141 status = "okay"; 144 142 145 143 axp209: pmic@34 { ··· 148 150 }; 149 151 150 152 &i2c1 { 151 - pinctrl-names = "default"; 152 - pinctrl-0 = <&i2c1_pins>; 153 153 status = "okay"; 154 154 155 155 eeprom: eeprom@50 { ··· 158 162 }; 159 163 160 164 &i2c2 { 161 - pinctrl-names = "default"; 162 - pinctrl-0 = <&i2c2_pins>; 163 165 status = "okay"; 164 166 }; 165 167 ··· 216 222 }; 217 223 218 224 &mmc0 { 219 - pinctrl-names = "default"; 220 - pinctrl-0 = <&mmc0_pins>; 221 225 vmmc-supply = <&reg_vcc3v3>; 222 226 bus-width = <4>; 223 227 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 223 231 }; 224 232 225 233 &mmc3 { 226 - pinctrl-names = "default"; 227 - pinctrl-0 = <&mmc3_pins>; 228 234 vmmc-supply = <&reg_vcc3v3>; 229 235 bus-width = <4>; 230 236 cd-gpios = <&pio 7 11 GPIO_ACTIVE_LOW>; /* PH11 */
-6
arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
··· 141 141 }; 142 142 143 143 &i2c0 { 144 - pinctrl-names = "default"; 145 - pinctrl-0 = <&i2c0_pins>; 146 144 status = "okay"; 147 145 148 146 axp209: pmic@34 { ··· 159 161 }; 160 162 161 163 &mmc0 { 162 - pinctrl-names = "default"; 163 - pinctrl-0 = <&mmc0_pins>; 164 164 vmmc-supply = <&reg_vcc3v3>; 165 165 bus-width = <4>; 166 166 cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */ ··· 166 170 }; 167 171 168 172 &mmc3 { 169 - pinctrl-names = "default"; 170 - pinctrl-0 = <&mmc3_pins>; 171 173 vmmc-supply = <&reg_vcc3v3>; 172 174 bus-width = <4>; 173 175 cd-gpios = <&pio 7 11 GPIO_ACTIVE_LOW>; /* PH11 */
-4
arch/arm/boot/dts/sun7i-a20-orangepi.dts
··· 107 107 }; 108 108 109 109 &i2c0 { 110 - pinctrl-names = "default"; 111 - pinctrl-0 = <&i2c0_pins>; 112 110 status = "okay"; 113 111 114 112 axp209: pmic@34 { ··· 125 127 }; 126 128 127 129 &mmc0 { 128 - pinctrl-names = "default"; 129 - pinctrl-0 = <&mmc0_pins>; 130 130 vmmc-supply = <&reg_vcc3v3>; 131 131 bus-width = <4>; 132 132 cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
-4
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts
··· 134 134 }; 135 135 136 136 &i2c0 { 137 - pinctrl-names = "default"; 138 - pinctrl-0 = <&i2c0_pins>; 139 137 status = "okay"; 140 138 141 139 axp209: pmic@34 { ··· 150 152 }; 151 153 152 154 &mmc0 { 153 - pinctrl-names = "default"; 154 - pinctrl-0 = <&mmc0_pins>; 155 155 vmmc-supply = <&reg_vcc3v3>; 156 156 bus-width = <4>; 157 157 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-4
arch/arm/boot/dts/sun7i-a20-pcduino3.dts
··· 132 132 }; 133 133 134 134 &i2c0 { 135 - pinctrl-names = "default"; 136 - pinctrl-0 = <&i2c0_pins>; 137 135 status = "okay"; 138 136 139 137 axp209: pmic@34 { ··· 150 152 }; 151 153 152 154 &mmc0 { 153 - pinctrl-names = "default"; 154 - pinctrl-0 = <&mmc0_pins>; 155 155 vmmc-supply = <&reg_vcc3v3>; 156 156 bus-width = <4>; 157 157 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-8
arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
··· 89 89 }; 90 90 91 91 &i2c0 { 92 - pinctrl-names = "default"; 93 - pinctrl-0 = <&i2c0_pins>; 94 92 status = "okay"; 95 93 96 94 axp209: pmic@34 { ··· 101 103 #include "axp209.dtsi" 102 104 103 105 &i2c1 { 104 - pinctrl-names = "default"; 105 - pinctrl-0 = <&i2c1_pins>; 106 106 status = "okay"; 107 107 }; 108 108 109 109 &i2c2 { 110 - pinctrl-names = "default"; 111 - pinctrl-0 = <&i2c2_pins>; 112 110 status = "okay"; 113 111 114 112 gt911: touchscreen@5d { ··· 138 144 }; 139 145 140 146 &mmc0 { 141 - pinctrl-names = "default"; 142 - pinctrl-0 = <&mmc0_pins>; 143 147 vmmc-supply = <&reg_vcc3v3>; 144 148 bus-width = <4>; 145 149 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
-10
arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
··· 91 91 }; 92 92 93 93 &i2c0 { 94 - pinctrl-names = "default"; 95 - pinctrl-0 = <&i2c0_pins>; 96 94 status = "okay"; 97 95 98 96 axp209: pmic@34 { ··· 101 103 }; 102 104 103 105 &i2c1 { 104 - pinctrl-names = "default"; 105 - pinctrl-0 = <&i2c1_pins>; 106 106 status = "okay"; 107 107 }; 108 108 109 109 &i2c2 { 110 - pinctrl-names = "default"; 111 - pinctrl-0 = <&i2c2_pins>; 112 110 status = "okay"; 113 111 }; 114 112 115 113 #include "axp209.dtsi" 116 114 117 115 &mmc0 { 118 - pinctrl-names = "default"; 119 - pinctrl-0 = <&mmc0_pins>; 120 116 vmmc-supply = <&reg_vcc3v3>; 121 117 bus-width = <4>; 122 118 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ ··· 118 126 }; 119 127 120 128 &mmc3 { 121 - pinctrl-names = "default"; 122 - pinctrl-0 = <&mmc3_pins>; 123 129 vmmc-supply = <&reg_vcc3v3>; 124 130 mmc-pwrseq = <&mmc3_pwrseq>; 125 131 bus-width = <4>;
+14
arch/arm/boot/dts/sun7i-a20.dtsi
··· 514 514 "output", 515 515 "sample"; 516 516 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 517 + pinctrl-names = "default"; 518 + pinctrl-0 = <&mmc0_pins>; 517 519 status = "disabled"; 518 520 #address-cells = <1>; 519 521 #size-cells = <0>; ··· 550 548 "output", 551 549 "sample"; 552 550 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 551 + pinctrl-names = "default"; 552 + pinctrl-0 = <&mmc2_pins>; 553 553 status = "disabled"; 554 554 #address-cells = <1>; 555 555 #size-cells = <0>; ··· 569 565 "output", 570 566 "sample"; 571 567 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 568 + pinctrl-names = "default"; 569 + pinctrl-0 = <&mmc3_pins>; 572 570 status = "disabled"; 573 571 #address-cells = <1>; 574 572 #size-cells = <0>; ··· 1224 1218 reg = <0x01c2ac00 0x400>; 1225 1219 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1226 1220 clocks = <&ccu CLK_APB1_I2C0>; 1221 + pinctrl-names = "default"; 1222 + pinctrl-0 = <&i2c0_pins>; 1227 1223 status = "disabled"; 1228 1224 #address-cells = <1>; 1229 1225 #size-cells = <0>; ··· 1237 1229 reg = <0x01c2b000 0x400>; 1238 1230 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 1239 1231 clocks = <&ccu CLK_APB1_I2C1>; 1232 + pinctrl-names = "default"; 1233 + pinctrl-0 = <&i2c1_pins>; 1240 1234 status = "disabled"; 1241 1235 #address-cells = <1>; 1242 1236 #size-cells = <0>; ··· 1250 1240 reg = <0x01c2b400 0x400>; 1251 1241 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 1252 1242 clocks = <&ccu CLK_APB1_I2C2>; 1243 + pinctrl-names = "default"; 1244 + pinctrl-0 = <&i2c2_pins>; 1253 1245 status = "disabled"; 1254 1246 #address-cells = <1>; 1255 1247 #size-cells = <0>; ··· 1263 1251 reg = <0x01c2b800 0x400>; 1264 1252 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1265 1253 clocks = <&ccu CLK_APB1_I2C3>; 1254 + pinctrl-names = "default"; 1255 + pinctrl-0 = <&i2c3_pins>; 1266 1256 status = "disabled"; 1267 1257 #address-cells = <1>; 1268 1258 #size-cells = <0>;