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
committerJohn Klug <john.klug@multitech.com>2021-12-29 08:26:41 -0600
commitb1eb7d690433fc647dd8b6806271d23e0fdf09ee (patch)
treef07e9e4f5d4d9aad6033ea8ade8e5609bdcefd22 /recipes-kernel/linux/linux-at91_4.9.87.bb
parent0b159d676a251c81daf3037e46a1af3209e1ff83 (diff)
downloadmeta-multitech-atmel-b1eb7d690433fc647dd8b6806271d23e0fdf09ee.tar.gz
meta-multitech-atmel-b1eb7d690433fc647dd8b6806271d23e0fdf09ee.tar.bz2
meta-multitech-atmel-b1eb7d690433fc647dd8b6806271d23e0fdf09ee.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 e18dfaf..f97e568 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 \
"
@@ -120,6 +122,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=""