OSDN Git Service

arm64: dts: intel: socfpga_agilex_socdk: align LED node names with dtschema
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 26 Jan 2022 17:41:57 +0000 (18:41 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 9 Feb 2022 16:43:47 +0000 (10:43 -0600)
Align the LED node names with dtschema to silence dtbs_check warnings
like:

    leds: 'hps0', 'hps1', 'hps2' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts

index ea37ba7..26cd3c1 100644 (file)
 
        leds {
                compatible = "gpio-leds";
-               hps0 {
+               led0 {
                        label = "hps_led0";
                        gpios = <&portb 20 GPIO_ACTIVE_HIGH>;
                };
 
-               hps1 {
+               led1 {
                        label = "hps_led1";
                        gpios = <&portb 19 GPIO_ACTIVE_HIGH>;
                };
 
-               hps2 {
+               led2 {
                        label = "hps_led2";
                        gpios = <&portb 21 GPIO_ACTIVE_HIGH>;
                };