]> www.infradead.org Git - users/willy/xarray.git/commitdiff
riscv: dts: thead: Introduce reset controller node
authorMichal Wilczynski <m.wilczynski@samsung.com>
Fri, 25 Apr 2025 18:20:44 +0000 (11:20 -0700)
committerDrew Fustini <dfustini@tenstorrent.com>
Fri, 25 Apr 2025 18:43:44 +0000 (11:43 -0700)
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 <drew@pdp7.com>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
[drew: remove hunk that included thead,th1520-reset.h]
Signed-off-by: Drew Fustini <drew@pdp7.com>
arch/riscv/boot/dts/thead/th1520.dtsi

index fa7985e89d45931d1b80e4ee0f2e156a3f8283ee..32ef846d569caa9193069cb5bf3867d7fc4e5fa5 100644 (file)
                        #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>;