From 1b136de08b5feca37ebdb6d28db3c9c6285aba5a Mon Sep 17 00:00:00 2001 From: Michal Wilczynski Date: Fri, 25 Apr 2025 11:20:44 -0700 Subject: [PATCH] riscv: dts: thead: Introduce reset controller node T-HEAD TH1520 SoC requires to put the GPU out of the reset state as part of the power-up sequence. Link: https://lore.kernel.org/linux-riscv/81e53e3a-5873-44c7-9070-5596021daa42@samsung.com/ Reviewed-by: Drew Fustini Signed-off-by: Michal Wilczynski [drew: remove hunk that included thead,th1520-reset.h] Signed-off-by: Drew Fustini --- arch/riscv/boot/dts/thead/th1520.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index fa7985e89d459..32ef846d569ca 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -497,6 +497,12 @@ #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>; -- 2.47.3