summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-05 12:49:43 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-09 10:52:12 +0200
commit86f8b2d35966768a0aa666f7ca22a7acd321003d (patch)
tree5e9dbb8631953b5053cd57e1d21422f99a5477dc /arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts
parent6ab3cf041509d9703e176a9ceccac638f21af24d (diff)
ARM: dts: sun4i: Change LRADC node names to avoid warnings
One of the usage of the LRADC is to implement buttons. The bindings define that we should have one subnode per button, with their associated voltage as a property. However, there was no reg property but we still used the voltage associated to the button as the unit-address, which eventually generated warnings in DTC. Rename the node names to avoid those warnings. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts b/arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts
index a69bd560ceb7..f3d0435fa7d1 100644
--- a/arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts
+++ b/arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts
@@ -138,14 +138,14 @@
vref-supply = <&reg_ldo2>;
status = "okay";
- button@400 {
+ button-400 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <400000>;
};
- button@800 {
+ button-800 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;