ralink: add pinctrl driver

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38026 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2013-09-17 21:45:44 +00:00
parent a01168134e
commit 88f6536f5b
96 changed files with 2100 additions and 1608 deletions

View File

@ -6,17 +6,13 @@
compatible = "3G-6200N", "ralink,rt3050-soc";
model = "Edimax 3g-6200n";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -58,12 +54,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -100,10 +91,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,17 +6,13 @@
compatible = "3G-6200N", "ralink,rt3050-soc";
model = "Edimax 3g-6200n";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -58,12 +54,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -87,10 +78,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,17 +7,6 @@
model = "Tenda 3G300M";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,6 +43,15 @@
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
gpio-leds {
compatible = "gpio-leds";
3grouter {
@ -99,19 +97,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,12 +7,6 @@
model = "AirLive Air3GII";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -53,12 +47,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -85,8 +83,4 @@
linux,code = <0x211>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,18 +6,13 @@
compatible = "ALL0239-3G", "ralink,rt3052-soc";
model = "Allnet ALL0239-3G";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -53,10 +48,6 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
@ -104,10 +95,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,12 +7,6 @@
model = "Allnet ALL0256N";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -53,12 +47,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
@ -89,8 +87,4 @@
linux,code = <0x198>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -7,12 +7,6 @@
model = "Allnet ALL0256N";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -53,12 +47,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
@ -89,8 +87,4 @@
linux,code = <0x198>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -7,13 +7,6 @@
model = "Allnet ALL5002";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,gpiomux = "i2c";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -54,19 +47,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -7,13 +7,6 @@
model = "Allnet ALL5003";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,gpiomux = "i2c";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -54,19 +47,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -6,17 +6,13 @@
compatible = "ARGUS_ATP52B", "ralink,rt3052-soc";
model = "Argus ATP-52B";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -79,19 +75,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,13 +7,6 @@
model = "Alpha ASL26555";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "mdio", "uartlite", "sdram", "rgmii";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -66,19 +59,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x1e>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,13 +7,6 @@
model = "Alpha ASL26555";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "mdio", "uartlite", "sdram", "rgmii";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
@ -61,19 +54,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x1e>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -5,7 +5,6 @@
model = "AsiaRF AWM002";
palmbus@10000000 {
spi@b00 {
m25p80@0 {
compatible = "mx25l3205d";

View File

@ -5,7 +5,6 @@
model = "AsiaRF AWM002";
palmbus@10000000 {
spi@b00 {
m25p80@0 {
compatible = "mx25l6405d";

View File

@ -5,17 +5,6 @@
model = "AsiaRF AWM002";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,gpiomux = "i2c";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -50,19 +39,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -6,18 +6,13 @@
compatible = "BC2", "ralink,rt3052-soc";
model = "NexAira BC2";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -73,19 +68,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,17 +6,13 @@
compatible = "BR-6425", "ralink,rt3052-soc";
model = "Edimax BR-6425";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -29,12 +25,7 @@
#size-cells = <1>;
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -66,8 +57,4 @@
linux,code = <0xf7>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,17 +6,13 @@
compatible = "BROADWAY", "ralink,rt3052-soc";
model = "Hauppauge Broadway";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -85,10 +76,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -10,18 +10,13 @@
bootargs = "console=ttyS0,115200";
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite", "sdram", "rgmii";
ralink,gpiomux = "i2c", "spi", "jtag", "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -57,19 +52,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,18 +6,13 @@
compatible = "D105", "ralink,rt3050-soc";
model = "Huawei D105";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -77,19 +72,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -10,17 +10,13 @@
bootargs = "console=ttyS0,115200";
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -62,12 +58,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -114,10 +105,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,17 +6,13 @@
compatible = "DIR-300-B1", "ralink,rt3050-soc";
model = "D-Link DIR-300 B1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -78,10 +69,6 @@
};
};
wmac@10180000 {
status = "okay";
};
gpio-leds {
compatible = "gpio-leds";
status {

View File

@ -6,15 +6,12 @@
compatible = "DIR-600-B1", "ralink,rt3050-soc";
model = "D-Link DIR-600 B1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
ralink,function = "gpio";
};
};
};
@ -51,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -77,10 +69,6 @@
};
};
wmac@10180000 {
status = "okay";
};
gpio-leds {
compatible = "gpio-leds";
status {

View File

@ -6,15 +6,12 @@
compatible = "DIR-600-B2", "ralink,rt3050-soc";
model = "D-Link DIR-600 B2";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
ralink,function = "gpio";
};
};
};
@ -51,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -77,10 +69,6 @@
};
};
wmac@10180000 {
status = "okay";
};
gpio-leds {
compatible = "gpio-leds";
status {

View File

@ -7,16 +7,6 @@
model = "D-Link DIR-610 A1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "jtag", "uartlite", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,14 +43,21 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x1f>;
ralink,led-polarity = <0>;
pinctrl-names = "default";
pinctrl-0 = <&phy_led_pins>;
};
gpio-leds {
@ -93,8 +90,4 @@
};
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,17 +6,13 @@
compatible = "DIR-615-D", "ralink,rt3050-soc";
model = "D-Link DIR-615 D";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -78,10 +69,6 @@
};
};
wmac@10180000 {
status = "okay";
};
gpio-leds {
compatible = "gpio-leds";
status {

View File

@ -7,16 +7,6 @@
model = "D-Link DIR-615 H1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,12 +43,24 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -102,8 +104,4 @@
linux,code = <0x211>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,17 +6,13 @@
compatible = "DIR-620-A1", "ralink,rt3050-soc";
model = "D-Link DIR-620 A1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -78,10 +69,6 @@
};
};
wmac@10180000 {
status = "okay";
};
gpio-leds {
compatible = "gpio-leds";
status {

View File

@ -7,17 +7,6 @@
model = "D-Link DIR-620 D1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,12 +43,24 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -87,10 +88,6 @@
};
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -7,21 +7,6 @@
model = "D-Link DIR-645";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite", "spi";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
timer@100 {
status = "okay";
};
gpio0: gpio@600 {
status = "okay";
};
gpio1: gpio@638 {
status = "okay";
};
@ -68,18 +53,23 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
port@0 {
ralink,fixed-link = <1000 1 1 0>;
};
};
wmac@10180000 {
status = "okay";
ralink,5ghz = <0>;
};

