linux: ti-uio: include pru-uio device tree file for am574x
PATCH 1/2 linux: ti-uio: include pru-uio device tree file for am574x
Signed-off-by Hongmei Gou <[email protected]>
---
.../files/dra7xx/{am572x-pru-uio.dtsi => am57xx-pru-uio.dtsi} | 0
recipes-kernel/linux/ti-uio.inc | 11 ++++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
rename recipes-kernel/linux/files/dra7xx/{am572x-pru-uio.dtsi => am57xx-pru-uio.dtsi} (100%)recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi renamed from recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi +0 -0
recipes-kernel/linux/ti-uio.inc +8 -3
@@ -3,7 +3,7 @@ SRC_URI_append_k2hk = " file://k2hk-uio.dtsi" SRC_URI_append_k2l-evm = " 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://am572x-pru-uio.dtsi \ +SRC_URI_append_dra7xx = " file://am57xx-pru-uio.dtsi \ file://am571x-pru-uio.dtsi \ " SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi"
@@ -34,10 +34,15 @@ do_setup_uio_append_dra7xx() { if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] then + dtsi="am57xx-pru-uio.dtsi" + cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/ + dts="am572x-idk-pru-excl-uio.dts" - dtsi="am572x-pru-uio.dtsi" cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts - cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/ + echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts + + dts="am574x-idk-pru-excl-uio.dts" + cp ${S}/arch/arm/boot/dts/am574x-idk.dts ${S}/arch/arm/boot/dts/$dts echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts dts="am571x-idk-pru-excl-uio.dts"
Signature · 1 line
1.9.1
PATCH 2/2 am57xx-evm.conf: add am574x-idk-pru-excl-uio.dtb to the KERNEL_DEVICETREE list
Signed-off-by Hongmei Gou <[email protected]>
--- conf/machine/am57xx-evm.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/am57xx-evm.conf +1 -1
@@ -16,7 +16,7 @@ KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-be am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb \ am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb \ am574x-idk.dtb am574x-idk-lcd-osd101t2587.dtb \ - ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}" + ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}" UBOOT_MACHINE = "am57xx_evm_config"
Signature · 1 line
1.9.1