arm64: dts: imx8mm-beacon-baseboard: Correct LED default state
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 24 Aug 2020 07:15:46 +0000 (09:15 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 31 Aug 2020 02:59:25 +0000 (10:59 +0800)
There is no LED default state "none".  leds-gpio driver maps it to
"off", so correct them to fix dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml:
    leds: led0:default-state:0: 'none' is not one of ['on', 'off', 'keep']

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi

index 9ac17b2..5b5af8b 100644 (file)
                led0 {
                        label = "gen_led0";
                        gpios = <&pca6416_1 4 GPIO_ACTIVE_HIGH>;
-                       default-state = "none";
+                       default-state = "off";
                };
 
                led1 {
                        label = "gen_led1";
                        gpios = <&pca6416_1 5 GPIO_ACTIVE_HIGH>;
-                       default-state = "none";
+                       default-state = "off";
                };
 
                led2 {
                        label = "gen_led2";
                        gpios = <&pca6416_1 6 GPIO_ACTIVE_HIGH>;
-                       default-state = "none";
+                       default-state = "off";
                };
 
                led3 {