mediatek: dts: mt7988a: wire-up mediatek,pio for PHY LEDs
authorDaniel Golle <daniel@makrotopia.org>
Sat, 8 Jul 2023 15:27:25 +0000 (16:27 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 8 Jul 2023 15:36:49 +0000 (16:36 +0100)
commit1f1e0b1144ebaa4ba8b948a12d989a0a6fc9b76f
treecd3ee1a4f63ddc5421041ac04cf76a56ca24c9d0
parent3a2e7c30d3e6a187ba1df740cdb24c8ad84dfe48
mediatek: dts: mt7988a: wire-up mediatek,pio for PHY LEDs

The PHY driver needs to read a register containing the values of the
bootstrap pins (which happen to be the PHY LEDs) to determine the LED
polarities. Allow regmap access to first pinctrl bank by adding the
'syscon' compatible, and reference the pinctrl in the MDIO bus where
the PHY driver will look for it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nand.dts
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
target/linux/mediatek/files-6.1/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nand.dts
target/linux/mediatek/files-6.1/arch/arm64/boot/dts/mediatek/mt7988a.dtsi