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 led-status = &led_wifi;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
47 reg = <0x50000 0x3b0000>;
53 compatible = "gpio-leds";
56 label = "sl-r7205:green:wifi";
57 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-keys-polled";
67 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_RESTART>;
73 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_WPS_BUTTON>;
80 state_default: pinctrl0 {
82 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
83 ralink,function = "gpio";
89 mtd-mac-address = <&factory 0x4>;
93 mediatek,portmap = <0x3e>;
97 ralink,mtd-eeprom = <&factory 0>;