diff options
| author | Shiji Yang | 2024-07-09 17:26:52 +0000 |
|---|---|---|
| committer | Nick Hainke | 2024-07-11 16:57:42 +0000 |
| commit | 238aa35c49a4c52909cdda31ee9bbf0133155c17 (patch) | |
| tree | 7e295d15194b3143c4430319cae9086462b677c0 | |
| parent | b9cec661f6bde7d6c76c6fde80931e05e532272a (diff) | |
| download | openwrt-238aa35c49a4c52909cdda31ee9bbf0133155c17.tar.gz | |
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>
| -rw-r--r-- | target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts b/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts index 83e5698d63..29aff9958a 100644 --- a/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts +++ b/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts @@ -51,12 +51,6 @@ gpio-export,output = <0>; 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>; }; +&mmc_reg_3v3 { + /delete-property/ enable-active-high; + + gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; +}; + &pcie { status = "okay"; }; @@ -108,6 +108,10 @@ }; }; +&sdhci { + max-frequency = <24000000>; +}; + &wmac { pinctrl-names = "default", "pa_gpio"; pinctrl-0 = <&pa_pins>; |