ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl
Now that we have a pin controller, use that instead of manuplating the mdio/mdc pins directly. i.e. we no longer require the mdio-mii-mux Signed-off-by: Vivek Unune <npcomplete13@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
committed by
Florian Fainelli
parent
2f34ae32f5
commit
c862059875
@ -123,33 +123,13 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mdio-bus-mux {
|
mdio-bus-mux@18003000 {
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
/* BIT(9) = 1 => external mdio */
|
/* BIT(9) = 1 => external mdio */
|
||||||
mdio_ext: mdio@200 {
|
mdio@200 {
|
||||||
reg = <0x200>;
|
reg = <0x200>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mdio-mii-mux {
|
|
||||||
compatible = "mdio-mux-mmioreg";
|
|
||||||
mdio-parent-bus = <&mdio_ext>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
reg = <0x1800c1c0 0x4>;
|
|
||||||
|
|
||||||
/* BIT(6) = mdc, BIT(7) = mdio */
|
|
||||||
mux-mask = <0xc0>;
|
|
||||||
|
|
||||||
mdio-mii@0 {
|
|
||||||
/* Enable MII function */
|
|
||||||
reg = <0x0>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
switch@0 {
|
switch@0 {
|
||||||
compatible = "brcm,bcm53125";
|
compatible = "brcm,bcm53125";
|
||||||
@ -159,6 +139,8 @@
|
|||||||
reset-names = "robo_reset";
|
reset-names = "robo_reset";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
dsa,member = <1 0>;
|
dsa,member = <1 0>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinmux_mdio>;
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
Reference in New Issue
Block a user