|
@@ -98,9 +98,20 @@
|
|
|
|
|
|
|
|
&gsw {
|
|
&gsw {
|
|
|
phy-mode = "mii";
|
|
phy-mode = "mii";
|
|
|
|
|
+ phy-handle = <&phy0>;
|
|
|
nvmem-cells = <&macaddr_ath9k_cal_a91>;
|
|
nvmem-cells = <&macaddr_ath9k_cal_a91>;
|
|
|
nvmem-cell-names = "mac-address";
|
|
nvmem-cell-names = "mac-address";
|
|
|
mac-address-increment = <(-2)>;
|
|
mac-address-increment = <(-2)>;
|
|
|
|
|
+
|
|
|
|
|
+ mdio-bus {
|
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
|
+ #size-cells = <0>;
|
|
|
|
|
+
|
|
|
|
|
+ phy0: ethernet-phy@0 {
|
|
|
|
|
+ reg = <0>;
|
|
|
|
|
+ reset-gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
|
|
|
|
|
+ };
|
|
|
|
|
+ };
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
&gpio {
|
|
&gpio {
|
|
@@ -108,6 +119,12 @@
|
|
|
pinctrl-0 = <&state_default>;
|
|
pinctrl-0 = <&state_default>;
|
|
|
|
|
|
|
|
state_default: pinmux {
|
|
state_default: pinmux {
|
|
|
|
|
+ phy-rst {
|
|
|
|
|
+ lantiq,pins = "io36";
|
|
|
|
|
+ lantiq,pull = <0>;
|
|
|
|
|
+ lantiq,open-drain;
|
|
|
|
|
+ lantiq,output = <1>;
|
|
|
|
|
+ };
|
|
|
usb0_vbus {
|
|
usb0_vbus {
|
|
|
lantiq,pins = "io50";
|
|
lantiq,pins = "io50";
|
|
|
lantiq,pull = <0>;
|
|
lantiq,pull = <0>;
|