summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner
diff options
context:
space:
mode:
authorJames McGregor <jamcgregor@protonmail.com>2024-04-26 11:29:48 +0200
committerChen-Yu Tsai <wens@csie.org>2024-05-28 18:14:36 +0200
commit048ed5efbc4eec85c114d915ee0739341499d4b9 (patch)
tree22896900be4ebb9dd1ee923f63775824bdfcd9b9 /arch/arm64/boot/dts/allwinner
parentdt-bindings: input: sun4i-lradc-keys: Add H616 compatible (diff)
downloadlinux-048ed5efbc4eec85c114d915ee0739341499d4b9.tar.xz
linux-048ed5efbc4eec85c114d915ee0739341499d4b9.zip
ARM: dts: sun50i: Add LRADC node
Add a DT node for the Allwinner H616 LRADC describing the base address, interrupt, reset and clock gates. Signed-off-by: James McGregor <jamcgregor@protonmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Škrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20240426092924.15489-3-jamcgregor@protonmail.com Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
index 921d5f61d8d6..cd866d8667ec 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
@@ -602,6 +602,16 @@
#thermal-sensor-cells = <1>;
};
+ lradc: lradc@5070800 {
+ compatible = "allwinner,sun50i-h616-lradc",
+ "allwinner,sun50i-r329-lradc";
+ reg = <0x05070800 0x400>;
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_KEYADC>;
+ resets = <&ccu RST_BUS_KEYADC>;
+ status = "disabled";
+ };
+
usbotg: usb@5100000 {
compatible = "allwinner,sun50i-h616-musb",
"allwinner,sun8i-h3-musb";