summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongmei Gou <a0271529@ti.com>2017-11-30 04:42:02 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-12-04 20:07:13 -0500
commitf08e7fdc0494868c5b99b6b6cd1293a1083232c5 (patch)
treeeb4e86b11b8bcbf37f68d6a25036a53783c21b16
parent8c6cfd7cc2408c9cdca69767e10f6cfc6526992b (diff)
downloadmeta-ti-f08e7fdc0494868c5b99b6b6cd1293a1083232c5.tar.gz
linux: ti-uio: include pru-uio device tree file for am574x
Signed-off-by: Hongmei Gou <a0271529@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi (renamed from recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi)0
-rw-r--r--recipes-kernel/linux/ti-uio.inc11
2 files changed, 8 insertions, 3 deletions
diff --git a/recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi b/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi
index f149cf1c..f149cf1c 100644
--- a/recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi
+++ b/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi
diff --git a/recipes-kernel/linux/ti-uio.inc b/recipes-kernel/linux/ti-uio.inc
index 3104f4e9..852c9ab2 100644
--- a/recipes-kernel/linux/ti-uio.inc
+++ b/recipes-kernel/linux/ti-uio.inc
@@ -3,7 +3,7 @@ SRC_URI_append_k2hk = " file://k2hk-uio.dtsi"
3SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi" 3SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi"
4SRC_URI_append_k2e = " file://k2e-uio.dtsi" 4SRC_URI_append_k2e = " file://k2e-uio.dtsi"
5SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi" 5SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi"
6SRC_URI_append_dra7xx = " file://am572x-pru-uio.dtsi \ 6SRC_URI_append_dra7xx = " file://am57xx-pru-uio.dtsi \
7 file://am571x-pru-uio.dtsi \ 7 file://am571x-pru-uio.dtsi \
8" 8"
9SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi" 9SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi"
@@ -34,10 +34,15 @@ do_setup_uio_append_dra7xx() {
34 34
35 if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] 35 if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
36 then 36 then
37 dtsi="am57xx-pru-uio.dtsi"
38 cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
39
37 dts="am572x-idk-pru-excl-uio.dts" 40 dts="am572x-idk-pru-excl-uio.dts"
38 dtsi="am572x-pru-uio.dtsi"
39 cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts 41 cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts
40 cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/ 42 echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
43
44 dts="am574x-idk-pru-excl-uio.dts"
45 cp ${S}/arch/arm/boot/dts/am574x-idk.dts ${S}/arch/arm/boot/dts/$dts
41 echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts 46 echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
42 47
43 dts="am571x-idk-pru-excl-uio.dts" 48 dts="am571x-idk-pru-excl-uio.dts"