mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
rockchip64-6.18: radxa-e24c: map LEDs to RTL DSA switch ports
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
function = LED_FUNCTION_WAN;
|
||||
gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
label = "WAN";
|
||||
linux,default-trigger = "netdev";
|
||||
linux,default-trigger = "stmmac-0:1d:user_mii:00:link";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wan_led_g>;
|
||||
};
|
||||
@@ -84,7 +84,7 @@
|
||||
function = LED_FUNCTION_LAN;
|
||||
gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
label = "LAN1";
|
||||
linux,default-trigger = "netdev";
|
||||
linux,default-trigger = "stmmac-0:1d:user_mii:01:link";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lan1_led_g>;
|
||||
};
|
||||
@@ -95,7 +95,7 @@
|
||||
function = LED_FUNCTION_LAN;
|
||||
gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||
label = "LAN2";
|
||||
linux,default-trigger = "netdev";
|
||||
linux,default-trigger = "stmmac-0:1d:user_mii:02:link";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lan2_led_g>;
|
||||
};
|
||||
@@ -106,7 +106,7 @@
|
||||
function = LED_FUNCTION_LAN;
|
||||
gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
label = "LAN3";
|
||||
linux,default-trigger = "netdev";
|
||||
linux,default-trigger = "stmmac-0:1d:user_mii:03:link";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lan3_led_g>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user