Commit 528a97e9 authored by Sean Wang's avatar Sean Wang Committed by Matthias Brugger

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: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 0629a019
...@@ -39,6 +39,15 @@ cpu@3 { ...@@ -39,6 +39,15 @@ cpu@3 {
}; };
}; };
reg_1p8v: regulator-1p8v {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
reg_3p3v: regulator-3p3v { reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "fixed-3.3V"; regulator-name = "fixed-3.3V";
...@@ -209,8 +218,8 @@ &mmc0 { ...@@ -209,8 +218,8 @@ &mmc0 {
bus-width = <8>; bus-width = <8>;
max-frequency = <50000000>; max-frequency = <50000000>;
cap-mmc-highspeed; cap-mmc-highspeed;
vmmc-supply = <&mt6323_vemc3v3_reg>; vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&mt6323_vio18_reg>; vqmmc-supply = <&reg_1p8v>;
non-removable; non-removable;
}; };
...@@ -223,8 +232,8 @@ &mmc1 { ...@@ -223,8 +232,8 @@ &mmc1 {
max-frequency = <50000000>; max-frequency = <50000000>;
cap-sd-highspeed; cap-sd-highspeed;
cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>; cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
vmmc-supply = <&mt6323_vmch_reg>; vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&mt6323_vio18_reg>; vqmmc-supply = <&reg_3p3v>;
}; };
&pio { &pio {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment