aboutsummaryrefslogtreecommitdiff
path: root/src/arm/am572x-idk-common.dtsi
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-08-04 19:05:45 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-08-04 19:05:45 +0000
commit2554fe8f89383d8dedd834b46a9f616a277f8af4 (patch)
treea7597052fdedc3244821f034e5ef97f5ad01609c /src/arm/am572x-idk-common.dtsi
parent5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8 (diff)
downloadsrc-2554fe8f89383d8dedd834b46a9f616a277f8af4.tar.gz
src-2554fe8f89383d8dedd834b46a9f616a277f8af4.zip
Import DTS from Linux 5.8vendor/device-tree/5.8
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=363850 svn path=/vendor/device-tree/5.8/; revision=363851; tag=vendor/device-tree/5.8
Diffstat (limited to 'src/arm/am572x-idk-common.dtsi')
-rw-r--r--src/arm/am572x-idk-common.dtsi63
1 files changed, 49 insertions, 14 deletions
diff --git a/src/arm/am572x-idk-common.dtsi b/src/arm/am572x-idk-common.dtsi
index ddf123620e96..37ce2d7c4173 100644
--- a/src/arm/am572x-idk-common.dtsi
+++ b/src/arm/am572x-idk-common.dtsi
@@ -6,6 +6,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "am57xx-idk-common.dtsi"
+#include "dra74-ipu-dsp-common.dtsi"
/ {
memory@0 {
@@ -13,6 +14,40 @@
reg = <0x0 0x80000000 0x0 0x80000000>;
};
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ ipu2_memory_region: ipu2-memory@95800000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x95800000 0x0 0x3800000>;
+ reusable;
+ status = "okay";
+ };
+
+ dsp1_memory_region: dsp1-memory@99000000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x99000000 0x0 0x4000000>;
+ reusable;
+ status = "okay";
+ };
+
+ ipu1_memory_region: ipu1-memory@9d000000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x9d000000 0x0 0x2000000>;
+ reusable;
+ status = "okay";
+ };
+
+ dsp2_memory_region: dsp2-memory@9f000000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x9f000000 0x0 0x800000>;
+ reusable;
+ status = "okay";
+ };
+ };
+
status-leds {
compatible = "gpio-leds";
cpu0-led {
@@ -147,22 +182,22 @@
gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
};
-&mailbox5 {
+&ipu2 {
status = "okay";
- mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
- status = "okay";
- };
- mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
- status = "okay";
- };
+ memory-region = <&ipu2_memory_region>;
};
-&mailbox6 {
+&ipu1 {
status = "okay";
- mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
- status = "okay";
- };
- mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
- status = "okay";
- };
+ memory-region = <&ipu1_memory_region>;
+};
+
+&dsp1 {
+ status = "okay";
+ memory-region = <&dsp1_memory_region>;
+};
+
+&dsp2 {
+ status = "okay";
+ memory-region = <&dsp2_memory_region>;
};