diff options
author | Maxime Ripard <maxime@cerno.tech> | 2019-12-19 10:15:38 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2019-12-20 08:57:27 +0100 |
commit | 7309386df5500230abe066d338761106a93ae7af (patch) | |
tree | ef40e76741322a39efadd7a88582b7b10bc82adc /arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts | |
parent | ef4afc620fa0a67e5500fb374b2f38123a523e9f (diff) |
ARM: dts: sun8i: nanopi-duo2: Fix GPIO regulator state array
Even though it translates to the same thing down to the binary level, we
should have an array of 2 number cells to describe each voltage state,
which in turns create a validation warning.
Let's fix this.
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts index c73f59900975..6b149271ef13 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts @@ -60,8 +60,7 @@ enable-gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ gpios-states = <0x1>; - states = <1100000 0x0 - 1300000 0x1>; + states = <1100000 0>, <1300000 1>; }; reg_vcc_dram: vcc-dram { |