3 /include/ "mt7620n.dtsi"
6 compatible = "GL-MT300N", "ralink,mt7620n-soc";
10 bootargs = "console=ttyS0,115200";
36 compatible = "w25q128";
38 linux,modalias = "m25p80", "w25q128";
39 spi-max-frequency = <10000000>;
48 reg = <0x30000 0x10000>;
52 factory: partition@40000 {
54 reg = <0x40000 0x10000>;
60 reg = <0x50000 0xf80000>;
65 reg = <0xff0000 0x10000>;
80 mtd-mac-address = <&factory 0x4000>;
81 ralink,port-map = "wllll";
85 ralink,mtd-eeprom = <&factory 0>;
93 reg = <0x0000 0 0 0 0>;
95 mediatek,mtd-eeprom = <&factory 0x8000>;
102 state_default: pinctrl0 {
104 ralink,group = "wled","ephy","i2c";
105 ralink,function = "gpio";
111 compatible = "gpio-leds";
114 label = "gl-mt300n:wan";
115 gpios = <&gpio2 0 1>;
119 label = "gl-mt300n:lan";
120 gpios = <&gpio2 1 1>;
124 label = "gl-mt300n:wlan";
125 gpios = <&gpio3 0 1>;
131 compatible = "gpio-keys-polled";
132 #address-cells = <1>;
134 poll-interval = <20>;
137 gpios = <&gpio0 1 1>;
138 linux,code = <0x198>;
143 gpios = <&gpio2 2 1>;
144 linux,code = <0x100>;
149 gpios = <&gpio2 3 1>;
150 linux,code = <0x101>;