u-boot/arch/powerpc/dts
Rasmus Villemoes 3609e1dc5f dts: automatically build necessary .dtb files
When building for a custom board, it is quite common to maintain a
private branch which include some defconfig and .dts files. But to
hook up those .dts files requires modifying a file "belonging" to
upstream U-Boot, the arch/*/dts/Makefile. Forward-porting that branch
to a newer upstream then often results in a conflict which, while it
is trivial to resolve by hand, makes it harder to have a CI do "try to
build our board against latest upstream".

The .config usually includes information on precisely what .dtb(s) are
needed, so to avoid having to modify the Makefile, simply add the
files in (SPL_)OF_LIST to dtb-y.

A technicality is that (SPL_)OF_LIST is not always defined, so rework
the Kconfig symbols so that (SPL_)OF_LIST is always defined (when
(SPL_)OF_CONTROL), but only prompted for in the cases which used to be
their "depends on".

nios2 and microblaze already have something like this in their
dts/Makefile, and the rationale in commit 41f59f6853 is similar to
the above. So this simply generalizes existing practice. Followup
patches could remove the logic in those two makefiles, just as there's
potential for moving some common boilerplate from all the
arch/*/dts/Makefile files to the new scripts/Makefile.dts.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-02-09 12:26:12 -07:00
..
gdsys board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00
.gitignore gazerbeam: Import Linux DT 2019-05-21 08:03:38 +02:00
e500mc_power_isa.dtsi powerpc: Enable device tree support for P2041RDB 2019-08-26 21:25:23 +05:30
e500v2_power_isa.dtsi powerpc: Enable device tree support for P1020RDB 2019-08-26 21:23:21 +05:30
e5500_power_isa.dtsi powerpc: Enable device tree support for T1024RDB 2019-08-26 21:21:02 +05:30
e6500_power_isa.dtsi powerpc: dts: Enable device tree support for T2080QDS 2018-09-27 10:14:14 -07:00
elo3-dma-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
elo3-dma-1.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
gazerbeam.dts mpc83xx: Add gazerbeam board 2019-05-21 08:03:38 +02:00
km836x-uboot.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
km836x.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
km8309-uboot.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
km8321-uboot.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
km8321.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmcent2-u-boot.dtsi PowerPC: keymile: Add support for kmcent2 board 2021-02-08 14:01:18 +05:30
kmcent2.dts PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
kmcoge5ne-uboot.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmcoge5ne.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmeter1-uboot.dtsi km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmeter1.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmopti2.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmsupc5.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmsupm5.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmtegr1.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmtepr2.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmtuge1.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
kmtuxa1.dts km: fix license string and compatible strings 2020-10-22 09:54:54 -04:00
Makefile dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
mcr3000.dts board: MCR3000: migrate to DM_SERIAL 2018-12-03 10:44:10 -05:00
mpc8379erdb.dts mpc8379erdb: enable DM_USB DM_PCI DM_ETH 2021-07-06 14:07:36 -04:00
mpc8548-post.dtsi MPC8548: dts: Added PCIe DT node 2019-08-28 13:47:47 +05:30
mpc8548.dtsi powerpc: Enable device tree support for MPC8548CDS 2019-08-26 21:33:46 +05:30
mpc8548cds.dts MPC8548: dts: Added PCIe DT node 2019-08-28 13:47:47 +05:30
mpc8548cds_36b.dts MPC8548: dts: Added PCIe DT node 2019-08-28 13:47:47 +05:30
p1010rdb-pa.dts dts: P1010RDB: Add eSPI slave DT nodes 2020-09-24 08:27:44 -04:00
p1010rdb-pa_36b.dts dts: P1010RDB: Add eSPI slave DT nodes 2020-09-24 08:27:44 -04:00
p1010rdb-pb.dts powerpc: dts: p1010: add i2c node 2020-05-04 09:12:37 +05:30
p1010rdb-pb_36b.dts powerpc: dts: p1010: add i2c node 2020-05-04 09:12:37 +05:30
p1010rdb.dtsi dts: powerpc: p1010rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p1010rdb_32b.dtsi powerpc: Enable device tree support for P1010RDB 2020-05-04 09:12:37 +05:30
p1010rdb_36b.dtsi powerpc: Enable device tree support for P1010RDB 2020-05-04 09:12:37 +05:30
p1010si-post.dtsi dts: powerpc: p1010rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p1010si-pre.dtsi powerpc: Enable device tree support for P1010RDB 2020-05-04 09:12:37 +05:30
p1020-post.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p1020.dtsi powerpc: Enable device tree support for P1020RDB 2019-08-26 21:23:21 +05:30
p1020rdb-pc.dts dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p1020rdb-pc.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p1020rdb-pc_36b.dts dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p1020rdb-pd.dts dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p2020-post.dtsi dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p2020.dtsi powerpc: Enable device tree support for P2020RDB 2019-08-26 21:23:22 +05:30
p2020rdb-pc.dts dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p2020rdb-pc.dtsi dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p2020rdb-pc_36b.dts dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
p2041.dtsi dts: P2041: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
p2041rdb.dts dts: P2041RDB: Add ESPI slave device node 2020-09-24 08:27:44 -04:00
p2041si-post.dtsi powerpc: dts: add QorIQ DPAA 1 FMan for P2041 2020-06-04 18:53:20 +05:30
p3041.dtsi dts: P3041: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
p3041ds.dts dts: P3041DS: Add ESPI slave device node 2020-09-24 08:27:44 -04:00
p3041si-post.dtsi powerpc: dts: add QorIQ DPAA 1 FMan for P3041 2020-06-04 18:53:20 +05:30
p4080.dtsi dts: P4080: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
p4080ds.dts dts: P4080DS: Add ESPI slave device node 2020-09-24 08:27:44 -04:00
p4080si-post.dtsi powerpc: dts: add QorIQ DPAA 1 FMan for P4080 2020-06-04 18:53:20 +05:30
p5040.dtsi dts: P5040: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
p5040ds.dts dts: P5040DS: Add ESPI slave device node 2020-09-24 08:27:44 -04:00
p5040si-post.dtsi powerpc: dts: add QorIQ DPAA 1 FMan for P5040 2020-06-04 18:53:20 +05:30
pq3-etsec1-0.dtsi dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec1-1.dtsi dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec1-2.dtsi dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec1-3.dtsi dts: powerpc: p2020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec2-0.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec2-1.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec2-2.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec2-grp2-0.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec2-grp2-1.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-etsec2-grp2-2.dtsi dts: powerpc: p1020rdb: Add eTSEC DT nodes 2020-09-24 08:27:44 -04:00
pq3-i2c-0.dtsi powerpc: create dts component of i2c to build up an SoC 2020-05-04 09:12:36 +05:30
pq3-i2c-1.dtsi powerpc: create dts component of i2c to build up an SoC 2020-05-04 09:12:36 +05:30
qemu-ppce500.dts arm: qemu-ppce500: Add a devicetree file 2021-12-23 10:24:39 -05:00
qoriq-bman1.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-clockgen1.dtsi powerpc: dts: QorIQ: Add node(s) for the platform PLL 2020-06-04 18:53:20 +05:30
qoriq-clockgen2.dtsi powerpc: dts: QorIQ: Add node(s) for the platform PLL 2020-06-04 18:53:20 +05:30
qoriq-duart-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-duart-1.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-esdhc-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-espi-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-fman-0-1g-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-0-1g-1.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-0-1g-2.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-0-1g-3.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-0-1g-4.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-0-10g-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1-1g-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1-1g-1.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1-1g-2.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1-1g-3.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1-1g-4.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1-10g-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman-1.dtsi powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-1g-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-1g-1.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-1g-2.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-1g-3.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-1g-4.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-1g-5.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-10g-0-best-effort.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-10g-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-10g-1-best-effort.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0-10g-1.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-fman3-1-1g-0.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-1g-1.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-1g-2.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-1g-3.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-1g-4.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-1g-5.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-10g-0.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1-10g-1.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3-1.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
qoriq-fman3l-0.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes 2020-06-04 18:53:20 +05:30
qoriq-gpio-0.dtsi powerpc: dts: add QorIQ GPIOs 2020-06-04 18:53:20 +05:30
qoriq-gpio-1.dtsi powerpc: dts: add QorIQ GPIOs 2020-06-04 18:53:20 +05:30
qoriq-gpio-2.dtsi powerpc: dts: add QorIQ GPIOs 2020-06-04 18:53:20 +05:30
qoriq-gpio-3.dtsi powerpc: dts: add QorIQ GPIOs 2020-06-04 18:53:20 +05:30
qoriq-i2c-0.dtsi powerpc: create dts component of i2c to build up an SoC 2020-05-04 09:12:36 +05:30
qoriq-i2c-1.dtsi powerpc: create dts component of i2c to build up an SoC 2020-05-04 09:12:36 +05:30
qoriq-mpic.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-qman3.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-sata2-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-sata2-1.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-sec5.0-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-usb2-dr-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
qoriq-usb2-mph-0.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
socrates-u-boot.dtsi mpc85xx, dts, socrates: add u-boot specific dtsi 2019-11-06 16:30:19 +05:30
socrates.dts mpc85xx: add socrates dts from linux 2019-11-06 16:30:19 +05:30
t102x.dtsi dts: T102x: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
t104x.dtsi dts: T104x: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
t104xsi-pre.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
t1023si-post.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 for T102x 2020-06-04 18:53:20 +05:30
t1024rdb.dts dts: T1024RDB: Add ESPI slave device node 2020-09-24 08:27:44 -04:00
t1024si-post.dtsi powerpc: dts: add QorIQ DPAA 1 FMan v3 for T102x 2020-06-04 18:53:20 +05:30
t1040si-post.dtsi PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 2021-02-08 14:01:17 +05:30
t1042d4rdb.dts powerpc: dts: t1042d4rdb: add FMan v3 nodes 2021-04-15 14:27:29 +05:30
t1042si-post.dtsi powerpc: dts: t1042: add QorIQ DPAA 1 FMan v3 nodes 2021-04-15 14:27:20 +05:30
t2080.dtsi powerpc: dts: t2080: add espi controller node support 2020-09-24 08:27:44 -04:00
t2080qds.dts powerpc: dts: t2080qds: add espi slave nodes support 2020-09-24 08:27:44 -04:00
t2080rdb.dts board: freescale: t208xrdb: add a config option for rev D dts fixups 2021-06-17 11:46:11 +05:30
t2080si-post.dtsi powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes 2021-04-15 14:25:22 +05:30
t4240.dtsi dts: T4240: Add ESPI DT nodes 2020-09-24 08:27:44 -04:00
t4240rdb.dts powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
t4240si-post.dtsi powerpc: dts: qoriq: update the mdio offsets under the second FMan v3 2021-04-15 14:26:56 +05:30
u-boot.dtsi powerpc: dts: add default definition of CONFIG_RESET_VECTOR_ADDRESS 2019-08-26 21:31:01 +05:30