View File

@ -7,17 +7,6 @@
model = "D-Link DIR-810L";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "ephy";
ralink,gpiomux = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "wled";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
@ -79,13 +68,20 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "wled", "uartf";
ralink,function = "gpio";
};
};
};
gsw@10110000 {
status = "okay";
ralink,port4 = "ephy";
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
};
pcie@10140000 {

View File

@ -6,17 +6,13 @@
compatible = "ESR-9753", "ralink,rt3052-soc";
model = "Senao / EnGenius ESR-9753";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -81,16 +77,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -9,18 +9,20 @@
model = "Belkin F5D8235 v1";
palmbus@300000 {
sysc@0 {
ralink,pinmux = "uartlite";
ralink,gpiomux = "i2c";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;

View File

@ -6,18 +6,13 @@
compatible = "F5D8235_V2", "ralink,rt3052-soc";
model = "Belkin F5D8235 v2";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "i2c", "spi", "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -51,19 +46,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,16 +7,6 @@
model = "Belkin F7C027";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "jtag", "sdram";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -78,9 +68,13 @@
};
};
wmac@10180000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
gpio-leds {

View File

@ -6,17 +6,13 @@
compatible = "FONERA20N", "ralink,rt3052-soc";
model = "La Fonera 2.0N";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -85,12 +81,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
port@0 {
@ -120,10 +111,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -10,15 +10,12 @@
bootargs = "console=ttyS0,115200";
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -55,19 +52,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x01>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,15 +6,12 @@
compatible = "HG255D", "ralink,rt3052-soc";
model = "HuaWei HG255D";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -107,19 +104,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,18 +6,13 @@
compatible = "HW550-3G", "ralink,rt3052-soc";
model = "Aztech HW550-3G";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -53,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -104,10 +94,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,18 +6,13 @@
compatible = "IP2202", "ralink,rt3052-soc";
model = "Poray IP2202";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -53,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -86,11 +76,6 @@
};
};
wmac@10180000 {
status = "okay";
ralink,led-polarity = <0>;
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,17 +7,6 @@
model = "Poray M3";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
ralink,led_polarity = <1>;
};
@ -91,7 +84,6 @@
};
wmac@10180000 {
status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};

View File

@ -7,16 +7,6 @@
model = "Poray M4";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
ralink,led_polarity = <1>;
};
@ -83,12 +77,6 @@
};
};
wmac@10180000 {
status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};
ehci@101c0000 {
status = "okay";
};

View File

@ -7,16 +7,6 @@
model = "Poray M4";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
ralink,led_polarity = <1>;
};
@ -84,7 +78,6 @@
};
wmac@10180000 {
status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};

View File

@ -6,18 +6,13 @@
compatible = "MOFI3500-3GN", "ralink,rt3052-soc";
model = "MoFi Network MOFI3500-3GN";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -53,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};

View File

