diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-05-06 15:39:00 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-05-12 13:27:24 +0200 |
commit | e7c881596baf8d1a4a1b872c4670da6723246936 (patch) | |
tree | 37d697fd0c48e4a1cb5e58ac1b9f676fc002e84d /arch/arm/boot/dts/gemini-nas4220b.dts | |
parent | ARM: dts: Add second ATA to NAS4220B (diff) | |
download | linux-e7c881596baf8d1a4a1b872c4670da6723246936.tar.xz linux-e7c881596baf8d1a4a1b872c4670da6723246936.zip |
ARM: dts: Fix DTC warnings
The DTC was warning a lot about unit names etc, I think I fixed
them all. Stopping to include skeleton.dtsi fixes the last one.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/gemini-nas4220b.dts')
-rw-r--r-- | arch/arm/boot/dts/gemini-nas4220b.dts | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/gemini-nas4220b.dts b/arch/arm/boot/dts/gemini-nas4220b.dts index b67078eeaa6f..a40741475dc6 100644 --- a/arch/arm/boot/dts/gemini-nas4220b.dts +++ b/arch/arm/boot/dts/gemini-nas4220b.dts @@ -14,7 +14,7 @@ #address-cells = <1>; #size-cells = <1>; - memory { /* 128 MB */ + memory@0 { /* 128 MB */ device_type = "memory"; reg = <0x00000000 0x8000000>; }; @@ -26,10 +26,8 @@ gpio_keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - button@29 { + button-setup { debounce-interval = <50>; wakeup-source; linux,code = <KEY_SETUP>; @@ -37,7 +35,7 @@ /* Conflict with TVC */ gpios = <&gpio1 29 GPIO_ACTIVE_LOW>; }; - button@31 { + button-restart { debounce-interval = <50>; wakeup-source; linux,code = <KEY_RESTART>; @@ -49,13 +47,13 @@ leds { compatible = "gpio-leds"; - led@28 { + led-orange-hdd { label = "nas4220b:orange:hdd"; /* Conflict with TVC */ gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; default-state = "on"; }; - led@30 { + led-green-os { label = "nas4220b:green:os"; /* Conflict with TVC */ gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; |