forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
....@@ -46,8 +46,8 @@
4646 gpios-states = <1>;
4747
4848 /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */
49
- states = <1800000 0
50
- 3300000 1>;
49
+ states = <1800000 0>,
50
+ <3300000 1>;
5151
5252 regulator-settling-time-up-us = <10000>;
5353 regulator-settling-time-down-us = <150000>;
....@@ -165,10 +165,13 @@
165165
166166 bus-width = <4>;
167167 cap-sd-highspeed;
168
- max-frequency = <100000000>;
168
+ max-frequency = <50000000>;
169169
170170 non-removable;
171171 disable-wp;
172
+
173
+ /* WiFi firmware requires power to be kept while in suspend */
174
+ keep-power-in-suspend;
172175
173176 mmc-pwrseq = <&sdio_pwrseq>;
174177
....@@ -196,8 +199,7 @@
196199 max-frequency = <100000000>;
197200 disable-wp;
198201
199
- cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
200
- cd-inverted;
202
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
201203
202204 vmmc-supply = <&vddao_3v3>;
203205 vqmmc-supply = <&vddio_card>;