arm: dts: phy3250: add SD fixed regulator
The change adds fixed voltage regulator for SD controller, ARM MMCI controller driver uses it to control card power management. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
This commit is contained in:
@@ -45,6 +45,15 @@
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sd_reg: regulator@2 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "sd_reg";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
gpio = <&gpio 5 5 0>;
|
||||||
|
enable-active-high;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ahb {
|
ahb {
|
||||||
@@ -162,6 +171,7 @@
|
|||||||
cd-gpios = <&gpio 3 1 0>;
|
cd-gpios = <&gpio 3 1 0>;
|
||||||
cd-inverted;
|
cd-inverted;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
vmmc-supply = <&sd_reg>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user