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>
Thu, 13 Jul 2023 11:05:28 +0000 (12:05 +0100)
commit0af05cd32a69b2e92f11e9b8307a1537c7406d34
tree15e0f59fb2c533461e627e2e456330025906b12a
parentcf81850ccea9cce9ae64e638d49bf75838e518d9
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>
(cherry picked from commit 1f1e0b1144ebaa4ba8b948a12d989a0a6fc9b76f)
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