mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
ramips: improve support for HiWiFi HC5861 SDHC
1. Override max clock frequency to a stable value 24 MHz. 2. Use voltage regulator to control the power supply. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
parent
b9cec661f6
commit
238aa35c49
@ -51,12 +51,6 @@
|
|||||||
gpio-export,output = <0>;
|
gpio-export,output = <0>;
|
||||||
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sdpower {
|
|
||||||
gpio-export,name = "sdpower";
|
|
||||||
gpio-export,output = <0>;
|
|
||||||
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -94,6 +88,12 @@
|
|||||||
mediatek,ephy-base = /bits/ 8 <12>;
|
mediatek,ephy-base = /bits/ 8 <12>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&mmc_reg_3v3 {
|
||||||
|
/delete-property/ enable-active-high;
|
||||||
|
|
||||||
|
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
&pcie {
|
&pcie {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@ -108,6 +108,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&sdhci {
|
||||||
|
max-frequency = <24000000>;
|
||||||
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
pinctrl-names = "default", "pa_gpio";
|
pinctrl-names = "default", "pa_gpio";
|
||||||
pinctrl-0 = <&pa_pins>;
|
pinctrl-0 = <&pa_pins>;
|
||||||
|
Loading…
Reference in New Issue
Block a user