forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts
....@@ -38,8 +38,8 @@
3838 gpios-states = <1>;
3939
4040 /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */
41
- states = <1800000 0
42
- 3300000 1>;
41
+ states = <1800000 0>,
42
+ <3300000 1>;
4343 };
4444
4545 vddio_boot: regulator-vddio_boot {
....@@ -165,6 +165,9 @@
165165 non-removable;
166166 disable-wp;
167167
168
+ /* WiFi firmware requires power to be kept while in suspend */
169
+ keep-power-in-suspend;
170
+
168171 mmc-pwrseq = <&sdio_pwrseq>;
169172
170173 vmmc-supply = <&vddao_3v3>;
....@@ -180,11 +183,10 @@
180183
181184 bus-width = <4>;
182185 cap-sd-highspeed;
183
- max-frequency = <100000000>;
186
+ max-frequency = <50000000>;
184187 disable-wp;
185188
186
- cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
187
- cd-inverted;
189
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
188190
189191 vmmc-supply = <&vddao_3v3>;
190192 vqmmc-supply = <&vddio_card>;
....@@ -216,6 +218,7 @@
216218 pinctrl-names = "default";
217219 };
218220
219
-&usb0 {
221
+&usb {
220222 status = "okay";
223
+ dr_mode = "host";
221224 };