@ -7,17 +7,6 @@
model = "HAME MPR-A1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "sdram";
ralink,gpiomux = "jtag", "i2c", "mdio", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,19 +43,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -7,17 +7,6 @@
model = "HAME MPR-A2";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,19 +43,19 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -7,17 +7,6 @@
model = "Ralink MT7620a + MT7610e evaluation board";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "mdio", "wled", "ephy", "rgmii1", "rgmii2";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
@ -55,6 +44,15 @@
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "uartf";
ralink,function = "gpio";
};
};
};
ethernet@10100000 {
status = "okay";
@ -88,8 +86,10 @@
};
gsw@10110000 {
status = "okay";
ralink,port4 = "gmac";
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
};
sdhci@10130000 {

View File

@ -6,10 +6,8 @@
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
model = "Ralink MT7620A evaluation board";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "mdio", "wled", "ephy", "rgmii1", "rgmii2";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
@ -28,7 +26,7 @@
compatible = "en25q64";
reg = <0 0>;
linux,modalias = "m25p80", "en25q64";
spi-max-frequency = <10000000>;
spi-max-frequency = <1000000>;
partition@0 {
label = "u-boot";
@ -58,6 +56,9 @@
ethernet@10100000 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
};
gsw@10110000 {

View File

@ -6,16 +6,12 @@
compatible = "MZK-W300NH2", "ralink,rt3052-soc";
model = "Planex MZK-W300NH2";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "i2c", "spi", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -58,12 +54,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -104,8 +95,4 @@
linux,code = <0x100>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,15 +6,12 @@
compatible = "NBG-419N", "ralink,rt3052-soc";
model = "ZyXEL NBG-419N";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -51,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -88,8 +80,4 @@
linux,code = <0x211>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -7,17 +7,6 @@
model = "Netcore NW718";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,gpiomux = "i2c";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -96,10 +89,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -11,21 +11,6 @@
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite", "spi";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
timer@100 {
status = "okay";
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
@ -63,9 +48,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
ethernet@10100000 {
phy-handle = <&phy0>;
phy-mode = "rgmii";
@ -78,10 +70,6 @@
};
};
wmac@10180000 {
status = "okay";
};
ehci@101c0000 {
status = "okay";
};

View File

@ -6,15 +6,12 @@
compatible = "OMNI-EMB", "ralink,rt3052-soc";
model = "Omnima MiniEMBWiFi";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -75,19 +72,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -10,16 +10,12 @@
bootargs = "console=ttyS0,115200";
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "uartlite", "sdram";
ralink,gpiomux = "spi", "jtag", "mdio", "rgmii";
ralink,uartmux = "i2s uartf";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -56,12 +52,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -85,10 +76,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,17 +6,13 @@
compatible = "PWH2004", "ralink,rt3052-soc";
model = "Prolink PWH2004";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -76,16 +72,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -7,17 +7,6 @@
model = "Asus RP-N53";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "wled", "ephy", "i2c";
ralink,gpiomux = "jtag", "mdio", "rgmii1", "rgmii1";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
gpio1: gpio@638 {
status = "okay";
};
@ -63,17 +52,24 @@
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "uartf";
ralink,function = "gpio";
};
};
};
codec {
compatible = "ralink,mt7620-audio";
};
ethernet@10100000 {
status = "okay";
};
gsw@10110000 {
status = "okay";
ralink,port4 = "ephy";
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
};
pcie@10140000 {

View File

@ -7,16 +7,6 @@
model = "Asus RT-G32 B1";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -78,8 +72,4 @@
linux,code = <0x211>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,18 +6,6 @@
compatible = "RT-N10-PLUS", "ralink,rt3050-soc";
model = "Asus RT-N10+";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@ -51,12 +39,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -84,8 +67,4 @@
linux,code = <0x211>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,15 +6,12 @@
compatible = "RT-N13U", "ralink,rt3052-soc";
model = "Asus RT-N13U";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -85,19 +82,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -59,10 +59,6 @@
};
};
wmac@480000 {
status = "okay";
};
rtl8366s {
compatible = "realtek,rtl8366s";
gpio-sda = <&gpio0 1 0>;

View File

@ -7,30 +7,21 @@
model = "Asus RT-N56U";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,pcimux = "pci-fnc";
ralink,wdtmux = <0>;
};
timer@100 {
status = "okay";
};
gpio0: gpio@600 {
status = "okay";
};
gpio1: gpio@638 {
status = "okay";
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
ethernet@10100000 {
port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
@ -39,6 +30,15 @@
pci@10140000 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
host-bridge {
pci-bridge@1 {
status = "okay";
@ -47,7 +47,6 @@
};
wmac@10180000 {
status = "okay";
ralink,2ghz = <0>;
};

View File

@ -6,15 +6,12 @@
compatible = "SL-R7205", "ralink,rt3052-soc";
model = "Skyline SL-R7205 Wireless 3G Router";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -51,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -85,10 +77,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,29 +7,21 @@
model = "TRENDnet TEW-691GR";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite";
ralink,gpiomux = "i2c", "jtag";
ralink,uartmux = "gpio";
ralink,pcimux = "pci-fnc";
ralink,wdtmux = <1>;
};
timer@100 {
status = "okay";
};
gpio0: gpio@600 {
status = "okay";
};
gpio1: gpio@638 {
status = "okay";
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
ethernet@10100000 {
status = "okay";
port@0 {
phy-handle = <&phy0>;
phy-mode = "rgmii";
@ -44,7 +36,6 @@
};
wmac@10180000 {
status = "okay";
ralink,5ghz = <0>;
};

View File

@ -7,27 +7,20 @@
model = "TRENDnet TEW-692GR";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite";
ralink,gpiomux = "i2c", "jtag", "spi";
ralink,uartmux = "gpio";
ralink,pcimux = "pci-fnc";
ralink,wdtmux = <1>;
};
timer@100 {
status = "okay";
};
gpio0: gpio@600 {
status = "okay";
};
gpio1: gpio@638 {
status = "okay";
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
ethernet@10100000 {
status = "okay";
port@0 {
@ -46,6 +39,15 @@
pci@10140000 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
host-bridge {
pci-bridge@1 {
status = "okay";
@ -54,7 +56,6 @@
};
wmac@10180000 {
status = "okay";
ralink,5ghz = <0>;
};

View File

@ -6,16 +6,12 @@
compatible = "UR-326N4G", "ralink,rt3052-soc";
model = "UR-326N4G Wireless N router";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -102,10 +93,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,16 +6,12 @@
compatible = "UR-336UN", "ralink,rt3052-soc";
model = "UR-336UN Wireless N router";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -29,12 +25,7 @@
#size-cells = <1>;
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -79,10 +70,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -24,10 +24,6 @@
status = "okay";
};
wmac@480000 {
status = "okay";
};
pci@10140000 {
status = "okay";

View File

@ -6,15 +6,12 @@
compatible = "V22RW-2X2", "ralink,rt3052-soc";
model = "Ralink AP-RT3052-V22RW-2X2";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -51,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -89,10 +81,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,15 +6,12 @@
compatible = "3G300M", "ralink,rt3050-soc";
model = "Tenda 3G300M";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii", "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -96,16 +93,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -39,24 +39,16 @@
};
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -83,8 +75,4 @@
linux,code = <0x198>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -10,15 +10,12 @@
bootargs = "console=ttyS0,115200";
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -55,12 +52,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -93,10 +85,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,15 +6,12 @@
compatible = "WCR150GN", "ralink,rt3052-soc";
model = "Sparklan WCR-150GN";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -80,19 +77,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,15 +6,12 @@
compatible = "WHR-G300N", "ralink,rt3052-soc";
model = "Buffalo WHR-G300N";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -28,12 +25,7 @@
#size-cells = <1>;
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -79,8 +71,4 @@
linux,code = <0x103>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -6,18 +6,13 @@
compatible = "WL-351", "ralink,rt3052-soc";
model = "Sitecom WL-351 v1 002";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "i2c", "spi", "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
@ -53,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3f>;
ralink,fct2 = <0x0002500c>;
/*
@ -70,10 +60,6 @@
ralink,fpa2 = <0x1f003fff>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,18 +6,6 @@
compatible = "WL341V3", "ralink,rt3052-soc";
model = "Sitecom WL-341 v3";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@ -51,12 +39,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -109,10 +101,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -58,10 +58,6 @@
};
};
wmac@480000 {
status = "okay";
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;

View File

@ -7,16 +7,6 @@
model = "Asus WL-330N";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -90,8 +84,4 @@
linux,code = <0x198>;
};
};
wmac@10180000 {
status = "okay";
};
};

View File

@ -7,16 +7,6 @@
model = "Asus WL-330N3G";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -53,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -95,10 +89,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -11,17 +11,6 @@
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "spi", "uartlite", "jtag", "sdram";
ralink,gpiomux = "i2c", "mdio", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -75,16 +64,13 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
};
wmac@10180000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
gpio-leds {

View File

@ -6,16 +6,12 @@
compatible = "WR512-3GN", "ralink,rt3052-soc";
model = "WR512-3GN-like router";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -102,10 +93,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -6,16 +6,12 @@
compatible = "WR512-3GN", "ralink,rt3052-soc";
model = "WR512-3GN-like router";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
};
@ -102,10 +93,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -10,17 +10,13 @@
bootargs = "console=ttyS0,115200";
};
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
gpio0: gpio@600 {
status = "okay";
};
};
gpio-leds {
@ -85,19 +81,10 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -7,17 +7,6 @@
model = "Poray X5";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
ralink,led_polarity = <1>;
};
@ -118,7 +111,6 @@
};
wmac@10180000 {
status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};

View File

@ -7,17 +7,6 @@
model = "Poray X8";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
ralink,gpiomux = "jtag";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,12 +43,16 @@
};
};
ethernet@10100000 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
ralink,led_polarity = <1>;
};
@ -85,7 +78,6 @@
};
wmac@10180000 {
status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};

View File

@ -6,16 +6,12 @@
compatible = "XDXRN502J", "ralink,rt3052-soc";
model = "XDX RN502J";
palmbus@10000000 {
sysc@0 {
ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
ralink,gpiomux = "mdio";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 {
status = "okay";
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
@ -52,12 +48,7 @@
};
};
ethernet@10100000 {
status = "okay";
};
esw@10110000 {
status = "okay";
ralink,portmap = <0x3e>;
};
@ -85,10 +76,6 @@
};
};
wmac@10180000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};

View File

@ -110,8 +110,6 @@
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
status = "disabled";
};
gpio1: gpio@638 {
@ -163,6 +161,9 @@
#size-cells = <0>;
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&i2c_pins>;
};
i2s@a00 {
@ -189,6 +190,9 @@
#size-cells = <1>;
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>;
};
uartlite@c00 {
@ -202,6 +206,9 @@
interrupts = <12>;
reg-shift = <2>;
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
};
systick@d00 {
@ -242,6 +249,62 @@
};
};
pinctrl {
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinctrl0 {
};
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
i2c_pins: i2c {
i2c {
lantiq,group = "i2c";
lantiq,function = "i2c";
};
};
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
mdio_pins: mdio {
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
ephy_pins: ephy {
ephy {
ralink,group = "ephy";
ralink,function = "ephy";
};
};
wled_pins: wled {
wled {
ralink,group = "wled";
ralink,function = "wled";
};
};
rgmii1_pins: rgmii1 {
mdio {
ralink,group = "rgmii1";
ralink,function = "rgmii1";
};
};
rgmii2_pins: rgmii2 {
mdio {
ralink,group = "rgmii2";
ralink,function = "rgmii2";
};
};
};
rstctrl: rstctrl {
compatible = "ralink,mt7620a-reset", "ralink,rt2880-reset";
#reset-cells = <1>;
@ -264,13 +327,14 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
status = "disabled";
mdio-bus {
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
};
};
@ -280,8 +344,6 @@
interrupt-parent = <&intc>;
interrupts = <17>;
status = "disabled";
};
sdhci@10130000 {

View File

@ -110,8 +110,6 @@
interrupt-parent = <&intc>;
interrupts = <6>;
status = "disabled";
};
gpio1: gpio@638 {
@ -156,6 +154,9 @@
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>;
status = "disabled";
};
@ -170,10 +171,40 @@
interrupts = <12>;
reg-shift = <2>;
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
};
};
pinctrl {
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinctrl0 {
sdram {
ralink,group = "sdram";
ralink,function = "sdram";
};
};
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
};
rstctrl: rstctrl {
compatible = "ralink,rt3050-reset", "ralink,rt2880-reset";
#reset-cells = <1>;
@ -185,8 +216,6 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
status = "disabled";
};
esw@10110000 {
@ -195,8 +224,6 @@
interrupt-parent = <&intc>;
interrupts = <17>;
status = "disabled";
};
wmac@10180000 {
@ -207,8 +234,6 @@
interrupts = <6>;
ralink,eeprom = "soc_wmac.eeprom";
status = "disabled";
};
otg@101c0000 {

View File

@ -106,8 +106,6 @@
interrupt-parent = <&intc>;
interrupts = <6>;
status = "disabled";
};
gpio1: gpio@638 {
@ -151,6 +149,9 @@
resets = <&rstctrl 18>;
reset-names = "spi";
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>;
status = "disabled";
};
@ -165,6 +166,32 @@
interrupts = <12>;
reg-shift = <2>;
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
};
};
pinctrl {
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinctrl0 {
};
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
};
@ -179,8 +206,6 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
status = "disabled";
};
esw@10110000 {
@ -189,8 +214,6 @@
interrupt-parent = <&intc>;
interrupts = <17>;
status = "disabled";
};
wmac@10180000 {
@ -201,8 +224,6 @@
interrupts = <6>;
ralink,eeprom = "soc_wmac.eeprom";
status = "disabled";
};
ehci@101c0000 {

View File

@ -114,8 +114,6 @@
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
status = "disabled";
};
gpio1: gpio@638 {
@ -175,6 +173,9 @@
resets = <&rstctrl 18>;
reset-names = "spi";
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>;
status = "disabled";
};
@ -189,6 +190,32 @@
interrupts = <12>;
reg-shift = <2>;
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
};
};
pinctrl {
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinctrl0 {
};
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
};
@ -199,8 +226,6 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
status = "disabled";
port@0 {
compatible = "ralink,rt3883-port", "ralink,eth-port";
reg = <0>;
@ -320,8 +345,6 @@
interrupts = <6>;
ralink,eeprom = "soc_wmac.eeprom";
status = "disabled";
};
ehci@101c0000 {

View File

@ -110,8 +110,6 @@
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
status = "disabled";
};
gpio1: gpio@638 {
@ -162,6 +160,9 @@
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c_pins>;
status = "disabled";
};
@ -175,6 +176,9 @@
#address-cells = <1>;
#size-cells = <1>;
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>;
status = "disabled";
};
@ -188,6 +192,9 @@
interrupt-parent = <&intc>;
interrupts = <12>;
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
reg-shift = <2>;
};
@ -200,6 +207,41 @@
};
};
pinctrl {
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinctrl0 {
};
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
phy_led_pins: phy_led {
phy_led {
ralink,group = "led";
ralink,function = "led";
};
};
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
};
rstctrl: rstctrl {
compatible = "ralink,rt5350-reset", "ralink,rt2880-reset";
#reset-cells = <1>;
@ -218,8 +260,6 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
status = "disabled";
};
esw@10110000 {
@ -228,8 +268,6 @@
interrupt-parent = <&intc>;
interrupts = <17>;
status = "disabled";
};
wmac@10180000 {
@ -240,8 +278,6 @@
interrupts = <6>;
ralink,eeprom = "soc_wmac.eeprom";
status = "disabled";
};
ehci@101c0000 {

View File

@ -1,7 +1,6 @@
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_ARCH_HAS_RESET_CONTROLLER=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
@ -30,6 +29,7 @@ CONFIG_CPU_R4K_FPU=y
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
CONFIG_CPU_SUPPORTS_HIGHMEM=y
CONFIG_CSRC_R4K=y
CONFIG_DEBUG_PINCTRL=y
CONFIG_DMA_NONCOHERENT=y
# CONFIG_DTB_MT7620A_EVAL is not set
CONFIG_DTB_RT_NONE=y
@ -135,6 +135,11 @@ CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PERF_USE_VMALLOC=y
CONFIG_PHYLIB=y
# CONFIG_PINCONF is not set
CONFIG_PINCTRL=y
CONFIG_PINCTRL_RT2880=y
# CONFIG_PINCTRL_SINGLE is not set
CONFIG_PINMUX=y
# CONFIG_PREEMPT_RCU is not set
CONFIG_RALINK=y
CONFIG_RALINK_USBPHY=y

View File

@ -19,9 +19,11 @@ Cc: linux-gpio@vger.kernel.org
create mode 100644 arch/mips/include/asm/mach-ralink/gpio.h
create mode 100644 drivers/gpio/gpio-ralink.c
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -444,6 +444,7 @@ config RALINK
Index: linux-3.10.9/arch/mips/Kconfig
===================================================================
--- linux-3.10.9.orig/arch/mips/Kconfig 2013-08-26 17:48:27.481164281 +0200
+++ linux-3.10.9/arch/mips/Kconfig 2013-08-27 23:15:40.751965869 +0200
@@ -444,6 +444,7 @@
select SYS_HAS_EARLY_PRINTK
select HAVE_MACH_CLKDEV
select CLKDEV_LOOKUP
@ -29,8 +31,10 @@ Cc: linux-gpio@vger.kernel.org
config SGI_IP22
bool "SGI IP22 (Indy/Indigo2)"
--- /dev/null
+++ b/arch/mips/include/asm/mach-ralink/gpio.h
Index: linux-3.10.9/arch/mips/include/asm/mach-ralink/gpio.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-3.10.9/arch/mips/include/asm/mach-ralink/gpio.h 2013-08-26 17:48:30.941164428 +0200
@@ -0,0 +1,24 @@
+/*
+ * Ralink SoC GPIO API support
@ -56,9 +60,11 @@ Cc: linux-gpio@vger.kernel.org
+#define gpio_to_irq __gpio_to_irq
+
+#endif /* __ASM_MACH_RALINK_GPIO_H */
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -209,6 +209,12 @@ config GPIO_RCAR
Index: linux-3.10.9/drivers/gpio/Kconfig
===================================================================
--- linux-3.10.9.orig/drivers/gpio/Kconfig 2013-08-21 00:40:47.000000000 +0200
+++ linux-3.10.9/drivers/gpio/Kconfig 2013-08-26 17:48:30.941164428 +0200
@@ -209,6 +209,12 @@
help
Say yes here to support GPIO on Renesas R-Car SoCs.
@ -71,9 +77,11 @@ Cc: linux-gpio@vger.kernel.org
config GPIO_SPEAR_SPICS
bool "ST SPEAr13xx SPI Chip Select as GPIO support"
depends on PLAT_SPEAR
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -56,6 +56,7 @@ obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf85
Index: linux-3.10.9/drivers/gpio/Makefile
===================================================================
--- linux-3.10.9.orig/drivers/gpio/Makefile 2013-08-21 00:40:47.000000000 +0200
+++ linux-3.10.9/drivers/gpio/Makefile 2013-08-26 17:48:30.941164428 +0200
@@ -56,6 +56,7 @@
obj-$(CONFIG_GPIO_PCH) += gpio-pch.o
obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o
obj-$(CONFIG_GPIO_PXA) += gpio-pxa.o
@ -81,9 +89,11 @@ Cc: linux-gpio@vger.kernel.org
obj-$(CONFIG_GPIO_RC5T583) += gpio-rc5t583.o
obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o
obj-$(CONFIG_GPIO_RCAR) += gpio-rcar.o
--- /dev/null
+++ b/drivers/gpio/gpio-ralink.c
@@ -0,0 +1,337 @@
Index: linux-3.10.9/drivers/gpio/gpio-ralink.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-3.10.9/drivers/gpio/gpio-ralink.c 2013-08-27 22:37:34.999868257 +0200
@@ -0,0 +1,345 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
@ -337,6 +347,13 @@ Cc: linux-gpio@vger.kernel.org
+ dev_info(rg->chip.dev, "registering %d irq handlers\n", rg->chip.ngpio);
+}
+
+static int ralink_gpio_request(struct gpio_chip *chip, unsigned offset)
+{
+ int gpio = chip->base + offset;
+
+ return pinctrl_request_gpio(gpio);
+}
+
+static int ralink_gpio_probe(struct platform_device *pdev)
+{
+ struct device_node *np = pdev->dev.of_node;
@ -388,6 +405,7 @@ Cc: linux-gpio@vger.kernel.org
+ rg->chip.direction_output = ralink_gpio_direction_output;
+ rg->chip.get = ralink_gpio_get;
+ rg->chip.set = ralink_gpio_set;
+ rg->chip.request = ralink_gpio_request;
+ rg->chip.to_irq = ralink_gpio_to_irq;
+
+ /* set polarity to low for all lines */

View File

@ -1,144 +0,0 @@
From 9a3055dad80db43aeb22b247512e18e8f06bf54c Mon Sep 17 00:00:00 2001
From: John Crispin <blogic@openwrt.org>
Date: Mon, 22 Apr 2013 23:11:42 +0200
Subject: [PATCH 02/33] MIPS: ralink: add pinmux driver
Add code to setup the pinmux on ralonk SoC. The SoC has a single 32 bit register
for this functionality with simple on/off bits. Building a full featured pinctrl
driver would be overkill.
Signed-off-by: John Crispin <blogic@openwrt.org>
---
arch/mips/ralink/Makefile | 2 +-
arch/mips/ralink/common.h | 2 ++
arch/mips/ralink/of.c | 2 ++
arch/mips/ralink/pinmux.c | 77 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 82 insertions(+), 1 deletion(-)
create mode 100644 arch/mips/ralink/pinmux.c
--- a/arch/mips/ralink/Makefile
+++ b/arch/mips/ralink/Makefile
@@ -6,7 +6,7 @@
# Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
# Copyright (C) 2013 John Crispin <blogic@openwrt.org>
-obj-y := prom.o of.o reset.o clk.o irq.o timer.o
+obj-y := prom.o of.o reset.o clk.o irq.o timer.o pinmux.o
obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o
--- a/arch/mips/ralink/common.h
+++ b/arch/mips/ralink/common.h
@@ -52,4 +52,6 @@ extern void prom_soc_init(struct ralink_
__iomem void *plat_of_remap_node(const char *node);
+void ralink_pinmux(void);
+
#endif /* _RALINK_COMMON_H__ */
--- a/arch/mips/ralink/of.c
+++ b/arch/mips/ralink/of.c
@@ -113,6 +113,8 @@ static int __init plat_of_setup(void)
/* make sure ithat the reset controller is setup early */
ralink_rst_init();
+ ralink_pinmux();
+
return 0;
}
--- /dev/null
+++ b/arch/mips/ralink/pinmux.c
@@ -0,0 +1,92 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ *
+ * Copyright (C) 2013 John Crispin <blogic@openwrt.org>
+ */
+
+#include <linux/kernel.h>
+#include <linux/of.h>
+
+#include <asm/mach-ralink/ralink_regs.h>
+
+#include "common.h"
+
+#define SYSC_REG_GPIO_MODE 0x60
+
+static int ralink_mux_mask(const char *name, struct ralink_pinmux_grp *grps, u32* mask)
+{
+ for (; grps && grps->name; grps++)
+ if (!strcmp(grps->name, name)) {
+ *mask = grps->mask;
+ return 0;
+ }
+
+ return -1;
+}
+
+void ralink_pinmux(void)
+{
+ const __be32 *wdt;
+ struct device_node *np;
+ struct property *prop;
+ const char *uart, *pci, *pin;
+ u32 mode = 0;
+ int m;
+
+ np = of_find_compatible_node(NULL, NULL, "ralink,rt3050-sysc");
+ if (!np)
+ return;
+
+ of_property_for_each_string(np, "ralink,gpiomux", prop, pin) {
+ if (!ralink_mux_mask(pin, rt_gpio_pinmux.mode, &m)) {
+ mode |= m;
+ pr_debug("pinmux: registered gpiomux \"%s\"\n", pin);
+ } else {
+ pr_err("pinmux: failed to load \"%s\"\n", pin);
+ }
+ }
+
+ of_property_for_each_string(np, "ralink,pinmux", prop, pin) {
+ if (!ralink_mux_mask(pin, rt_gpio_pinmux.mode, &m)) {
+ mode &= ~m;
+ pr_debug("pinmux: registered pinmux \"%s\"\n", pin);
+ } else {
+ pr_err("pinmux: failed to load group \"%s\"\n", pin);
+ }
+ }
+
+ of_property_read_string(np, "ralink,uartmux", &uart);
+ if (uart) {
+ mode &= ~(rt_gpio_pinmux.uart_mask << rt_gpio_pinmux.uart_shift);
+ if (ralink_mux_mask(uart, rt_gpio_pinmux.uart, &m)) {
+ pr_err("pinmux: failed to load uartmux \"%s\"\n", uart);
+ mode |= rt_gpio_pinmux.uart_mask << rt_gpio_pinmux.uart_shift;
+ } else {
+ mode |= m << rt_gpio_pinmux.uart_shift;
+ pr_debug("pinmux: registered uartmux \"%s\"\n", uart);
+ }
+ }
+
+ wdt = of_get_property(np, "ralink,wdtmux", NULL);
+ if (wdt && *wdt && rt_gpio_pinmux.wdt_reset)
+ rt_gpio_pinmux.wdt_reset();
+
+ pci = NULL;
+ if (rt_gpio_pinmux.pci)
+ of_property_read_string(np, "ralink,pcimux", &pci);
+
+ if (pci) {
+ mode &= ~(rt_gpio_pinmux.pci_mask << rt_gpio_pinmux.pci_shift);
+ if (ralink_mux_mask(pci, rt_gpio_pinmux.pci, &m)) {
+ mode |= rt_gpio_pinmux.pci_mask << rt_gpio_pinmux.pci_shift;
+ pr_debug("pinmux: failed to load pcimux \"%s\"\n", pci);
+ } else {
+ mode |= m << rt_gpio_pinmux.pci_shift;
+ pr_debug("pinmux: registered pcimux \"%s\"\n", pci);
+ }
+ }
+
+ rt_sysc_w32(mode, SYSC_REG_GPIO_MODE);
+}

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,6 @@
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_ARCH_HAS_RESET_CONTROLLER=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
@ -30,11 +29,11 @@ CONFIG_CPU_R4K_FPU=y
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
CONFIG_CPU_SUPPORTS_HIGHMEM=y
CONFIG_CSRC_R4K=y
CONFIG_DEBUG_PINCTRL=y
CONFIG_DMA_NONCOHERENT=y
# CONFIG_DTB_RT305X_EVAL is not set
CONFIG_DTB_RT_NONE=y
CONFIG_DTC=y
# CONFIG_DWC_OTG is not set
CONFIG_EARLY_PRINTK=y
CONFIG_GENERIC_ATOMIC64=y
CONFIG_GENERIC_CLOCKEVENTS=y
@ -120,6 +119,11 @@ CONFIG_OF_NET=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_PERF_USE_VMALLOC=y
CONFIG_PHYLIB=y
# CONFIG_PINCONF is not set
CONFIG_PINCTRL=y
CONFIG_PINCTRL_RALINK=y
# CONFIG_PINCTRL_SINGLE is not set
CONFIG_PINMUX=y
# CONFIG_PREEMPT_RCU is not set
CONFIG_RALINK=y
CONFIG_RALINK_USBPHY=y

View File

@ -2,7 +2,6 @@ CONFIG_AR8216_PHY=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_ARCH_HAS_RESET_CONTROLLER=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
@ -28,6 +27,7 @@ CONFIG_CPU_R4K_FPU=y
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
CONFIG_CPU_SUPPORTS_HIGHMEM=y
CONFIG_CSRC_R4K=y
CONFIG_DEBUG_PINCTRL=y
CONFIG_DMA_NONCOHERENT=y
# CONFIG_DTB_RT3883_EVAL is not set
CONFIG_DTB_RT_NONE=y
@ -126,6 +126,11 @@ CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PERF_USE_VMALLOC=y
CONFIG_PHYLIB=y
# CONFIG_PINCONF is not set
CONFIG_PINCTRL=y
CONFIG_PINCTRL_RALINK=y
# CONFIG_PINCTRL_SINGLE is not set
CONFIG_PINMUX=y
# CONFIG_PREEMPT_RCU is not set
CONFIG_RALINK=y
CONFIG_RALINK_USBPHY=y