model = "AVM FRITZ!Box 7360 V2";
};
-&state_default {
- pcie-rst {
- lantiq,pins = "io21";
- lantiq,pull = <0>;
- lantiq,output = <1>;
+&gpio {
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinmux {
+ pcie-rst {
+ lantiq,pins = "io21";
+ lantiq,pull = <0>;
+ lantiq,output = <1>;
+ };
+
+ phy-rst {
+ lantiq,pins = "io37", "io44";
+ lantiq,pull = <0>;
+ lantiq,open-drain;
+ lantiq,output = <1>;
+ };
};
};
mac-address-increment = <(-2)>;
};
+&phy0 {
+ reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
+};
+
+&phy1 {
+ reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+};
+
&urlader {
compatible = "nvmem-cells";
#address-cells = <1>;
model = "AVM FRITZ!Box 7360 SL";
};
-&state_default {
- pcie-rst {
- lantiq,pins = "io38";
- lantiq,pull = <0>;
- lantiq,output = <1>;
+&gpio {
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinmux {
+ pcie-rst {
+ lantiq,pins = "io21";
+ lantiq,pull = <0>;
+ lantiq,output = <1>;
+ };
+
+ phy-rst {
+ lantiq,pins = "io37", "io44";
+ lantiq,pull = <0>;
+ lantiq,open-drain;
+ lantiq,output = <1>;
+ };
};
+
};
&localbus {
mac-address-increment = <(-2)>;
};
+&phy0 {
+ reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
+};
+
+&phy1 {
+ reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+};
+
&urlader {
compatible = "nvmem-cells";
#address-cells = <1>;
model = "AVM FRITZ!Box 7362 SL";
};
-&state_default {
- pcie-rst {
- lantiq,pins = "io21";
- lantiq,open-drain = <1>;
- lantiq,output = <1>;
+&gpio {
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinmux {
+ pcie-rst {
+ lantiq,pins = "io21";
+ lantiq,pull = <0>;
+ lantiq,output = <1>;
+ };
+
+ phy-rst {
+ lantiq,pins = "io44", "io45";
+ lantiq,pull = <0>;
+ lantiq,open-drain;
+ lantiq,output = <1>;
+ };
};
+
};
&spi {
mac-address-increment = <(-2)>;
};
+&phy0 {
+ reset-gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
+};
+
+&phy1 {
+ reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+};
+
&urlader {
compatible = "nvmem-cells";
#address-cells = <1>;
lantiq,gphy-mode = <GPHY_MODE_GE>;
};
-&gpio {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: pinmux {
- phy-rst {
- lantiq,pins = "io37", "io44";
- lantiq,pull = <0>;
- lantiq,open-drain;
- lantiq,output = <1>;
- };
- };
-
-};
-
&gswip {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
&gswip_mdio {
phy0: ethernet-phy@0 {
reg = <0x00>;
- reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
phy1: ethernet-phy@1 {
reg = <0x01>;
- reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
phy11: ethernet-phy@11 {