[PATCH] arm64: dts: rockchip: Enable device-tree overlay support for select devices
Chris Morgan
macroalpha82 at gmail.com
Thu Mar 28 11:05:51 PDT 2024
From: Chris Morgan <macromorgan at hotmail.com>
Add the '-@' DTC option for the Rock 5B and Indiedroid Nova devices.
These two devices are relatively new both with external GPIO headers
for expansion. This does impact the filesize of the DTB substantially.
rk3588-rock-5b.dtb 75352 -> 150094 bytes
rk3588s-indiedroid-nova.dtb 69507 -> 136739 bytes
Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
---
arch/arm64/boot/dts/rockchip/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index f906a868b71a..26f306db0aea 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,4 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
+
+# Enable support for external device-tree overlays
+DTC_FLAGS_rk3588-rock-5b := -@
+DTC_FLAGS_rk3588s-indiedroid-nova := -@
+
dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb
--
2.34.1
More information about the Linux-rockchip
mailing list