Commit 062859b5 authored by Gireesh Hiremath's avatar Gireesh Hiremath Committed by Tony Lindgren

ARM: dts: am335x: Guardian: Rename power button label

 * Rename label button to power button
Signed-off-by: default avatarGireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-3-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent bbcd3f73
...@@ -29,21 +29,22 @@ memory@80000000 { ...@@ -29,21 +29,22 @@ memory@80000000 {
reg = <0x80000000 0x10000000>; /* 256 MB */ reg = <0x80000000 0x10000000>; /* 256 MB */
}; };
gpio_keys { guardian_buttons: gpio-keys {
pinctrl-names = "default";
pinctrl-0 = <&guardian_button_pins>;
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&gpio_keys_pins>;
button21 { power-button {
label = "guardian-power-button"; label = "guardian-power-button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio2 21 0>; gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
}; };
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -365,9 +366,9 @@ AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE5) ...@@ -365,9 +366,9 @@ AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE5)
>; >;
}; };
gpio_keys_pins: pinmux_gpio_keys_pins { guardian_button_pins: pinmux_guardian_button_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
AM33XX_IOPAD(0x940, PIN_INPUT | MUX_MODE7) AM33XX_IOPAD(0x940, PIN_INPUT | MUX_MODE7) /* (M16) gmii1_rxd0.gpio2[21] */
>; >;
}; };
......
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