1 From c862059875cffc013ee27bf9759ac288224e7a14 Mon Sep 17 00:00:00 2001
2 From: Vivek Unune <npcomplete13@gmail.com>
3 Date: Wed, 4 Nov 2020 15:29:52 -0500
4 Subject: [PATCH] ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl
6 Now that we have a pin controller, use that instead of manuplating the
7 mdio/mdc pins directly. i.e. we no longer require the mdio-mii-mux
9 Signed-off-by: Vivek Unune <npcomplete13@gmail.com>
10 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12 .../boot/dts/bcm47094-linksys-panamera.dts | 26 +++----------------
13 1 file changed, 4 insertions(+), 22 deletions(-)
15 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
16 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
22 - #address-cells = <1>;
24 + mdio-bus-mux@18003000 {
26 /* BIT(9) = 1 => external mdio */
27 - mdio_ext: mdio@200 {
36 - compatible = "mdio-mux-mmioreg";
37 - mdio-parent-bus = <&mdio_ext>;
38 - #address-cells = <1>;
40 - reg = <0x1800c1c0 0x4>;
42 - /* BIT(6) = mdc, BIT(7) = mdio */
46 - /* Enable MII function */
48 - #address-cells = <1>;
52 compatible = "brcm,bcm53125";
54 reset-names = "robo_reset";
57 + pinctrl-names = "default";
58 + pinctrl-0 = <&pinmux_mdio>;