status = "okay";
};
+&mdio {
+ as21xx_1: ethernet-phy@1d {
+ compatible = "ethernet-phy-ieee802.3-c45";
+ reg = <0x1d>;
+
+ firmware-name = "as21x1x_fw.bin";
+
+ reset-deassert-us = <1000000>;
+ reset-assert-us = <1000000>;
+ reset-gpios = <&en7581_pinctrl 31 GPIO_ACTIVE_LOW>;
+
+ leds {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@0 {
+ reg = <0>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_LAN;
+ function-enumerator = <0>;
+ default-state = "keep";
+ };
+
+ led@1 {
+ reg = <1>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_LAN;
+ function-enumerator = <1>;
+ default-state = "keep";
+ };
+ };
+ };
+};
+
ð {
status = "okay";
};
status = "okay";
};
+&gdm4 {
+ status = "okay";
+
+ phy-handle = <&as21xx_1>;
+ phy-mode = "usxgmii";
+};
+
&switch {
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;