arm64: dts: ls1028a-qds: add overlays for various serdes protocols
authorAlex Marginean <alexandru.marginean@nxp.com>
Tue, 14 Dec 2021 09:32:40 +0000 (03:32 -0600)
committerShawn Guo <shawnguo@kernel.org>
Thu, 16 Dec 2021 09:58:01 +0000 (17:58 +0800)
commite426d63e752bdbe7d5ba2d872319dde9ab844a07
tree469afc83cea01e226e571a4d196100dc353c127a
parent52b98481171eee3fa5abbedd57f9e64cbfb727e1
arm64: dts: ls1028a-qds: add overlays for various serdes protocols

Add overlays for various serdes protocols on LS1028A QDS board using
different PHY cards.  These should be applied at boot, based on serdes
configuration.  If no overlay is applied, only the RGMII interface on
the QDS is available in Linux.

Building device tree fragments requires passing the "-@" argument to
dtc, which increases the base dtb size and might cause some platforms to
fail to store the new binary. To avoid that, it would be nice to only
pass "-@" for the platforms where fragments will be used, aka
LS1028A-QDS. One approach suggested by Rob Herring is used here:

https://lore.kernel.org/patchwork/patch/821645/

Also moved the enet* override nodes in dts file to be in alphabetic order.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi