aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>2020-12-22 15:34:59 +0100
committerGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>2020-12-22 16:30:17 +0100
commit56c25ab50573fa198d14970409d3464b772c1dab (patch)
treeba6d5e37c0c968e685504ca94bc2d01712533a49
parent784ce98ed8c50318afcfbd858ef8512a16e1acf2 (diff)
downloadlinux-56c25ab50573fa198d14970409d3464b772c1dab.tar.gz
TEMP: arm64: dts: k3-am65-main: add PRUSS related nodes
PRUSS related nodes were introduced to test ti,pruss-uart.yaml binding.
-rw-r--r--arch/arm64/boot/dts/ti/k3-am65-main.dtsi131
1 files changed, 131 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 12591a854020..2c0232884f40 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -919,4 +919,135 @@
clocks = <&ehrpwm_tbclk 5>, <&k3_clks 45 0>;
clock-names = "tbclk", "fck";
};
+
+
+ icssg0: icssg@b000000 {
+ compatible = "ti,am654-icssg";
+ reg = <0x00 0xb000000 0x00 0x80000>;
+ power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x0 0x00 0xb000000 0x80000>;
+
+ icssg0_mem: memories@0 {
+ reg = <0x0 0x2000>,
+ <0x2000 0x2000>,
+ <0x10000 0x10000>;
+ reg-names = "dram0", "dram1",
+ "shrdram2";
+ };
+
+ icssg0_cfg: cfg@26000 {
+ compatible = "ti,pruss-cfg", "syscon";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x26000 0x200>;
+ ranges = <0x00 0x26000 0x200>;
+ dma-ranges;
+
+ icssg0_clocks: clocks {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ icssg0_coreclk_mux: coreclk-mux@3c {
+ #clock-cells = <0>;
+ clocks = <&k3_clks 62 19>, /* icssg_core_clk */
+ <&k3_clks 62 3>; /* icssg_iclk */
+ assigned-clocks = <&icssg0_coreclk_mux>;
+ assigned-clock-parents = <&k3_clks 62 3>;
+ reg = <0x3c>;
+ };
+
+ icssg0_iepclk_mux: iepclk-mux@30 {
+ #clock-cells = <0>;
+ clocks = <&k3_clks 62 10>, /* icssg_iep_cl */
+ <&icssg0_coreclk_mux>; /* core_clk */
+ assigned-clocks = <&icssg0_iepclk_mux>;
+ assigned-clock-parents = <&icssg0_coreclk_mux>;
+ reg = <0x30>;
+ };
+ };
+ };
+
+ icssg0_intc: interrupt-controller@20000 {
+ compatible = "ti,icssg-intc";
+ reg = <0x20000 0x2000>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "host_intr0", "host_intr1",
+ "host_intr2", "host_intr3",
+ "host_intr4", "host_intr5",
+ "host_intr6", "host_intr7";
+ };
+
+ pru0_0: pru@34000 {
+ compatible = "ti,am654-pru";
+ reg = <0x34000 0x4000>,
+ <0x22000 0x100>,
+ <0x22400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am65x-pru0_0-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <16 2 2>, <17 0 0>;
+ interrupt-names = "vring", "kick";
+ };
+
+ rtu0_0: rtu@4000 {
+ compatible = "ti,am654-rtu";
+ reg = <0x4000 0x2000>,
+ <0x23000 0x100>,
+ <0x23400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am65x-rtu0_0-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <20 4 4>, <21 10 10>;
+ //interrupts = <20 4 4>, <21 >;
+ interrupt-names = "vring", "kick";
+ };
+
+ pru0_1: pru@38000 {
+ compatible = "ti,am654-pru";
+ reg = <0x38000 0x4000>,
+ <0x24000 0x100>,
+ <0x24400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am65x-pru0_1-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <18 3 3>, <19 1 1>;
+ interrupt-names = "vring", "kick";
+ };
+
+ rtu0_1: rtu@6000 {
+ compatible = "ti,am654-rtu";
+ reg = <0x6000 0x2000>,
+ <0x23800 0x100>,
+ <0x23c00 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am65x-rtu0_1-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <22 5 5>, <23 11 11>;
+ interrupt-names = "vring", "kick";
+ };
+ };
+
+
+ pruss_uart: serial@28000 {
+ compatible = "ti,pruss-uart";
+ reg = <0x0 0xb028000 0x0 0x38>;
+ interrupt-parent = <&icssg0_intc>;
+ firmware-name = "ti-pruss/pruss0_0-uart-fw.elf";
+ ti,prus = <&pru0_0>;
+ interrupts = <6 2 2>;
+ pinctrl-names = "default";
+ ti,pruss-gp-mux-sel = <7>;
+ status = "okay";
+ };
};