summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91_4.9.87.bb
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-11-08 03:47:28 -0600
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-18 10:02:04 +0200
commit1782a7c121964fae19649ae29e073fd872222001 (patch)
tree32eccbde1bc14fc83f90423cf8b393ccb3a573ed /recipes-kernel/linux/linux-at91_4.9.87.bb
parent7e041a3236986d26f8174df5063ec5523a3f952a (diff)
downloadmeta-multitech-atmel-1782a7c121964fae19649ae29e073fd872222001.tar.gz
meta-multitech-atmel-1782a7c121964fae19649ae29e073fd872222001.tar.bz2
meta-multitech-atmel-1782a7c121964fae19649ae29e073fd872222001.zip
Device tree updates for MTCDT-0.2 and Overlay
Diffstat (limited to 'recipes-kernel/linux/linux-at91_4.9.87.bb')
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.87.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb
index 6e66b00..7fc0e5d 100644
--- a/recipes-kernel/linux/linux-at91_4.9.87.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.87.bb
@@ -60,6 +60,8 @@ COMMON_PATCHES = " \
SRC_URI_append_mtcdt = "\
${COMMON_PATCHES} \
+ file://mtcdt.dts \
+ file://mt-at91.h \
file://linux-4.9-mtcdt-device-tree.patch \
file://linux-4.9-mtcdt-atmel-multidrop.patch \
"
@@ -125,6 +127,10 @@ kernel_do_configure_append() {
rm -f ${B}/.scmversion ${S}/.scmversion
cd ${S}; git status; cd -
}
+kernel_do_configure_append_mtcdt() {
+ cp ${WORKDIR}/mtcdt.dts ${S}/arch/arm/boot/dts
+ cp ${WORKDIR}/mt-at91.h ${S}/arch/arm/boot/dts/include/dt-bindings/gpio
+}
KERNEL_MODULE_PACKAGE_SUFFIX=""