summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-pcduino.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-05 12:49:48 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-09 10:49:35 +0200
commitf42ff29980daa9c01915b30dbc6399b2a15c99f8 (patch)
treefa5f46f0d119f9c497807529b636dad4ac6b1974 /arch/arm/boot/dts/sun4i-a10-pcduino.dts
parenteb2d0fab0af98e909086d3cb6a944645a3c460a1 (diff)
ARM: dts: sun4i: 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. Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-pcduino.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-pcduino.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-pcduino.dts b/arch/arm/boot/dts/sun4i-a10-pcduino.dts
index 3580b830927b..cbc39609c332 100644
--- a/arch/arm/boot/dts/sun4i-a10-pcduino.dts
+++ b/arch/arm/boot/dts/sun4i-a10-pcduino.dts
@@ -79,19 +79,19 @@
#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>;