From: Josua Mayer Date: Sun, 24 May 2026 14:54:43 +0000 (+0200) Subject: arm64: dts: lx2162a-clearfog: specify sfp ports led colour and function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78dc1c1c1941223fc16ccd80e1402e3273321e30;p=thirdparty%2Flinux.git arm64: dts: lx2162a-clearfog: specify sfp ports led colour and function The LX2162A Clearfog board has a green LED on each of four SFP ports. Describe in device-tree that their colour is green and function "lan". Signed-off-by: Josua Mayer Signed-off-by: Frank Li --- diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts index 6fd85a5cac94e..99ee2b1c0f13b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts @@ -6,6 +6,8 @@ /dts-v1/; +#include + #include "fsl-lx2160a-rev2.dtsi" #include "fsl-lx2162a-sr-som.dtsi" @@ -38,6 +40,9 @@ compatible = "gpio-leds"; led_sfp_at: led-sfp-at { + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <1>; gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* PROC_IRQ5 */ default-state = "off"; linux,default-trigger = "netdev"; @@ -45,6 +50,9 @@ }; led_sfp_ab: led-sfp-ab { + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <2>; gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; /* PROC_IRQ11 */ default-state = "off"; linux,default-trigger = "netdev"; @@ -52,6 +60,9 @@ }; led_sfp_bt: led-sfp-bt { + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <3>; gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; /* EVT1_B */ default-state = "off"; linux,default-trigger = "netdev"; @@ -59,6 +70,9 @@ }; led_sfp_bb: led-sfp-bb { + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <4>; gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; /* EVT2_B */ default-state = "off"; linux,default-trigger = "netdev";