aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm/boot/dts/rk3288-rock2-som.dtsi
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2018-02-18 17:03:35 +0000
committerHeiko Stuebner <heiko@sntech.de>2018-02-19 06:53:05 +0100
commit83454312f72ea310c315117dad27e5f0c0b05c30 (patch)
tree0028b7dee3204f7a7569d38147d4c3141170b154 /arch/arm/boot/dts/rk3288-rock2-som.dtsi
parentARM: dts: rockchip: add power key for Rock2 Square (diff)
downloadwireguard-linux-83454312f72ea310c315117dad27e5f0c0b05c30.tar.xz
wireguard-linux-83454312f72ea310c315117dad27e5f0c0b05c30.zip
ARM: dts: rockchip: add recovery button for Rock2 Square
The recovery button is connected to ADC1. This is the same setup as the Firefly board, but for Rock2 the power supply is connected on the module and all of the inputs are wired up to the edge connector, so use of the ADC depends on the carrier board. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-rock2-som.dtsi')
-rw-r--r--arch/arm/boot/dts/rk3288-rock2-som.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-rock2-som.dtsi b/arch/arm/boot/dts/rk3288-rock2-som.dtsi
index b9c471fcbd42..51f36a1b698e 100644
--- a/arch/arm/boot/dts/rk3288-rock2-som.dtsi
+++ b/arch/arm/boot/dts/rk3288-rock2-som.dtsi
@@ -280,6 +280,10 @@
};
};
+&saradc {
+ vref-supply = <&vcc_18>;
+};
+
&tsadc {
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */