summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10-inet1.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-inet1.dts
parent6ab3cf041509d9703e176a9ceccac638f21af24d (diff)
downloadblackbird-obmc-linux-86f8b2d35966768a0aa666f7ca22a7acd321003d.tar.gz
blackbird-obmc-linux-86f8b2d35966768a0aa666f7ca22a7acd321003d.zip
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-inet1.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-inet1.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1.dts
index f6673745cc90..7b3ebc354ac3 100644
--- a/arch/arm/boot/dts/sun4i-a10-inet1.dts
+++ b/arch/arm/boot/dts/sun4i-a10-inet1.dts
@@ -133,21 +133,21 @@
vref-supply = <&reg_ldo2>;
status = "okay";
- button@200 {
+ button-200 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <200000>;
};
- button@1000 {
+ button-1000 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <1000000>;
};
- button@1200 {
+ button-1200 {
label = "Home";
linux,code = <KEY_HOMEPAGE>;
channel = <0>;
OpenPOWER on IntegriCloud