summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-21 16:16:29 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 17:14:13 +0300
commitc8fd1584f4df4028e278a95796da0b225b2720cd (patch)
tree9c58bad5ce6e426525df6c889a785ed0be60b772 /arch/arm/boot/dts/sun7i-a20-pcduino3.dts
parent0b92b823b8d880c6b1c1136a6e0caa47fc3df14a (diff)
downloadlinux-c8fd1584f4df4028e278a95796da0b225b2720cd.tar.xz
ARM: dts: sun7i: Remove gpio-keys warnings
Some gpio-keys definitions in our DTs were having buttons defined with a unit-address and that would generate a DTC warning. Change the buttons node names to remove the warnings. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-pcduino3.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-pcduino3.dts13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
index fc5319836752..0c0997effdf7 100644
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -75,21 +75,22 @@
};
};
- gpio_keys {
+ gpio-keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
- button@0 {
+
+ back {
label = "Key Back";
linux,code = <KEY_BACK>;
gpios = <&pio 7 17 GPIO_ACTIVE_LOW>;
};
- button@1 {
+
+ home {
label = "Key Home";
linux,code = <KEY_HOME>;
gpios = <&pio 7 18 GPIO_ACTIVE_LOW>;
};
- button@2 {
+
+ menu {
label = "Key Menu";
linux,code = <KEY_MENU>;
gpios = <&pio 7 19 GPIO_ACTIVE_LOW>;