Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffb1843d authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: JZ4740: require & include DT



Require a DT for JZ4740 based systems, and add a stub one for the
qi_lb60 (Ben NanoNote) board. Devices will be migrated to being probed
via this DT over time.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10132/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 252617a4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -300,6 +300,8 @@ config MACH_INGENIC
	select SYS_HAS_EARLY_PRINTK
	select HAVE_CLK
	select GENERIC_IRQ_CHIP
	select BUILTIN_DTB
	select USE_OF

config LANTIQ
	bool "Lantiq based platforms"
+1 −0
Original line number Diff line number Diff line
dts-dirs	+= brcm
dts-dirs	+= cavium-octeon
dts-dirs	+= ingenic
dts-dirs	+= lantiq
dts-dirs	+= mti
dts-dirs	+= netlogic
+9 −0
Original line number Diff line number Diff line
dtb-$(CONFIG_JZ4740_QI_LB60)	+= qi_lb60.dtb

obj-y				+= $(patsubst %.dtb, %.dtb.o, $(dtb-y))

# Force kbuild to make empty built-in.o if necessary
obj-				+= dummy.o

always				:= $(dtb-y)
clean-files			:= *.dtb *.dtb.S
+5 −0
Original line number Diff line number Diff line
/ {
	#address-cells = <1>;
	#size-cells = <1>;
	compatible = "ingenic,jz4740";
};
+7 −0
Original line number Diff line number Diff line
/dts-v1/;

#include "jz4740.dtsi"

/ {
	compatible = "qi,lb60", "ingenic,jz4740";
};
Loading