ARM: dts: keystone: align LED node names with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 25 Nov 2022 14:41:23 +0000 (15:41 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 13 Jan 2023 10:38:04 +0000 (11:38 +0100)
The node names should be generic and DT schema expects certain pattern:

  keystone-k2hk-evm.dtb: leds: 'debug1_1', 'debug1_2', 'debug2', 'debug3' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Link: https://lore.kernel.org/r/20221125144123.477005-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/keystone-k2hk-evm.dts

index 4a91f5ded402af22953a8204d11a65000c2e81c0..4352397b4f52e2fa78a582a7c49b447fb0329000 100644 (file)
 
        leds {
                compatible = "gpio-leds";
-               debug1_1 {
+               led-debug-1-1 {
                        label = "keystone:green:debug1";
                        gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */
                };
 
-               debug1_2 {
+               led-debug-1-2 {
                        label = "keystone:red:debug1";
                        gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */
                };
 
-               debug2 {
+               led-debug-2 {
                        label = "keystone:blue:debug2";
                        gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */
                };
 
-               debug3 {
+               led-debug-3 {
                        label = "keystone:blue:debug3";
                        gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */
                };