diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-24 09:15:46 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-31 10:59:25 +0800 |
commit | 2eedac079ae45bbd377def090dd0b509b5568c32 (patch) | |
tree | ecf8ae36812d07eb1a3d4ed2f11ca4d197dd12b4 /arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi | |
parent | 674b05798f407f5ad6a12a5858a7b135d9e7c748 (diff) | |
download | lwn-2eedac079ae45bbd377def090dd0b509b5568c32.tar.gz lwn-2eedac079ae45bbd377def090dd0b509b5568c32.zip |
arm64: dts: imx8mm-beacon-baseboard: Correct LED default state
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi index 9ac17b284f20..5b5af8b381df 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi @@ -10,19 +10,19 @@ 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 { |