5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "skyline,sl-r7205", "ralink,rt3052-soc";
10 model = "Skyline SL-R7205 Wireless 3G Router";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x3b0000>;
45 compatible = "gpio-leds";
48 label = "sl-r7205:green:wifi";
49 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys-polled";
61 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
74 state_default: pinctrl0 {
76 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
77 ralink,function = "gpio";
83 mtd-mac-address = <&factory 0x4>;
87 mediatek,portmap = <0x3e>;
91 ralink,mtd-eeprom = <&factory 0>;