summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-evmsk.dts
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-08-01 12:47:01 -0400
committerTony Lindgren <tony@atomide.com>2016-08-15 09:42:39 -0700
commit57a78a8a6f6e07253c6ff276847923e523a90a59 (patch)
tree9c1d398cad248874281e92f0184e991d19b1665b /arch/arm/boot/dts/am335x-evmsk.dts
parent909b0ebde95d24af3cdecbe22863830413f3fe81 (diff)
downloadlinux-57a78a8a6f6e07253c6ff276847923e523a90a59.tar.bz2
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: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evmsk.dts')
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index c96c42cb84f6..80e9978402e1 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -102,31 +102,31 @@
};
};
- gpio_buttons: gpio_buttons@0 {
+ gpio_buttons: gpio_buttons0 {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
- switch@1 {
+ switch1 {
label = "button0";
linux,code = <0x100>;
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
};
- switch@2 {
+ switch2 {
label = "button1";
linux,code = <0x101>;
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
};
- switch@3 {
+ switch3 {
label = "button2";
linux,code = <0x102>;
gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
wakeup-source;
};
- switch@4 {
+ switch4 {
label = "button3";
linux,code = <0x103>;
gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;