5 #include <dt-bindings/input/input.h>
8 compatible = "FONERA20N", "ralink,rt3052-soc";
9 model = "La Fonera 2.0N";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
27 reg = <0x30000 0x10000>;
31 factory: partition@40000 {
33 reg = <0x40000 0x10000>;
39 reg = <0x50000 0x7b0000>;
44 compatible = "gpio-leds";
47 label = "fonera20n:orange:wifi";
52 label = "fonera20n:green:power";
57 label = "fonera20n:orange:usb";
58 gpios = <&gpio0 14 1>;
63 compatible = "gpio-keys-polled";
70 gpios = <&gpio0 12 1>;
71 linux,code = <KEY_RESTART>;
76 gpios = <&gpio0 13 1>;
77 linux,code = <KEY_RFKILL>;
78 linux,input-type = <EV_SW>;
84 state_default: pinctrl0 {
86 ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
87 ralink,function = "gpio";
93 mtd-mac-address = <&factory 0x28>;
97 mediatek,portmap = <0x2f>;
100 compatible = "swconfig,port";
101 swconfig,segment = "lan";
102 swconfig,portmap = <0 4>;
106 compatible = "swconfig,port";
107 swconfig,segment = "lan";
108 swconfig,portmap = <1 3>;
112 compatible = "swconfig,port";
113 swconfig,segment = "lan";
114 swconfig,portmap = <2 2>;
118 compatible = "swconfig,port";
119 swconfig,segment = "lan";
120 swconfig,portmap = <3 1>;
124 compatible = "swconfig,port";
125 swconfig,segment = "wan";
126 swconfig,portmap = <4 0>;
131 ralink,mtd-eeprom = <&factory 0>;