mirror_ubuntu-kernels/arch/mips/boot/dts/mscc
Vladimir Oltean 0181f6f19c MIPS: mscc: ocelot: disable all switch ports by default
The ocelot switch driver used to ignore ports which do not have a
phy-handle property and not probe those, but this is not quite ok since
it is valid to not have a phy-handle property if there is a fixed-link.

It seems that checking for a phy-handle was a proxy for the proper check
which is for the status, but that doesn't make a lot of sense, since the
ocelot driver already iterates using for_each_available_child_of_node
which skips the disabled ports, so I have no idea.

Anyway, a widespread pattern in device trees is for a SoC dtsi to
disable by default all hardware, and let board dts files enable what is
used. So let's do that and enable only the ports with a phy-handle in
the pcb120 and pcb123 device tree files.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-08-21 10:38:29 +02:00
..
jaguar2_common.dtsi MIPS: mscc: Add jaguar2 support 2020-11-12 23:34:25 +01:00
jaguar2_pcb110.dts MIPS: mscc: Add jaguar2 support 2020-11-12 23:34:25 +01:00
jaguar2_pcb111.dts MIPS: mscc: Add jaguar2 support 2020-11-12 23:34:25 +01:00
jaguar2_pcb118.dts MIPS: mscc: Add jaguar2 support 2020-11-12 23:34:25 +01:00
jaguar2.dtsi MIPS: mscc: Add jaguar2 support 2020-11-12 23:34:25 +01:00
luton_pcb091.dts MIPS: mscc: Add luton PC0B91 device tree 2020-11-12 23:33:42 +01:00
luton.dtsi MIPS: mscc: Add luton dtsi 2020-11-12 23:32:39 +01:00
Makefile MIPS: mscc: Add serval support 2020-11-12 23:35:15 +01:00
ocelot_pcb120.dts MIPS: mscc: ocelot: disable all switch ports by default 2021-08-21 10:38:29 +02:00
ocelot_pcb123.dts MIPS: mscc: ocelot: disable all switch ports by default 2021-08-21 10:38:29 +02:00
ocelot.dtsi MIPS: mscc: ocelot: disable all switch ports by default 2021-08-21 10:38:29 +02:00
serval_common.dtsi MIPS: mscc: Add serval support 2020-11-12 23:35:15 +01:00
serval_pcb105.dts MIPS: mscc: Add serval support 2020-11-12 23:35:15 +01:00
serval_pcb106.dts MIPS: mscc: Add serval support 2020-11-12 23:35:15 +01:00
serval.dtsi MIPS: mscc: Add serval support 2020-11-12 23:35:15 +01:00