hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
....@@ -101,19 +101,19 @@
101101
102102 amlogic,tx-delay-ns = <2>;
103103
104
- snps,reset-gpio = <&gpio GPIOZ_14 0>;
105
- snps,reset-delays-us = <0 10000 1000000>;
106
- snps,reset-active-low;
107
-
108104 /* External PHY is in RGMII */
109105 phy-mode = "rgmii";
110106 };
111107
112108 &external_mdio {
113109 external_phy: ethernet-phy@0 {
114
- compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
110
+ /* Realtek RTL8211F (0x001cc916) */
115111 reg = <0>;
116112 max-speed = <1000>;
113
+
114
+ reset-assert-us = <10000>;
115
+ reset-deassert-us = <80000>;
116
+ reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
117117 };
118118 };
119119
....@@ -144,11 +144,10 @@
144144
145145 bus-width = <4>;
146146 cap-sd-highspeed;
147
- max-frequency = <100000000>;
147
+ max-frequency = <50000000>;
148148 disable-wp;
149149
150
- cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
151
- cd-inverted;
150
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
152151
153152 vmmc-supply = <&vddao_3v3>;
154153 vqmmc-supply = <&vddio_boot>;
....@@ -179,3 +178,8 @@
179178 pinctrl-0 = <&uart_ao_a_pins>;
180179 pinctrl-names = "default";
181180 };
181
+
182
+&usb {
183
+ status = "okay";
184
+ dr_mode = "host";
185
+};