5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "linksys,re6500", "mediatek,mt7621-soc";
10 model = "Linksys RE6500";
13 led-status = &led_power;
17 device_type = "memory";
18 reg = <0x0 0x4000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "re6500:orange:wifi";
30 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
34 label = "re6500:white:power";
35 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys-polled";
45 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
52 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
64 m25p,chunked-io = <32>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
91 reg = <0x50000 0x7b0000>;
98 state_default: pinctrl0 {
100 ralink,group = "i2c", "uart2", "uart3", "rgmii2";
101 ralink,function = "gpio";
112 reg = <0x0000 0 0 0 0>;
113 mediatek,mtd-eeprom = <&factory 0x0000>;
114 ieee80211-freq-limit = <5000000 6000000>;
120 reg = <0x0000 0 0 0 0>;
121 mediatek,mtd-eeprom = <&factory 0x8000>;
122 ieee80211-freq-limit = <2400000 2500000>;
127 mtd-mac-address = <&factory 0x2e>;