pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
pcie-rst {
lantiq,pins = "io21";
lantiq,pull = <0>;
lantiq,gphy-mode = <GPHY_MODE_FE>;
};
-&gpio {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
- };
-};
-
&localbus {
flash@0 {
compatible = "lantiq,nor";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
pci_rst {
lantiq,pins = "io21";
lantiq,output = <1>;
};
&gpio {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
- };
-
pins_spi_default: pins_spi_default {
spi_in {
lantiq,groups = "spi_di";
"nand rd", "nand rdy";
lantiq,function = "ebu";
};
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
pci {
lantiq,groups = "gnt1", "req1";
lantiq,function = "pci";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
-
nand {
lantiq,groups = "nand cle", "nand ale",
"nand rd", "nand cs1", "nand rdy";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
-
phy-rst {
lantiq,pins = "io37", "io44";
lantiq,pull = <0>;
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
pcie-rst {
lantiq,pins = "io11";
lantiq,open-drain = <1>;
lantiq,open-drain;
lantiq,pull = <0>;
};
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
};
usb_vbus: regulator-usb-vbus {
lantiq,groups = "exin3";
lantiq,function = "exin";
};
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
gphy-leds {
lantiq,groups = "gphy0 led1", "gphy1 led1",
"gphy0 led2", "gphy1 led2";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
gphy-leds {
lantiq,groups = "gphy0 led1", "gphy1 led1";
lantiq,function = "gphy";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
gphy-leds {
lantiq,groups = "gphy0 led0", "gphy0 led1",
"gphy0 led2", "gphy1 led0",
lantiq,pull = <2>;
lantiq,output = <1>;
};
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
pci-rst {
lantiq,pins = "io21";
lantiq,open-drain = <0>;
lantiq,output = <1>;
lantiq,pull = <0>;
};
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
pci-rst {
lantiq,pins = "io21";
lantiq,open-drain = <0>;
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
gphy-leds {
lantiq,groups = "gphy0 led1", "gphy1 led1";
lantiq,function = "gphy";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- mdio {
- lantiq,groups = "mdio";
- lantiq,function = "mdio";
- };
phy-rst {
lantiq,pins = "io42";
lantiq,pull = <0>;
#gpio-cells = <2>;
gpio-controller;
reg = <0xe100b10 0xa0>;
+
+ mdio_pins: mdio {
+ mux {
+ lantiq,groups = "mdio";
+ lantiq,function = "mdio";
+ };
+ };
};
asc1: serial@e100c00 {
reg = <0xe180000 0x40000>;
interrupt-parent = <&icu0>;
interrupts = <105 109>;
+ pinctrl-0 = <&mdio_pins>;
+ pinctrl-names = "default";
};
};
#gpio-cells = <2>;
gpio-controller;
reg = <0xe100b10 0xa0>;
+
+ mdio_pins: mdio {
+ mux {
+ lantiq,groups = "mdio";
+ lantiq,function = "mdio";
+ };
+ };
};
stp: stp@e100bb0 {
interrupt-parent = <&icu0>;
interrupts = <73 72>;
mac-address = [ 00 11 22 33 44 55 ];
+ pinctrl-0 = <&mdio_pins>;
+ pinctrl-names = "default";
};
ppe@e234000 {
#gpio-cells = <2>;
gpio-controller;
reg = <0xe100b10 0xa0>;
+
+ mdio_pins: mdio {
+ mux {
+ lantiq,groups = "mdio";
+ lantiq,function = "mdio";
+ };
+ };
};
stp: stp@e100bb0 {
resets = <&reset0 21 16>, <&reset0 8 8>;
reset-names = "switch", "ppe";
lantiq,phys = <&gphy0>, <&gphy1>;
+ pinctrl-0 = <&mdio_pins>;
+ pinctrl-names = "default";
};
mei@e116000 {