mediatek: rename PHY LEDs to match upstream bindings

Kernel docs recommends the following pattern "(^led-[0-9a-f]$|led)"[1].

1. https://elixir.bootlin.com/linux/v6.14-rc6/source/Documentation/devicetree/bindings/leds/leds-gpio.yaml#L24

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
This commit is contained in:
Aleksander Jan Bajkowski 2025-03-02 19:11:28 +01:00 committed by Daniel Golle
parent 5016c960bc
commit 7103a1554a
6 changed files with 19 additions and 19 deletions

View File

@ -188,13 +188,13 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
};
led@1 {
led-1 {
reg = <1>;
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_LAN;
@ -214,13 +214,13 @@
#address-cells = <1>;
#size-cells = <0>;
led@1 {
led-1 {
reg = <1>;
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_WAN;
};
led@2 {
led-2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WAN;

View File

@ -171,13 +171,13 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_AMBER>;
};
led@1 {
led-1 {
reg = <1>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_GREEN>;

View File

@ -140,7 +140,7 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
color = <LED_COLOR_ID_WHITE>;
function = LED_FUNCTION_WAN;

View File

@ -187,13 +187,13 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_YELLOW>;
};
led@1 {
led-1 {
reg = <1>;
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
@ -223,13 +223,13 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_YELLOW>;
};
led@1 {
led-1 {
reg = <1>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_GREEN>;

View File

@ -219,7 +219,7 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
@ -235,7 +235,7 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WAN;

View File

@ -425,19 +425,19 @@
#address-cells = <1>;
#size-cells = <0>;
led@0 {
led-0 {
reg = <0>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_GREEN>;
};
led@1 {
led-1 {
reg = <1>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_ORANGE>;
};
led@2 {
led-2 {
reg = <2>;
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_WHITE>;
@ -459,19 +459,19 @@
#address-cells = <1>;
#size-cells = <0>;
aqr_green_led: led@0 {
aqr_green_led: led-0 {
reg = <0>;
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
};
aqr_orange_led: led@1 {
aqr_orange_led: led-1 {
reg = <1>;
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_ORANGE>;
};
aqr_white_led: led@2 {
aqr_white_led: led-2 {
reg = <2>;
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_WHITE>;