diff mbox series

[RFC,v2,18/19] riscv: dts: thead: Introduce reset controller node

Message ID 20241223125553.3527812-19-m.wilczynski@samsung.com (mailing list archive)
State New
Headers show
Series [RFC,v2,01/19] dt-bindings: clock: Add VO subsystem clocks and update address requirements | expand

Checks

Context Check Description
conchuod/vmtest-for-next-PR fail PR summary
conchuod/patch-18-test-1 success .github/scripts/patches/tests/build_rv32_defconfig.sh took 104.16s
conchuod/patch-18-test-2 success .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh took 981.90s
conchuod/patch-18-test-3 success .github/scripts/patches/tests/build_rv64_gcc_allmodconfig.sh took 1152.40s
conchuod/patch-18-test-4 success .github/scripts/patches/tests/build_rv64_nommu_k210_defconfig.sh took 15.88s
conchuod/patch-18-test-5 success .github/scripts/patches/tests/build_rv64_nommu_virt_defconfig.sh took 17.50s
conchuod/patch-18-test-6 success .github/scripts/patches/tests/checkpatch.sh took 0.32s
conchuod/patch-18-test-7 success .github/scripts/patches/tests/dtb_warn_rv64.sh took 36.87s
conchuod/patch-18-test-8 success .github/scripts/patches/tests/header_inline.sh took 0.00s
conchuod/patch-18-test-9 success .github/scripts/patches/tests/kdoc.sh took 0.44s
conchuod/patch-18-test-10 success .github/scripts/patches/tests/module_param.sh took 0.01s
conchuod/patch-18-test-11 success .github/scripts/patches/tests/verify_fixes.sh took 0.00s
conchuod/patch-18-test-12 success .github/scripts/patches/tests/verify_signedoff.sh took 0.03s

Commit Message

Michal Wilczynski Dec. 23, 2024, 12:55 p.m. UTC
T-HEAD TH1520 SoC requires to put the GPU out of the reset state as part
of the power-up sequence.

Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
---
 arch/riscv/boot/dts/thead/th1520.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi
index d4090074fd27..c6fe2ea3197d 100644
--- a/arch/riscv/boot/dts/thead/th1520.dtsi
+++ b/arch/riscv/boot/dts/thead/th1520.dtsi
@@ -7,6 +7,7 @@ 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/clock/thead,th1520-clk-ap.h>
 #include <dt-bindings/power/thead,th1520-power.h>
+#include <dt-bindings/reset/thead,th1520-reset.h>
 
 / {
 	compatible = "thead,th1520";
@@ -505,6 +506,12 @@  clk: clock-controller@ffef010000 {
 			#clock-cells = <1>;
 		};
 
+		rst: reset-controller@ffef528000 {
+			compatible = "thead,th1520-reset";
+			reg = <0xff 0xef528000 0x0 0x4f>;
+			#reset-cells = <1>;
+		};
+
 		dmac0: dma-controller@ffefc00000 {
 			compatible = "snps,axi-dma-1.01a";
 			reg = <0xff 0xefc00000 0x0 0x1000>;