ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk", "wdt";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
ralink,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-2)>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
&pcie {
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "ephy", "spi refclk", "mdio", "wdt", "nd_sd";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
ralink,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-2)>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
&pcie {
#sound-dai-cells = <0>;
status = "okay";
pinctrl-names = "default";
- pinctrl-0 = <&wm8960_mclk_pins>;
+ pinctrl-0 = <&mdio_refclk_pins>;
};
&spi0 {
ralink,group = "uartf";
ralink,function = "gpio i2s";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
-
- wm8960_mclk_pins: wm8960_mclk {
- wm8960_mclk {
- ralink,group = "mdio";
- ralink,function = "refclk";
- };
- };
};
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
-
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
-
- rgmii {
- ralink,group = "rgmii";
- ralink,function = "rgmii";
- };
-
- mdio {
- ralink,group = "mdio";
- ralink,function = "mdio";
- };
};
};
ðernet {
mtd-mac-address = <&factory 0x28>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins &mdio_pins>;
};
&esw {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
-
- rgmii {
- ralink,group = "rgmii";
- ralink,function = "rgmii";
- };
-
- mdio {
- ralink,group = "mdio";
- ralink,function = "mdio";
- };
};
};
ðernet {
mtd-mac-address = <&factory 0x4>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins &mdio_pins>;
};
&esw {
ralink,function = "gpio";
};
};
-
- i2s_pins: i2s {
- i2s {
- ralink,group = "i2s";
- ralink,function = "i2s";
- };
- };
-
- wm8960_mclk_pins: wm8960_mclk {
- wm8960_mclk {
- ralink,group = "refclk";
- ralink,function = "refclk";
- };
- };
};
&gpio1 {
#sound-dai-cells = <0>;
status = "okay";
pinctrl-names = "default";
- pinctrl-0 = <&i2s_pins>, <&wm8960_mclk_pins>;
+ pinctrl-0 = <&i2s_pins>, <&refclk_pins>;
};
&sdhci {
&wmac {
ralink,mtd-eeprom = <&factory 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
&pcie {
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
&pcie {
ralink,group = "i2c", "rgmii1";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};
+
+&wmac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
+};
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
};
&uart {
- compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
- reg = <0x500 0x100>;
- resets = <&rstctrl 12>;
- reset-names = "uart";
- interrupt-parent = <&intc>;
- interrupts = <5>;
- reg-shift = <2>;
- pinctrl-names = "default";
- pinctrl-0 = <&uartf_pins>;
status = "okay";
-};
-
-&uartlite {
- compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
- reg = <0xc00 0x100>;
- resets = <&rstctrl 19>;
- reset-names = "uartl";
- interrupt-parent = <&intc>;
- interrupts = <12>;
- reg-shift = <2>;
pinctrl-names = "default";
- pinctrl-0 = <&uartlite_pins>;
+ pinctrl-0 = <&uartf_pins>;
};
&pinctrl {
ralink,function = "gpio";
};
};
-
- uartf_gpio_pins: uartf_gpio {
- uartf_gpio {
- ralink,group = "uartf";
- ralink,function = "uartf";
- };
- };
-
- uartlite_pins: uartlite {
- uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
- };
- };
};
ðernet {
ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
ralink,function = "gpio";
};
- rgmii {
- ralink,group = "rgmii";
- ralink,function = "rgmii";
- };
};
};
ðernet {
mtd-mac-address = <&factory 0x4>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
};
&esw {
&wmac {
ralink,mtd-eeprom = <&factory 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
&pinctrl {
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
};
&pcie {
ralink,group = "wled", "i2c", "uartf", "wdt";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
};
ðernet {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "llllw";
};
&pinctrl {
state_default: pinctrl0 {
- ephy {
- ralink,group = "ephy";
- ralink,function = "ephy";
- };
-
default {
ralink,group = "i2c", "uartf", "spi refclk", "wled";
ralink,function = "gpio";