u-boot/arch/mips/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
..
include MIPS: add initial infrastructure for device-tree files 2016-01-16 21:06:45 +01:00
ap121.dts dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
ap143.dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-04-14 00:03:06 -04:00
ap152.dts mips: add initial support for qca956x referenced board 2019-04-12 17:32:50 +02:00
ar933x.dtsi mips: ath79: fix DTC warnings 2018-12-19 15:23:01 +01:00
ar934x.dtsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
brcm,bcm3380.dtsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
brcm,bcm6318.dtsi bmips: bcm6318: add support for bcm6368-enet 2018-12-19 15:23:01 +01:00
brcm,bcm6328.dtsi bmips: bcm6328: add support for brcmnand 2019-10-25 17:20:43 +02:00
brcm,bcm6338.dtsi bmips: bcm6338: add support for bcm6348-enet 2018-12-19 15:23:00 +01:00
brcm,bcm6348.dtsi bmips: bcm6348: add support for bcm6348-enet 2018-12-19 15:23:01 +01:00
brcm,bcm6358.dtsi bmips: bcm6358: add support for bcm6348-enet 2018-12-19 15:23:01 +01:00
brcm,bcm6362.dtsi bmips: correct name characters 2019-10-25 17:20:43 +02:00
brcm,bcm6368.dtsi bmips: bcm6368: add support for brcmnand 2019-10-25 17:20:43 +02:00
brcm,bcm6838.dtsi dt: bcm6838: add nand controller 2019-04-22 11:55:58 -04:00
brcm,bcm63268.dtsi bmips: bcm63268: add support for brcmnand 2019-10-25 17:20:43 +02:00
brcm,bcm968380gerg.dts dt: bcm968380gerg: enable nand controller 2019-04-22 11:56:29 -04:00
ci20.dts mips: jz47xx: Add Creator CI20 platform 2018-12-19 15:23:02 +01:00
comtrend,ar-5315u.dts dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
comtrend,ar-5387un.dts dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
comtrend,ct-5361.dts bmips: enable ct-5361 enet support 2018-12-19 15:23:01 +01:00
comtrend,vr-3032u.dts bmips: enable vr-3032u nand support 2019-10-25 17:20:43 +02:00
comtrend,wap-5813n.dts bmips: enable wap-5813n enet support 2018-12-19 15:23:01 +01:00
gardena-smart-gateway-mt7688.dts dts: mtmips: add default pinctrl to eth nodes for all boards 2019-10-25 17:20:44 +02:00
huawei,hg556a.dts bmips: enable hg556a enet support 2018-12-19 15:23:01 +01:00
img,boston.dts boston: Introduce support for the MIPS Boston development board 2016-09-21 16:24:36 +02:00
jr2_pcb110.dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-04-14 00:03:06 -04:00
jr2_pcb111.dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-04-14 00:03:06 -04:00
jz4780.dtsi mips: jz47xx: Add JZ4780 SoC support 2018-12-19 15:23:01 +01:00
linkit-smart-7688.dts dts: mtmips: add default pinctrl to eth nodes for all boards 2019-10-25 17:20:44 +02:00
luton_pcb090.dts net: mscc: ocelot: Update DTS for Luton pcb90 2019-05-03 16:46:36 +02:00
luton_pcb091.dts net: mscc: ocelot: Update DTS for Luton pcb90 2019-05-03 16:46:36 +02:00
Makefile dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
mediatek,mt7620-mt7530-rfb.dts mips: mtmips: add two reference boards for mt7620 2021-01-24 21:39:26 +01:00
mediatek,mt7620-rfb.dts mips: mtmips: add two reference boards for mt7620 2021-01-24 21:39:26 +01:00
mediatek,mt7628-rfb.dts mips: mtmips: add support for mt7628-rfb 2020-04-27 20:30:13 +02:00
microAptiv.dtsi mips: xilfpga: Add device tree files 2016-09-21 14:55:14 +02:00
mrvl,cn73xx.dtsi mips: octeon: dts/dtsi: Change UART DT node to use clocks property 2021-04-23 21:22:55 +02:00
mrvl,octeon-ebb7304.dts mips: octeon: ebb7304: Add support for some I2C devices 2021-04-23 21:23:30 +02:00
mrvl,octeon-nic23.dts mips: octeon: Add Octeon III NIC23 board support 2021-04-23 21:22:55 +02:00
mscc,jr2.dtsi net: jr2: Reset switch 2021-04-22 02:34:45 +02:00
mscc,luton.dtsi net: mscc: ocelot: Update DTS for Luton pcb90 2019-05-03 16:46:36 +02:00
mscc,ocelot_pcb.dtsi dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
mscc,ocelot.dtsi spi: dw: Add SoC-specific compatible strings 2020-12-18 16:16:37 +05:30
mscc,serval.dtsi net: mscc: serval: Add ethernet nodes for Serval 2019-05-03 16:42:23 +02:00
mscc,servalt.dtsi net: mscc: servalt: Add ethernet nodes for ServalT 2019-04-12 17:32:53 +02:00
mt7620-u-boot.dtsi mips: mtmips: add support for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7620.dtsi mips: mtmips: add support for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7628-u-boot.dtsi mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
mt7628a.dtsi mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
mti,malta.dts MIPS: malta: add DT bindings for PCI host controller 2021-07-18 20:37:39 +02:00
netgear,cg3100d.dts dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
netgear,dgnd3700v2.dts bmips: correct name characters 2019-10-25 17:20:43 +02:00
nexys4ddr.dts mips: xilfpga: fix DTC warnings 2018-12-19 15:23:01 +01:00
ocelot_pcb120.dts net: mscc: ocelot: Update DTS for Ocelot pcb120. 2019-05-03 16:42:24 +02:00
ocelot_pcb123.dts net: mscc: ocelot: Update DTS for Ocelot pcb120. 2019-05-03 16:42:24 +02:00
pic32mzda_sk.dts mips: pic32mzdask: disable SDHCI SDCD signal workaround 2020-09-23 00:14:14 +02:00
pic32mzda.dtsi mips: dts: Fix PIC32MZDA GPIO register definitions 2020-09-23 00:14:29 +02:00
qca953x.dtsi mips: add ethernet support for qca953x referenced boards 2019-04-12 17:32:50 +02:00
qca956x.dtsi mips: add initial support for qca956x referenced board 2019-04-12 17:32:50 +02:00
sagem,f@st1704.dts dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
serval2_pcb112.dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-04-14 00:03:06 -04:00
serval_pcb105.dts net: mscc: serval: Add ethernet nodes for Serval 2019-05-03 16:42:23 +02:00
serval_pcb106.dts net: mscc: serval: Add ethernet nodes for Serval 2019-05-03 16:42:23 +02:00
servalt_pcb116.dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-04-14 00:03:06 -04:00
sfr,nb4-ser.dts bmips: enable nb4-ser enet support 2018-12-19 15:23:01 +01:00
skeleton.dtsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tplink_wdr4300.dts dts: switch spi-flash to jedec, spi-nor compatible 2019-04-12 10:54:27 +05:30
vocore_vocore2.dts mips: vocore2: fix various issues 2020-09-23 00:14:56 +02:00