3 /include/ "mt7620a.dtsi"
6 compatible = "GL-MT750", "ralink,mt7620a-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>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&ephy_pins>;
86 mtd-mac-address = <&factory 0x4000>;
87 ralink,port-map = "llllw";
91 ralink,mtd-eeprom = <&factory 0>;
99 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
108 state_default: pinctrl0 {
110 ralink,group = "wled","ephy","uartf";
111 ralink,function = "gpio";
117 compatible = "gpio-leds";
120 label = "gl-mt750:wan";
121 gpios = <&gpio2 0 1>;
125 label = "gl-mt750:lan";
126 gpios = <&gpio2 1 1>;
130 label = "gl-mt750:wlan";
131 gpios = <&gpio3 0 1>;
137 compatible = "gpio-keys-polled";
138 #address-cells = <1>;
140 poll-interval = <20>;
143 gpios = <&gpio0 13 1>;
144 linux,code = <0x198>;
149 gpios = <&gpio2 2 1>;
150 linux,code = <0x100>;
155 gpios = <&gpio2 3 1>;
156 linux,code = <0x101>;