Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: microchip: at91: align LED node name with bindings

Bindings expect the LED node names to follow certain pattern, see
dtbs_check warnings:

at91sam9g15ek.dtb: leds: 'pb18', 'pd21' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Alexander Dahl <ada@thorsis.com>
Link: https://lore.kernel.org/r/20240701164952.577277-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>

authored by

Krzysztof Kozlowski and committed by
Claudiu Beznea
b39c4572 9dbd9dbe

+19 -19
+2 -2
arch/arm/boot/dts/microchip/at91sam9g20ek_2mmc.dts
··· 40 40 leds { 41 41 compatible = "gpio-leds"; 42 42 43 - ds1 { 43 + led-ds1 { 44 44 label = "ds1"; 45 45 gpios = <&pioB 9 GPIO_ACTIVE_HIGH>; 46 46 linux,default-trigger = "heartbeat"; 47 47 }; 48 48 49 - ds5 { 49 + led-ds5 { 50 50 label = "ds5"; 51 51 gpios = <&pioB 8 GPIO_ACTIVE_LOW>; 52 52 };
+12 -12
arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dts
··· 37 37 leds { 38 38 compatible = "gpio-leds"; 39 39 40 - power_blue { 40 + led-power-blue { 41 41 label = "smartgw:power:blue"; 42 42 gpios = <&pioC 21 GPIO_ACTIVE_HIGH>; 43 43 default-state = "off"; 44 44 }; 45 45 46 - power_green { 46 + led-power-green { 47 47 label = "smartgw:power:green"; 48 48 gpios = <&pioC 20 GPIO_ACTIVE_HIGH>; 49 49 default-state = "on"; 50 50 }; 51 51 52 - power_red { 52 + led-power-red { 53 53 label = "smartgw:power:red"; 54 54 gpios = <&pioC 19 GPIO_ACTIVE_HIGH>; 55 55 default-state = "off"; 56 56 }; 57 57 58 - radio_blue { 58 + led-radio-blue { 59 59 label = "smartgw:radio:blue"; 60 60 gpios = <&pioC 18 GPIO_ACTIVE_HIGH>; 61 61 default-state = "off"; 62 62 }; 63 63 64 - radio_green { 64 + led-radio-green { 65 65 label = "smartgw:radio:green"; 66 66 gpios = <&pioC 17 GPIO_ACTIVE_HIGH>; 67 67 default-state = "off"; 68 68 }; 69 69 70 - radio_red { 70 + led-radio-red { 71 71 label = "smartgw:radio:red"; 72 72 gpios = <&pioC 16 GPIO_ACTIVE_HIGH>; 73 73 default-state = "off"; 74 74 }; 75 75 76 - internet_blue { 76 + led-internet-blue { 77 77 label = "smartgw:internet:blue"; 78 78 gpios = <&pioC 15 GPIO_ACTIVE_HIGH>; 79 79 default-state = "off"; 80 80 }; 81 81 82 - internet_green { 82 + led-internet-green { 83 83 label = "smartgw:internet:green"; 84 84 gpios = <&pioC 14 GPIO_ACTIVE_HIGH>; 85 85 default-state = "off"; 86 86 }; 87 87 88 - internet_red { 88 + led-internet-red { 89 89 label = "smartgw:internet:red"; 90 90 gpios = <&pioC 13 GPIO_ACTIVE_HIGH>; 91 91 default-state = "off"; 92 92 }; 93 93 94 - heartbeat { 94 + led-heartbeat { 95 95 label = "smartgw:heartbeat"; 96 96 gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; 97 97 linux,default-trigger = "heartbeat"; 98 98 }; 99 99 100 - pb18 { 100 + led-pb18 { 101 101 status = "disabled"; 102 102 }; 103 103 104 - pd21 { 104 + led-pd21 { 105 105 status = "disabled"; 106 106 }; 107 107 };
+3 -3
arch/arm/boot/dts/microchip/at91sam9n12ek.dts
··· 207 207 leds { 208 208 compatible = "gpio-leds"; 209 209 210 - d8 { 210 + led-d8 { 211 211 label = "d8"; 212 212 gpios = <&pioB 4 GPIO_ACTIVE_LOW>; 213 213 linux,default-trigger = "mmc0"; 214 214 }; 215 215 216 - d9 { 216 + led-d9 { 217 217 label = "d9"; 218 218 gpios = <&pioB 5 GPIO_ACTIVE_LOW>; 219 219 linux,default-trigger = "nand-disk"; 220 220 }; 221 221 222 - d10 { 222 + led-d10 { 223 223 label = "d10"; 224 224 gpios = <&pioB 6 GPIO_ACTIVE_HIGH>; 225 225 linux,default-trigger = "heartbeat";
+2 -2
arch/arm/boot/dts/microchip/at91sam9x5cm.dtsi
··· 120 120 leds { 121 121 compatible = "gpio-leds"; 122 122 123 - pb18 { 123 + led-pb18 { 124 124 label = "pb18"; 125 125 gpios = <&pioB 18 GPIO_ACTIVE_LOW>; 126 126 linux,default-trigger = "heartbeat"; 127 127 }; 128 128 129 - pd21 { 129 + led-pd21 { 130 130 label = "pd21"; 131 131 gpios = <&pioD 21 GPIO_ACTIVE_HIGH>; 132 132 };