diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-10-05 12:49:43 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-10-09 10:52:12 +0200 |
commit | 86f8b2d35966768a0aa666f7ca22a7acd321003d (patch) | |
tree | 5e9dbb8631953b5053cd57e1d21422f99a5477dc /arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | |
parent | ARM: dts: sun4i: Remove skeleton and memory to avoid warnings (diff) | |
download | linux-86f8b2d35966768a0aa666f7ca22a7acd321003d.tar.xz 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-inet97fv2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts b/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts index a8e479fe43ca..f1b79a5ecb27 100644 --- a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts +++ b/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts @@ -109,35 +109,35 @@ vref-supply = <®_ldo2>; status = "okay"; - button@200 { + button-200 { label = "Menu"; linux,code = <KEY_MENU>; channel = <0>; voltage = <200000>; }; - button@600 { + button-600 { label = "Volume Up"; linux,code = <KEY_VOLUMEUP>; channel = <0>; voltage = <600000>; }; - button@800 { + button-800 { label = "Volume Down"; linux,code = <KEY_VOLUMEDOWN>; channel = <0>; voltage = <800000>; }; - button@1000 { + button-1000 { label = "Home"; linux,code = <KEY_HOMEPAGE>; channel = <0>; voltage = <1000000>; }; - button@1200 { + button-1200 { label = "Esc"; linux,code = <KEY_ESC>; channel = <0>; |