aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/files/k2e
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/files/k2e')
-rw-r--r--recipes-kernel/linux/files/k2e/cmem.dtsi42
-rw-r--r--recipes-kernel/linux/files/k2e/k2e-uio.dtsi32
2 files changed, 74 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/k2e/cmem.dtsi b/recipes-kernel/linux/files/k2e/cmem.dtsi
new file mode 100644
index 00000000..236b0ba8
--- /dev/null
+++ b/recipes-kernel/linux/files/k2e/cmem.dtsi
@@ -0,0 +1,42 @@
+/ {
+ reserved-memory {
+ mpm_block_mem_0: mpm_block_mem@820000000 {
+ reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
+ no-map;
+ status = "okay";
+ };
+
+ cmem_block_mem_0: cmem_block_mem@829000000 {
+ reg = <0x00000008 0x22000000 0x00000000 0x1E000000>;
+ no-map;
+ status = "okay";
+ };
+
+ cmem_block_mem_1: cmem_block_mem@00c100000 {
+ reg = <0x00000000 0x0c000000 0x00000000 0x00180000>;
+ 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 0x1E000000>;
+ };
+
+ cmem_block_1: cmem_block@1 {
+ reg = <1>;
+ memory-region = <&cmem_block_mem_1>;
+ };
+ };
+};
diff --git a/recipes-kernel/linux/files/k2e/k2e-uio.dtsi b/recipes-kernel/linux/files/k2e/k2e-uio.dtsi
new file mode 100644
index 00000000..052ae97c
--- /dev/null
+++ b/recipes-kernel/linux/files/k2e/k2e-uio.dtsi
@@ -0,0 +1,32 @@
+/ {
+ soc {
+ uio_hyperlink0: hyperlink0 {
+ compatible = "ti,uio-module-drv";
+ mem = <0x21400000 0x00001000
+ 0x40000000 0x10000000
+ 0x0231a000 0x00002000>;
+ clocks = <&clkhyperlink0>;
+ interrupts = <0 387 0x101>;
+ cfg-params
+ {
+ ti,serdes_refclk_khz = <312500>;
+ ti,serdes_maxserrate_khz = <6250000>;
+ ti,serdes_lanerate = "half";
+ ti,serdes_numlanes = <4>;
+ ti,serdes_c1 = <4 4 4 4>;
+ ti,serdes_c2 = <0 0 0 0>;
+ ti,serdes_cm = <0 0 0 0>;
+ ti,serdes_tx_att = <12 12 12 12>;
+ ti,serdes_tx_vreg = <4 4 4 4>;
+ ti,serdes_rx_att = <11 11 11 11>;
+ ti,serdes_rx_boost = <3 3 3 3>;
+ };
+ };
+ uio_srss: srss {
+ compatible = "ti,uio-module-drv";
+ mem = <0x02330000 0x0000400>;
+ clocks=<&clksr>;
+ interrupts = <0 0x173 0xf01>;
+ };
+ };
+};