Commit 57a78a8a authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Tony Lindgren

ARM: dts: am335x/am437x: remove unneeded unit name for gpio-keys nodes

This patch fixes the following DTC warnings for many boards:

"Node /gpio_keys/button0@10 has a unit name, but no reg property"
Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 909b0ebd
...@@ -73,20 +73,20 @@ &gpio1 26 GPIO_ACTIVE_HIGH /* Bank1, pin26 */ ...@@ -73,20 +73,20 @@ &gpio1 26 GPIO_ACTIVE_HIGH /* Bank1, pin26 */
0x0201006c>; /* DOWN */ 0x0201006c>; /* DOWN */
}; };
gpio_keys: volume_keys@0 { gpio_keys: volume_keys0 {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
autorepeat; autorepeat;
switch@9 { switch9 {
label = "volume-up"; label = "volume-up";
linux,code = <115>; linux,code = <115>;
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
switch@10 { switch10 {
label = "volume-down"; label = "volume-down";
linux,code = <114>; linux,code = <114>;
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
......
...@@ -102,31 +102,31 @@ led@4 { ...@@ -102,31 +102,31 @@ led@4 {
}; };
}; };
gpio_buttons: gpio_buttons@0 { gpio_buttons: gpio_buttons0 {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
switch@1 { switch1 {
label = "button0"; label = "button0";
linux,code = <0x100>; linux,code = <0x100>;
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
}; };
switch@2 { switch2 {
label = "button1"; label = "button1";
linux,code = <0x101>; linux,code = <0x101>;
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
}; };
switch@3 { switch3 {
label = "button2"; label = "button2";
linux,code = <0x102>; linux,code = <0x102>;
gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
wakeup-source; wakeup-source;
}; };
switch@4 { switch4 {
label = "button3"; label = "button3";
linux,code = <0x103>; linux,code = <0x103>;
gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
......
...@@ -616,21 +616,21 @@ &buttons { ...@@ -616,21 +616,21 @@ &buttons {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
button@0 { button0 {
label = "home"; label = "home";
linux,code = <KEY_HOME>; linux,code = <KEY_HOME>;
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
button@1 { button1 {
label = "menu"; label = "menu";
linux,code = <KEY_MENU>; linux,code = <KEY_MENU>;
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
buttons@2 { buttons2 {
label = "power"; label = "power";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
......
...@@ -104,7 +104,7 @@ gpio_keys: gpio_keys { ...@@ -104,7 +104,7 @@ gpio_keys: gpio_keys {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
switch@0 { switch0 {
label = "power-button"; label = "power-button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; gpios = <&gpio4 2 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