summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2023-07-10 19:52:27 +0300
committerHeiko Stuebner <heiko@sntech.de>2023-07-11 16:24:30 +0300
commit43465c67518c3d2e6293e9d97e577de434ad682b (patch)
treed2b3de15b63f903f6d8f409d3270b474673a107b /arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
parentaa00cf88bd8c5ac22f4da9ae390790268b111f97 (diff)
downloadlinux-43465c67518c3d2e6293e9d97e577de434ad682b.tar.xz
arm64: dts: rockchip: add SARADC to rock-5a
Enable ADC support for Rock 5A, which has the following ADC channels: Channel 0 = Boot Mode Config Channel 1 = Recovery Key Channel 2 = PWM Fan Channel 3 = Headphone Hook Channel 4 = System Input Voltage Channel 5 = Board ID Config Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Link: https://lore.kernel.org/r/20230710165228.105983-13-sebastian.reichel@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
index 956b27a03120..deb87b96af98 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -286,6 +286,11 @@
};
};
+&saradc {
+ vref-supply = <&avcc_1v8_s0>;
+ status = "okay";
+};
+
&sdhci {
bus-width = <8>;
no-sdio;