Commit c8fd1584 authored by Maxime Ripard's avatar Maxime Ripard

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: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 0b92b823
...@@ -75,21 +75,22 @@ rx { ...@@ -75,21 +75,22 @@ rx {
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>; back {
button@0 {
label = "Key Back"; label = "Key Back";
linux,code = <KEY_BACK>; linux,code = <KEY_BACK>;
gpios = <&pio 7 17 GPIO_ACTIVE_LOW>; gpios = <&pio 7 17 GPIO_ACTIVE_LOW>;
}; };
button@1 {
home {
label = "Key Home"; label = "Key Home";
linux,code = <KEY_HOME>; linux,code = <KEY_HOME>;
gpios = <&pio 7 18 GPIO_ACTIVE_LOW>; gpios = <&pio 7 18 GPIO_ACTIVE_LOW>;
}; };
button@2 {
menu {
label = "Key Menu"; label = "Key Menu";
linux,code = <KEY_MENU>; linux,code = <KEY_MENU>;
gpios = <&pio 7 19 GPIO_ACTIVE_LOW>; gpios = <&pio 7 19 GPIO_ACTIVE_LOW>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment