kernel: bump 5.4 to 5.4.40
[openwrt/staging/wigyori.git] / target / linux / layerscape / patches-5.4 / 302-dts-0115-LF-789-2-arm64-dts-add-overlay-support-for-ls1028a-q.patch
1 From 911d3d1ea88ff6d56258d6173be7fc25290948a7 Mon Sep 17 00:00:00 2001
2 From: Dong Aisheng <aisheng.dong@nxp.com>
3 Date: Fri, 10 Jan 2020 12:51:49 +0800
4 Subject: [PATCH] LF-789-2 arm64: dts: add overlay support for ls1028a-qds
5
6 Now seems only ls1028a-qds using overlay by adding fragment dtbs.
7 Add their support in Makefile.
8
9 This is one of approach suggested by DT maintainer Rob here:
10 https://lore.kernel.org/patchwork/patch/821645/
11
12 Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
13 Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
14 Reviewed-by: Alex Marginean <alexandru.marginean@nxp.com>
15 Tested-by: Alex Marginean <alexandru.marginean@nxp.com>
16 ---
17 arch/arm64/boot/dts/freescale/Makefile | 10 ++++++++++
18 1 file changed, 10 insertions(+)
19
20 --- a/arch/arm64/boot/dts/freescale/Makefile
21 +++ b/arch/arm64/boot/dts/freescale/Makefile
22 @@ -1,4 +1,14 @@
23 # SPDX-License-Identifier: GPL-2.0
24 +
25 +# required for overlay support
26 +DTC_FLAGS_fsl-ls1028a-qds := -@
27 +DTC_FLAGS_fsl-ls1028a-qds-13bb := -@
28 +DTC_FLAGS_fsl-ls1028a-qds-65bb := -@
29 +DTC_FLAGS_fsl-ls1028a-qds-7777 := -@
30 +DTC_FLAGS_fsl-ls1028a-qds-85bb := -@
31 +DTC_FLAGS_fsl-ls1028a-qds-899b := -@
32 +DTC_FLAGS_fsl-ls1028a-qds-9999 := -@
33 +
34 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-2g5rdb.dtb
35 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
36 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb