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

ARM: dts: armada: align LED node names with dtschema

The node names should be generic and DT schema expects certain pattern:

armada-370-seagate-personal-cloud.dtb: gpio-leds: 'red-sata0' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Krzysztof Kozlowski and committed by
Gregory CLEMENT
f4237d74 4839e77b

+24 -24
+2 -2
arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts
··· 72 72 }; 73 73 74 74 gpio-leds { 75 - red-sata2 { 75 + led-red-sata2 { 76 76 label = "dart:red:sata2"; 77 77 gpios = <&pca9554 0 GPIO_ACTIVE_LOW>; 78 78 }; 79 - red-sata3 { 79 + led-red-sata3 { 80 80 label = "dart:red:sata3"; 81 81 gpios = <&pca9554 3 GPIO_ACTIVE_LOW>; 82 82 };
+4 -4
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
··· 132 132 gpio-leds { 133 133 compatible = "gpio-leds"; 134 134 135 - white-power { 135 + led-white-power { 136 136 label = "dart:white:power"; 137 137 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; 138 138 linux,default-trigger = "timer"; 139 139 140 140 }; 141 - red-power { 141 + led-red-power { 142 142 label = "dart:red:power"; 143 143 gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; 144 144 }; 145 - red-sata0 { 145 + led-red-sata0 { 146 146 label = "dart:red:sata0"; 147 147 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 148 148 }; 149 - red-sata1 { 149 + led-red-sata1 { 150 150 label = "dart:red:sata1"; 151 151 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; 152 152 };
+1 -1
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi
··· 107 107 gpio-leds { 108 108 compatible = "gpio-leds"; 109 109 110 - red-sata0 { 110 + led-red-sata0 { 111 111 label = "cumulus:red:sata0"; 112 112 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; 113 113 default-state = "off";
+2 -2
arch/arm/boot/dts/armada-385-linksys-caiman.dts
··· 62 62 }; 63 63 64 64 &gpio_leds { 65 - power { 65 + led-power { 66 66 label = "caiman:white:power"; 67 67 }; 68 68 69 - sata { 69 + led-sata { 70 70 label = "caiman:white:sata"; 71 71 }; 72 72 };
+2 -2
arch/arm/boot/dts/armada-385-linksys-cobra.dts
··· 62 62 }; 63 63 64 64 &gpio_leds { 65 - power { 65 + led-power { 66 66 label = "cobra:white:power"; 67 67 }; 68 68 69 - sata { 69 + led-sata { 70 70 label = "cobra:white:sata"; 71 71 }; 72 72 };
+4 -4
arch/arm/boot/dts/armada-385-linksys-rango.dts
··· 54 54 }; 55 55 56 56 &gpio_leds { 57 - power { 57 + led-power { 58 58 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; 59 59 label = "rango:white:power"; 60 60 }; 61 61 62 - sata { 62 + led-sata { 63 63 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 64 64 label = "rango:white:sata"; 65 65 }; 66 66 67 - wlan_2g { 67 + led-wlan_2g { 68 68 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 69 69 label = "rango:white:wlan_2g"; 70 70 }; 71 71 72 - wlan_5g { 72 + led-wlan_5g { 73 73 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 74 74 label = "rango:white:wlan_5g"; 75 75 };
+2 -2
arch/arm/boot/dts/armada-385-linksys-shelby.dts
··· 62 62 }; 63 63 64 64 &gpio_leds { 65 - power { 65 + led-power { 66 66 label = "shelby:white:power"; 67 67 }; 68 68 69 - sata { 69 + led-sata { 70 70 label = "shelby:white:sata"; 71 71 }; 72 72 };
+2 -2
arch/arm/boot/dts/armada-385-linksys.dtsi
··· 71 71 pinctrl-0 = <&gpio_leds_pins>; 72 72 pinctrl-names = "default"; 73 73 74 - power { 74 + led-power { 75 75 gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; 76 76 default-state = "on"; 77 77 }; 78 78 79 - sata { 79 + led-sata { 80 80 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; 81 81 default-state = "off"; 82 82 linux,default-trigger = "disk-activity";
+1 -1
arch/arm/boot/dts/armada-385-synology-ds116.dts
··· 149 149 * sata0, and accesses to SATA disk 0 make it blink so it 150 150 * doesn't need to be declared here. 151 151 */ 152 - orange { 152 + led-orange { 153 153 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 154 154 label = "ds116:orange:disk"; 155 155 default-state = "off";
+1 -1
arch/arm/boot/dts/armada-xp-linksys-mamba.dts
··· 195 195 pinctrl-0 = <&power_led_pin>; 196 196 pinctrl-names = "default"; 197 197 198 - power { 198 + led-power { 199 199 label = "mamba:white:power"; 200 200 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 201 201 default-state = "on";