aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/files/k2l
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/files/k2l')
-rw-r--r--recipes-kernel/linux/files/k2l/cmem.dtsi37
-rw-r--r--recipes-kernel/linux/files/k2l/k2l-uio.dtsi10
2 files changed, 47 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/k2l/cmem.dtsi b/recipes-kernel/linux/files/k2l/cmem.dtsi
new file mode 100644
index 00000000..da389e5d
--- /dev/null
+++ b/recipes-kernel/linux/files/k2l/cmem.dtsi
@@ -0,0 +1,37 @@
+/ {
+ reserved-memory {
+
+ cmem_block_mem_0: cmem_block_mem@830000000 {
+ reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
+ no-map;
+ status = "okay";
+ };
+ };
+
+ cmem {
+ compatible = "ti,cmem";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ #pool-size-cells = <2>;
+
+ status = "okay";
+
+ cmem_block_0: cmem_block@0 {
+ reg = <0>;
+ memory-region = <&cmem_block_mem_0>;
+ cmem-buf-pools = <1 0x00000000 0x18000000>;
+ };
+
+ cmem_block_1: cmem_block@1 {
+ reg = <1>;
+ sram = <&sram_cmem>;
+ };
+ };
+};
+
+&msm_ram {
+ sram_cmem: sram-cmem@80000 {
+ reg = <0x80000 0xc0000>;
+ };
+};
diff --git a/recipes-kernel/linux/files/k2l/k2l-uio.dtsi b/recipes-kernel/linux/files/k2l/k2l-uio.dtsi
new file mode 100644
index 00000000..a1b2e07e
--- /dev/null
+++ b/recipes-kernel/linux/files/k2l/k2l-uio.dtsi
@@ -0,0 +1,10 @@
+/ {
+ soc {
+ uio_srss: srss {
+ compatible = "ti,uio-module-drv";
+ mem = <0x02330000 0x0000400>;
+ clocks=<&clksr>;
+ interrupts = <0 0x173 0xf01>;
+ };
+ };
+};