From 0eb32bd451b52c8b87943597051281f252b54dc4 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Sat, 21 Apr 2018 01:22:12 +0000 Subject: conf, recipes: introduce k2l family and add support for k2l-hs-evm Signed-off-by: Denys Dmytriyenko --- recipes-kernel/linux/files/k2l-evm/cmem.dtsi | 37 ------------------------- recipes-kernel/linux/files/k2l-evm/k2l-uio.dtsi | 10 ------- recipes-kernel/linux/files/k2l/cmem.dtsi | 37 +++++++++++++++++++++++++ recipes-kernel/linux/files/k2l/k2l-uio.dtsi | 10 +++++++ recipes-kernel/linux/linux-ti-staging_4.14.bb | 2 +- recipes-kernel/linux/ti-uio.inc | 4 +-- 6 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 recipes-kernel/linux/files/k2l-evm/cmem.dtsi delete mode 100644 recipes-kernel/linux/files/k2l-evm/k2l-uio.dtsi create mode 100644 recipes-kernel/linux/files/k2l/cmem.dtsi create mode 100644 recipes-kernel/linux/files/k2l/k2l-uio.dtsi (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/files/k2l-evm/cmem.dtsi b/recipes-kernel/linux/files/k2l-evm/cmem.dtsi deleted file mode 100644 index da389e5d..00000000 --- a/recipes-kernel/linux/files/k2l-evm/cmem.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/ { - 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-evm/k2l-uio.dtsi b/recipes-kernel/linux/files/k2l-evm/k2l-uio.dtsi deleted file mode 100644 index a1b2e07e..00000000 --- a/recipes-kernel/linux/files/k2l-evm/k2l-uio.dtsi +++ /dev/null @@ -1,10 +0,0 @@ -/ { - soc { - uio_srss: srss { - compatible = "ti,uio-module-drv"; - mem = <0x02330000 0x0000400>; - clocks=<&clksr>; - interrupts = <0 0x173 0xf01>; - }; - }; -}; 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>; + }; + }; +}; diff --git a/recipes-kernel/linux/linux-ti-staging_4.14.bb b/recipes-kernel/linux/linux-ti-staging_4.14.bb index bce683f2..7230bf45 100644 --- a/recipes-kernel/linux/linux-ti-staging_4.14.bb +++ b/recipes-kernel/linux/linux-ti-staging_4.14.bb @@ -40,7 +40,7 @@ RDEPENDS_kernel-base_append_keystone = " qmss-pdsp-fw" # Add run-time dependency for NETCP PA firmware to the rootfs RDEPENDS_kernel-base_append_k2hk = " netcp-pa-fw" RDEPENDS_kernel-base_append_k2e = " netcp-pa-fw" -RDEPENDS_kernel-base_append_k2l-evm = " netcp-pa-fw" +RDEPENDS_kernel-base_append_k2l = " netcp-pa-fw" # Add run-time dependency for PRU Ethernet firmware to the rootfs RDEPENDS_kernel-base_append_am57xx-evm = " prueth-fw" diff --git a/recipes-kernel/linux/ti-uio.inc b/recipes-kernel/linux/ti-uio.inc index 852c9ab2..6fc397e5 100644 --- a/recipes-kernel/linux/ti-uio.inc +++ b/recipes-kernel/linux/ti-uio.inc @@ -1,6 +1,6 @@ SRC_URI_append_keystone = " file://keystone-uio.dtsi" SRC_URI_append_k2hk = " file://k2hk-uio.dtsi" -SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi" +SRC_URI_append_k2l = " file://k2l-uio.dtsi" SRC_URI_append_k2e = " file://k2e-uio.dtsi" SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi" SRC_URI_append_dra7xx = " file://am57xx-pru-uio.dtsi \ @@ -12,7 +12,7 @@ SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi" DTSI_LIST = "" DTSI_LIST_append_keystone = " keystone-uio.dtsi" DTSI_LIST_append_k2hk = " k2hk-uio.dtsi" -DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi" +DTSI_LIST_append_k2l = " k2l-uio.dtsi" DTSI_LIST_append_k2e = " k2e-uio.dtsi" do_setup_uio() { -- cgit v1.2.3-54-g00ecf