You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Use of_mdiobus_register() to pass the ethernet phy node to the phy drivers. This is needed for the at8030 phy driver which needs to know the GPIO which is connected to the ar8030 reset pin. This driver expects a child in gsw/etop node named "mdio-bus", which has the ethernet phys defined: &gsw { phy-mode = "rmii"; phy-handle = <&phy0>; mtd-mac-address = <&ath9k_cal 0xa91>; mtd-mac-address-increment = <(-2)>; mdio-bus { #address-cells = <1>; #size-cells = <0>; reg = <0>; phy0: ethernet-phy@0 { reg = <0>; reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>; }; }; }; Fallback to mdiobus_register() if no mdio-bus child node exists. This way we don't need to touch all xway dts files, for which we don't know the actual address on the mdio bus. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de> |
6 years ago | |
---|---|---|
.. | ||
ase | 6 years ago | |
base-files | 6 years ago | |
falcon | 6 years ago | |
files/firmware/lantiq | 6 years ago | |
files-4.14/arch/mips/boot/dts | 6 years ago | |
image | 6 years ago | |
patches-4.14 | 6 years ago | |
xrx200 | 6 years ago | |
xway | 6 years ago | |
xway_legacy | 6 years ago | |
Makefile | 6 years ago | |
config-4.14 | 6 years ago | |
modules.mk | 12 years ago |