diff options
author | Sean Wang <sean.wang@mediatek.com> | 2018-02-23 05:16:27 -0500 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2018-03-18 17:38:25 -0400 |
commit | 528a97e9b6c0e3657df179822fef386f895b3c58 (patch) | |
tree | c9168d32708419012174b797d1a64a54f4d76cca | |
parent | 0629a01920c0f8a3f825361b24863d760610884a (diff) |
arm: dts: mt7623: fix the regulators mmc should use on bananapi-r2
Both mmc devices on bananapi-r2 board should all use the fixed regulators
as their power source instead of PMIC MT6323 exports.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index 7de704575aee..12da146cf3a5 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | |||
@@ -39,6 +39,15 @@ | |||
39 | }; | 39 | }; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | reg_1p8v: regulator-1p8v { | ||
43 | compatible = "regulator-fixed"; | ||
44 | regulator-name = "fixed-1.8V"; | ||
45 | regulator-min-microvolt = <1800000>; | ||
46 | regulator-max-microvolt = <1800000>; | ||
47 | regulator-boot-on; | ||
48 | regulator-always-on; | ||
49 | }; | ||
50 | |||
42 | reg_3p3v: regulator-3p3v { | 51 | reg_3p3v: regulator-3p3v { |
43 | compatible = "regulator-fixed"; | 52 | compatible = "regulator-fixed"; |
44 | regulator-name = "fixed-3.3V"; | 53 | regulator-name = "fixed-3.3V"; |
@@ -209,8 +218,8 @@ | |||
209 | bus-width = <8>; | 218 | bus-width = <8>; |
210 | max-frequency = <50000000>; | 219 | max-frequency = <50000000>; |
211 | cap-mmc-highspeed; | 220 | cap-mmc-highspeed; |
212 | vmmc-supply = <&mt6323_vemc3v3_reg>; | 221 | vmmc-supply = <®_3p3v>; |
213 | vqmmc-supply = <&mt6323_vio18_reg>; | 222 | vqmmc-supply = <®_1p8v>; |
214 | non-removable; | 223 | non-removable; |
215 | }; | 224 | }; |
216 | 225 | ||
@@ -223,8 +232,8 @@ | |||
223 | max-frequency = <50000000>; | 232 | max-frequency = <50000000>; |
224 | cap-sd-highspeed; | 233 | cap-sd-highspeed; |
225 | cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>; | 234 | cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>; |
226 | vmmc-supply = <&mt6323_vmch_reg>; | 235 | vmmc-supply = <®_3p3v>; |
227 | vqmmc-supply = <&mt6323_vio18_reg>; | 236 | vqmmc-supply = <®_3p3v>; |
228 | }; | 237 | }; |
229 | 238 | ||
230 | &pio { | 239 | &pio { |