Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2758f8e authored by Ralph Sennhauser's avatar Ralph Sennhauser Committed by Gregory CLEMENT
Browse files

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: default avatarRalph Sennhauser <ralph.sennhauser@gmail.com>
Signed-off-by: default avatarImre Kaloz <kaloz@openwrt.org>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 1216132f
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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>;