aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Reichel <[email protected]>2023-07-10 18:52:27 +0200
committerHeiko Stuebner <[email protected]>2023-07-11 15:24:30 +0200
commit43465c67518c3d2e6293e9d97e577de434ad682b (patch)
treed2b3de15b63f903f6d8f409d3270b474673a107b
parentaa00cf88bd8c5ac22f4da9ae390790268b111f97 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
-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;