diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-07-08 11:40:25 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-22 01:24:23 +0100 |
commit | b3bdfd5df55b104f3affea116a3c54075ea6549c (patch) | |
tree | 4585b02c6fcef7c201d635748c7fc688c87fe96f /target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi | |
parent | 8ea7aa5380aba4301bd1804e326534c28249bb24 (diff) | |
download | upstream-b3bdfd5df55b104f3affea116a3c54075ea6549c.tar.gz upstream-b3bdfd5df55b104f3affea116a3c54075ea6549c.tar.bz2 upstream-b3bdfd5df55b104f3affea116a3c54075ea6549c.zip |
lantiq: dts: assign the MDIO pins to the gsw node
Assign the MDIO pins to the switch node instead of using pin hogging
(where pins are assigned to the pin controller).
This is the preferred way of assigning pins upstream.
This converts amazonse, ar9 and vr9. danube is skipped because the pin
controller doesn't define a pinmux for the MDIO pins (some of the SoC
pads may be hardwired to the MDIO pins instead of being configurable).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi index 37b44aecdd..3244908e32 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi @@ -168,6 +168,13 @@ #gpio-cells = <2>; gpio-controller; reg = <0xe100b10 0xa0>; + + mdio_pins: mdio { + mux { + lantiq,groups = "mdio"; + lantiq,function = "mdio"; + }; + }; }; stp: stp@e100bb0 { @@ -238,6 +245,8 @@ interrupt-parent = <&icu0>; interrupts = <73 72>; mac-address = [ 00 11 22 33 44 55 ]; + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; }; ppe@e234000 { |