diff options
author | Drew Fustini <dfustini@tenstorrent.com> | 2024-08-01 11:38:05 -0700 |
---|---|---|
committer | Drew Fustini <drew@pdp7.com> | 2024-08-08 09:19:45 -0700 |
commit | e919fe036a97f6ed96eecf39ea61963eb2ff3442 (patch) | |
tree | 3bfbd10ea51933b5a65be864329d3b92da7afe1b /arch/riscv | |
parent | 32121e158449f0b6d6ab6b2e63b22d9d80471563 (diff) |
riscv: dts: thead: Add TH1520 AP_SUBSYS clock controller
Add node for the AP_SUBSYS clock controller on the T-Head TH1520 SoC.
Link: https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf
Link: https://git.beagleboard.org/beaglev-ahead/beaglev-ahead/-/tree/main/docs
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/boot/dts/thead/th1520.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index aa703da30fc3..25ef5ee729e6 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -5,6 +5,7 @@ */ #include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/clock/thead,th1520-clk-ap.h> / { compatible = "thead,th1520"; @@ -419,6 +420,13 @@ status = "disabled"; }; + clk: clock-controller@ffef010000 { + compatible = "thead,th1520-clk-ap"; + reg = <0xff 0xef010000 0x0 0x1000>; + clocks = <&osc>; + #clock-cells = <1>; + }; + dmac0: dma-controller@ffefc00000 { compatible = "snps,axi-dma-1.01a"; reg = <0xff 0xefc00000 0x0 0x1000>; |