leds: gpio-leds {
compatible = "gpio-leds";
- lan_amber {
- color = <LED_COLOR_ID_GREEN>;
+ lan_white {
+ color = <LED_COLOR_ID_WHITE>;
function = "lan";
gpios = <&pio 59 GPIO_ACTIVE_HIGH>;
};
- lan_green {
+ lan_amber {
color = <LED_COLOR_ID_AMBER>;
function = "lan";
gpios = <&pio 60 GPIO_ACTIVE_HIGH>;
};
+
+ lan_green {
+ color = <LED_COLOR_ID_GREEN>;
+ function = "lan";
+ gpios = <&pio 68 GPIO_ACTIVE_HIGH>;
+ };
};
thermal-zones {
status = "okay";
};
-&int_2p5g_phy {
- pinctrl-names = "i2p5gbe-led";
- pinctrl-0 = <&i2p5gbe_led0_pins>;
-};
-
-&i2p5gbe_led0 {
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_LAN;
- status = "okay";
-};
-
&mdio_bus {
reset-gpios = <&pio 62 GPIO_ACTIVE_LOW>;
reset-delay-us = <100000>;
};
&pio {
- i2p5gbe_led0_pins: 2p5gbe-led0-pins {
- mux {
- function = "led";
- groups = "2p5gbe_led0";
- };
- };
-
pcie0_1_pins: pcie0-pins-g1 {
mux {
function = "pcie";
ucidef_set_led_netdev "wan-white" "WAN" "mdio-bus:00:white:wan" "wan" "link_10000"
;;
smartrg,sdg-8733a)
- ucidef_set_led_netdev "lan-green-act" "LAN" "mdio-bus:0f:green:lan" "lan" "link_2500"
+ ucidef_set_led_netdev "lan-white" "LAN" "white:lan" "lan" "link_2500"
ucidef_set_led_netdev "lan-amber" "LAN" "amber:lan" "lan" "link_100"
ucidef_set_led_netdev "lan-green" "LAN" "green:lan" "lan" "link_1000"
ucidef_set_led_netdev "wan-green" "WAN" "mdio-bus:08:green:wan" "wan" "link_2500 link_5000"