aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/sun20i-d1-r-ccu.h
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2023-10-19 15:45:32 +0100
committerAndre Przywara <andre.przywara@arm.com>2023-10-22 01:12:26 +0100
commita14c250625570bb545d06c0e5b21445eb1b15716 (patch)
treeaf988f3cf6c2934f48000a222d35fd5a54e471e5 /include/dt-bindings/clock/sun20i-d1-r-ccu.h
parent1fe28c0aa60a30438f60e56c76ca65a9bc30a5d4 (diff)
downloadu-boot-a14c250625570bb545d06c0e5b21445eb1b15716.tar.gz
sunxi: dts: arm: add T113s/D1 DT files from Linux-v6.6-rc6
This copies in some devicetree files from the official Linux kernel tree, v6.6-rc6. It covers a board with the Allwinner T113s SoC, which shares many devices with its RISC-V sibling, the Allwinner D1(s). This is the reason for the core .dtsi files landing in the arch/riscv directory. We are only adjusting the include path to accommodate for the differences in the U-Boot build system. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'include/dt-bindings/clock/sun20i-d1-r-ccu.h')
-rw-r--r--include/dt-bindings/clock/sun20i-d1-r-ccu.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/sun20i-d1-r-ccu.h b/include/dt-bindings/clock/sun20i-d1-r-ccu.h
new file mode 100644
index 00000000000..f95c170711e
--- /dev/null
+++ b/include/dt-bindings/clock/sun20i-d1-r-ccu.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
+/*
+ * Copyright (C) 2021 Samuel Holland <samuel@sholland.org>
+ */
+
+#ifndef _DT_BINDINGS_CLK_SUN20I_D1_R_CCU_H_
+#define _DT_BINDINGS_CLK_SUN20I_D1_R_CCU_H_
+
+#define CLK_R_AHB 0
+
+#define CLK_BUS_R_TIMER 2
+#define CLK_BUS_R_TWD 3
+#define CLK_BUS_R_PPU 4
+#define CLK_R_IR_RX 5
+#define CLK_BUS_R_IR_RX 6
+#define CLK_BUS_R_RTC 7
+#define CLK_BUS_R_CPUCFG 8
+
+#endif /* _DT_BINDINGS_CLK_SUN20I_D1_R_CCU_H_ */