mirror_ubuntu-kernels/arch/mips/boot/dts
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
..
brcm mips: bmips: bcm63268: populate device tree nodes 2021-04-06 14:31:55 +02:00
cavium-octeon treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
img MIPS: Retire MACH_PISTACHIO 2021-08-12 16:01:50 +02:00
ingenic MIPS: CI20: Add second percpu timer for SMP. 2021-06-30 14:37:16 +02:00
lantiq MIPS: dts: Change upper case to lower case 2018-10-15 23:11:15 -07:00
loongson - added support for OpeneEmbed SOM9331 board 2021-07-01 17:03:11 -07:00
mscc MIPS: mscc: ocelot: disable all switch ports by default 2021-08-21 10:38:29 +02:00
mti MIPS: SEAD3: Correct Ethernet node name 2021-05-27 12:33:42 +02:00
netlogic MIPS: dts: Avoid unneeded built-in.a in DTS dirs 2018-04-23 16:38:53 +01:00
ni treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pic32 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
qca MIPS: ath79: ar9331: add pause property for the MAC <> switch link 2021-05-27 12:34:58 +02:00
ralink mips: dts: ralink: mt7628a: Harmonize EHCI/OHCI DT nodes name 2020-11-12 23:18:58 +01:00
realtek mips: dts: Add support for Cisco SG220-26 switch 2021-02-04 21:54:20 +01:00
xilfpga MIPS: Use lower case for addresses in nexys4ddr.dts 2019-02-04 11:55:49 -08:00
Makefile MIPS: Retire MACH_PISTACHIO 2021-08-12 16:01:50 +02:00