diff options
author | Ralph Sennhauser <[email protected]> | 2017-05-21 14:49:00 +0200 |
---|---|---|
committer | Gregory CLEMENT <[email protected]> | 2017-06-17 08:16:46 +0200 |
commit | b2758f8edbf87f964825de1119887d9deb56dbaa (patch) | |
tree | 664ce51777d54c659e4a189ae5433a4275f7d39c | |
parent | 1216132f4dd57a4a6b8557ce2dbc64758b433991 (diff) |
ARM: dts: armada-385-linksys: fixup button node names
Buttons don't have a reg property; drop pseudo address and fixup names
of individual button nodes. Also drop #address-cells and #size-cells
properties.
Signed-off-by: Ralph Sennhauser <[email protected]>
Signed-off-by: Imre Kaloz <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/armada-385-linksys.dtsi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi index 1bb974a7c30b..e1f355ffc8f7 100644 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi @@ -81,18 +81,16 @@ gpio_keys: gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; pinctrl-0 = <&gpio_keys_pins>; pinctrl-names = "default"; - button@1 { + wps { label = "WPS"; linux,code = <KEY_WPS_BUTTON>; gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; }; - button@2 { + reset { label = "Factory Reset Button"; linux,code = <KEY_RESTART>; gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |