Skip to content

Commit 2c0cf4f

Browse files
alexelderdlan17
authored andcommitted
riscv: dts: spacemit: add reset support for the K1 SoC
Define syscon nodes for the RCPU, RCPU2, and APBC2 SpacemiT CCUS, which currently support resets but not clocks in the SpacemiT K1. Signed-off-by: Alex Elder <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Reviewed-by: Yixun Lan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yixun Lan <[email protected]>
1 parent aadc509 commit 2c0cf4f

File tree

1 file changed

+18
-0
lines changed
  • arch/riscv/boot/dts/spacemit

1 file changed

+18
-0
lines changed

arch/riscv/boot/dts/spacemit/k1.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,18 @@
346346
dma-noncoherent;
347347
ranges;
348348

349+
syscon_rcpu: system-controller@c0880000 {
350+
compatible = "spacemit,k1-syscon-rcpu";
351+
reg = <0x0 0xc0880000 0x0 0x2048>;
352+
#reset-cells = <1>;
353+
};
354+
355+
syscon_rcpu2: system-controller@c0888000 {
356+
compatible = "spacemit,k1-syscon-rcpu2";
357+
reg = <0x0 0xc0888000 0x0 0x28>;
358+
#reset-cells = <1>;
359+
};
360+
349361
syscon_apbc: system-controller@d4015000 {
350362
compatible = "spacemit,k1-syscon-apbc";
351363
reg = <0x0 0xd4015000 0x0 0x1000>;
@@ -562,6 +574,12 @@
562574
<&cpu7_intc 3>, <&cpu7_intc 7>;
563575
};
564576

577+
syscon_apbc2: system-controller@f0610000 {
578+
compatible = "spacemit,k1-syscon-apbc2";
579+
reg = <0x0 0xf0610000 0x0 0x20>;
580+
#reset-cells = <1>;
581+
};
582+
565583
sec_uart1: serial@f0612000 {
566584
compatible = "spacemit,k1-uart", "intel,xscale-uart";
567585
reg = <0x0 0xf0612000 0x0 0x100>;

0 commit comments

Comments
 (0)