linux/arch/powerpc/boot/dts
Olof Johansson d5d332d3f7 devicetree: Move include prefixes from arch to separate directory
We use a directory under arch/$ARCH/boot/dts as an include path
that has links outside of the subtree to find dt-bindings from under
include/dt-bindings. That's been working well, but new DT architectures
haven't been adding them by default.

Recently there's been a desire to share some of the DT material between
arm and arm64, which originally caused developers to create symlinks or
relative includes between the subtrees. This isn't ideal -- it breaks
if the DT files aren't stored in the exact same hierarchy as the kernel
tree, and generally it's just icky.

As a somewhat cleaner solution we decided to add a $ARCH/ prefix link
once, and allow DTS files to reference dtsi (and dts) files in other
architectures that way.

Original approach was to create these links under each architecture,
but it lead to the problem of recursive symlinks.

As a remedy, move the include link directories out of the architecture
trees into a common location. At the same time, they can now share one
directory and one dt-bindings/ link as well.

Fixes: 4027494ae6 ('ARM: dts: add arm/arm64 include symlinks')
Reported-by: Russell King <linux@armlinux.org.uk>
Reported-by: Omar Sandoval <osandov@osandov.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: linux-arch <linux-arch@vger.kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2017-05-18 23:55:48 -07:00
..
fsl powerpc updates for 4.11 part 2 2017-03-01 10:10:16 -08:00
a3m071.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
a4m072.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
ac14xx.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
acadia.dts
adder875-redboot.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
adder875-uboot.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
akebono.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
amigaone.dts
arches.dts powerpc/44x: Update Arches dts 2010-02-10 08:21:16 -05:00
asp834x-redboot.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
bamboo.dts
bluestone.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
c2k.dts dt/bindings: Remove device_type "serial" from marvell,mv64360-mpsc 2014-01-16 16:31:31 +00:00
canyonlands.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
charon.dts powerpc/5200: add support for charon board 2011-09-29 15:34:51 +02:00
cm5200.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
currituck.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
digsy_mtc.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
ebony.dts
eiger.dts
ep88xc.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
ep405.dts
ep8248e.dts dt/bindings: remove users of device_type "mdio" 2014-01-16 16:25:56 +00:00
gamecube.dts powerpc: gamecube: device tree 2009-12-12 22:24:26 -07:00
glacier.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
haleakala.dts
holly.dts dt/bindings: remove users of device_type "mdio" 2014-01-16 16:25:56 +00:00
hotfoot.dts powerpc/405: Fix missing #{address,size}-cells in i2c node 2011-01-03 16:02:51 -07:00
icon.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
iss4xx-mpic.dts powerpc/4xx: Simple platform for the ISS 4xx simulator 2010-05-05 11:11:56 -04:00
iss4xx.dts powerpc/4xx: Simple platform for the ISS 4xx simulator 2010-05-05 11:11:56 -04:00
katmai.dts powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
kilauea.dts powerpc/4xx: Fix warning in kilauea.dtb 2013-12-02 14:06:56 +11:00
klondike.dts powerpc/40x: Add APM8018X SOC support 2011-11-30 10:02:15 -05:00
kmeter1.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
ksi8560.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
kuroboxHD.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
kuroboxHG.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
lite5200.dts powerpc/5200: fix lite5200 ethernet phy address 2010-06-15 14:47:04 -06:00
lite5200b.dts powerpc/5200: Add Lite5200 on-board LEDs as devices 2013-02-11 21:24:53 +00:00
makalu.dts
media5200.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
mgcoge.dts powerpc/82xx: add SPI support for mgcoge 2012-07-10 07:07:20 -05:00
motionpro.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
mpc832x_mds.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc832x_rdb.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc834x_mds.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc836x_mds.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc836x_rdk.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
mpc866ads.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc885ads.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc5121.dtsi powerpc/512x: add a device tree binding for LocalPlus Bus FIFO 2015-10-22 15:20:47 +02:00
mpc5121ads.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
mpc5125twr.dts powerpc/512x: add a device tree binding for LocalPlus Bus FIFO 2015-10-22 15:20:47 +02:00
mpc5200b.dtsi powerpc/5200: Add Lite5200 on-board LEDs as devices 2013-02-11 21:24:53 +00:00
mpc7448hpc2.dts dt/bindings: remove users of device_type "mdio" 2014-01-16 16:25:56 +00:00
mpc8272ads.dts dt/bindings: remove users of device_type "mdio" 2014-01-16 16:25:56 +00:00
mpc8308_p1m.dts dma: mpc512x: separate 'compatible' values for MPC512x and MPC8308 2014-05-02 22:36:21 +05:30
mpc8308rdb.dts dma: mpc512x: separate 'compatible' values for MPC512x and MPC8308 2014-05-02 22:36:21 +05:30
mpc8313erdb.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc8315erdb.dts powerpc: use the new LED disk activity trigger 2016-06-27 08:58:40 +02:00
mpc8349emitx.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
mpc8349emitxgp.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc8377_mds.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc8377_rdb.dts powerpc: use the new LED disk activity trigger 2016-06-27 08:58:40 +02:00
mpc8377_wlan.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc8378_mds.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc8378_rdb.dts powerpc: use the new LED disk activity trigger 2016-06-27 08:58:40 +02:00
mpc8379_mds.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
mpc8379_rdb.dts powerpc: use the new LED disk activity trigger 2016-06-27 08:58:40 +02:00
mpc8610_hpcd.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mucmc52.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
mvme5100.dts powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100 2014-01-09 17:52:20 -06:00
o2d.dts powerpc/mpc5200: add dts files for ifm camera machines 2012-09-14 10:10:01 +02:00
o2d.dtsi powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
o2d300.dts powerpc/mpc5200: add dts files for ifm camera machines 2012-09-14 10:10:01 +02:00
o2dnt2.dts powerpc/mpc5200: add dts files for ifm camera machines 2012-09-14 10:10:01 +02:00
o2i.dts powerpc/mpc5200: add dts files for ifm camera machines 2012-09-14 10:10:01 +02:00
o2mnt.dts powerpc/mpc5200: add dts files for ifm camera machines 2012-09-14 10:10:01 +02:00
o3dnt.dts powerpc/mpc5200: add dts files for ifm camera machines 2012-09-14 10:10:01 +02:00
obs600.dts powerpc: Add support for OpenBlockS 600 2011-12-08 14:22:52 +11:00
pcm030.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
pcm032.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
pdm360ng.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
pq2fads.dts dt/bindings: remove users of device_type "mdio" 2014-01-16 16:25:56 +00:00
ps3.dts
rainier.dts
redwood.dts powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
sam440ep.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
sbc8349.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
sbc8548-altflash.dts powerpc/85xx: add alternate dts file for sbc8548 boot via SODIMM 2013-02-13 07:49:00 -06:00
sbc8548-post.dtsi dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
sbc8548-pre.dtsi powerpc/85xx: split sbc8548 dts file into pre and post chunks 2013-02-13 07:48:58 -06:00
sbc8548.dts powerpc/85xx: update sbc8548 flash information to match recent u-boot 2013-02-13 07:48:59 -06:00
sequoia.dts ppc4xx: Add crypto and RNG entries to Sequoia DTS 2011-06-28 07:41:09 -04:00
socrates.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
storcenter.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
stx_gp3_8560.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
stxssa8555.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
taishan.dts powerpc/44x: Use correct phy-address dt nodes on taishan.dts 2011-07-12 09:35:58 -04:00
tqm8xx.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
tqm5200.dts
tqm8540.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
tqm8541.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
tqm8548-bigflash.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
tqm8548.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
tqm8555.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
tqm8560.dts dt/bindings: Remove all references to device_type "ethernet-phy" 2014-01-16 11:11:51 +00:00
uc101.dts powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files 2013-02-11 21:48:09 +00:00
virtex440-ml507.dts powerpc/dts/virtex440: Declare address/size-cells for phy device 2013-12-02 14:06:57 +11:00
virtex440-ml510.dts
walnut.dts
warp.dts powerpc/44x: Increase warp SD buffer 2009-12-11 09:52:26 -05:00
wii.dts powerpc: wii: device tree 2009-12-12 22:24:29 -07:00
xcalibur1501.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
xpedite5200.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
xpedite5200_xmon.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
xpedite5301.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
xpedite5330.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
xpedite5370.dts powerpc/dts: fix STMicroelectronics compatible strings 2016-07-22 14:53:05 -05:00
yosemite.dts powerpc/44x: Add NOR flash device to Yosemite dts 2011-08-11 13:50:42 -04:00