forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts
....@@ -31,7 +31,7 @@
3131
3232 leds {
3333 compatible = "gpio-leds";
34
- blue {
34
+ led-blue {
3535 label = "a95x:system-status";
3636 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
3737 linux,default-trigger = "heartbeat";
....@@ -75,8 +75,8 @@
7575 gpios-states = <1>;
7676
7777 /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */
78
- states = <1800000 0
79
- 3300000 1>;
78
+ states = <1800000 0>,
79
+ <3300000 1>;
8080 };
8181
8282 vddio_boot: regulator-vddio_boot {
....@@ -162,10 +162,6 @@
162162 phy-handle = <&eth_phy0>;
163163 phy-mode = "rmii";
164164
165
- snps,reset-gpio = <&gpio GPIOZ_14 0>;
166
- snps,reset-delays-us = <0 10000 1000000>;
167
- snps,reset-active-low;
168
-
169165 mdio {
170166 compatible = "snps,dwmac-mdio";
171167 #address-cells = <1>;
....@@ -174,6 +170,10 @@
174170 eth_phy0: ethernet-phy@0 {
175171 /* IC Plus IP101GR (0x02430c54) */
176172 reg = <0>;
173
+
174
+ reset-assert-us = <10000>;
175
+ reset-deassert-us = <10000>;
176
+ reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
177177 };
178178 };
179179 };
....@@ -220,6 +220,9 @@
220220 non-removable;
221221 disable-wp;
222222
223
+ /* WiFi firmware requires power to be kept while in suspend */
224
+ keep-power-in-suspend;
225
+
223226 mmc-pwrseq = <&sdio_pwrseq>;
224227
225228 vmmc-supply = <&vddao_3v3>;
....@@ -235,11 +238,10 @@
235238
236239 bus-width = <4>;
237240 cap-sd-highspeed;
238
- max-frequency = <100000000>;
241
+ max-frequency = <50000000>;
239242 disable-wp;
240243
241
- cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
242
- cd-inverted;
244
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
243245
244246 vmmc-supply = <&vddao_3v3>;
245247 vqmmc-supply = <&vddio_card>;