From: Sinthu Raja
Add R5 specific dts for J721E-SK
Signed-off-by: Sinthu Raja
---
Changes in V2:
* J721E EAIK board name is changed to J721E SK, rename all occurrences of eaik
to sk.
* Rename file from eaik to sk.
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi | 31 ++
arch/arm/dts/k3-j721e-r5-sk.dts | 646
3 files changed, 679 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi
create mode 100644 arch/arm/dts/k3-j721e-r5-sk.dts
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 8918dfc48e..3581c925fc 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1114,7 +1114,8 @@ dtb-$(CONFIG_SOC_K3_J721E) +=
k3-j721e-common-proc-board.dtb \
k3-j721e-r5-common-proc-board.dtb \
k3-j7200-common-proc-board.dtb \
k3-j7200-r5-common-proc-board.dtb \
- k3-j721e-sk.dtb
+ k3-j721e-sk.dtb \
+ k3-j721e-r5-sk.dtb
dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-evm.dtb \
k3-am642-r5-evm.dtb \
k3-am642-sk.dtb \
diff --git a/arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi
b/arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi
new file mode 100644
index 00..71d16f193f
--- /dev/null
+++ b/arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+#include "k3-j721e-sk-u-boot.dtsi"
+
+/ {
+ chosen {
+ firmware-loader = _loader0;
+ };
+
+ aliases {
+ remoteproc0 =
+ remoteproc1 = _0;
+ remoteproc2 = _r5fss0_core0;
+ remoteproc3 = _r5fss0_core1;
+ };
+
+ fs_loader0: fs_loader@0 {
+ u-boot,dm-pre-reloc;
+ compatible = "u-boot,fs-loader";
+ };
+};
+
+ {
+ esm: esm {
+ compatible = "ti,tps659413-esm";
+ u-boot,dm-spl;
+ };
+};
diff --git a/arch/arm/dts/k3-j721e-r5-sk.dts b/arch/arm/dts/k3-j721e-r5-sk.dts
new file mode 100644
index 00..abce864fff
--- /dev/null
+++ b/arch/arm/dts/k3-j721e-r5-sk.dts
@@ -0,0 +1,646 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+/dts-v1/;
+
+#include "k3-j721e.dtsi"
+#include "k3-j721e-ddr-evm-lp4-4266.dtsi"
+#include "k3-j721e-ddr.dtsi"
+
+/ {
+ model = "Texas Instruments J721E SK R5";
+
+ aliases {
+ remoteproc0 =
+ remoteproc1 = _0;
+ };
+
+ chosen {
+ stdout-path = "serial2:115200n8";
+ tick-timer =
+ };
+
+ memory@8000 {
+ device_type = "memory";
+ /* 4G RAM */
+ reg = <0x 0x8000 0x 0x8000>,
+ <0x0008 0x8000 0x 0x8000>;
+ };
+
+ reserved_memory: reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ secure_ddr: optee@9e80 {
+ reg = <0x00 0x9e80 0x00 0x0180>;
+ alignment = <0x1000>;
+ no-map;
+ };
+
+ mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a000 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0xa000 0x00 0x10>;
+ no-map;
+ };
+
+ mcu_r5fss0_core0_memory_region: r5f-memory@a010 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0xa010 0x00 0xf0>;
+ no-map;
+ };
+
+ mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a100 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0xa100 0x00 0x10>;
+ no-map;
+ };
+
+ mcu_r5fss0_core1_memory_region: r5f-memory@a110 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0xa110 0x00 0xf0>;
+ no-map;
+ };
+
+ main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a200 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0xa200 0x00 0x10>;
+ no-map;
+ };
+
+ main_r5fss0_core0_memory_region: r5f-memory@a210 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0xa210 0x00 0xf0>;
+ no-map;
+ };
+
+