2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 compatible = "meig,slt866", "mediatek,mt7621-soc";
11 led-boot = &led_internet;
12 led-failsafe = &led_internet;
13 led-upgrade = &led_internet;
14 label-mac-device = &gmac1;
18 compatible = "gpio-leds";
21 label = "blue:signal4";
22 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 label = "blue:lanwan";
27 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
30 led_internet: internet {
31 label = "blue:internet";
32 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
37 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "phy0tpt";
42 label = "blue:signal3";
43 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
47 label = "blue:signal2";
48 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
52 label = "blue:signal1";
53 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
58 compatible = "gpio-keys";
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_WPS_BUTTON>;
74 compatible = "regulator-fixed";
75 regulator-name = "pa-5g";
76 regulator-min-microvolt = <5000000>;
77 regulator-max-microvolt = <5000000>;
78 gpio = <&gpio 7 GPIO_ACTIVE_HIGH>;
87 groups = "jtag", "uart2", "uart3", "wdt";
97 compatible = "jedec,spi-nor";
98 spi-max-frequency = <20000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
106 label = "Bootloader";
113 reg = <0x30000 0x10000>;
118 reg = <0x40000 0x10000>;
120 compatible = "nvmem-cells";
123 compatible = "fixed-layout";
124 #address-cells = <1>;
127 eeprom_factory_0: eeprom@0 {
131 eeprom_factory_8000: eeprom@8000 {
132 reg = <0x8000 0x4da8>;
139 compatible = "denx,uimage";
140 reg = <0x50000 0xf90000>;
145 reg = <0xfe0000 0x20000>;
147 compatible = "nvmem-cells";
150 compatible = "fixed-layout";
152 #address-cells = <1>;
155 macaddr_custom_0: macaddr@0 {
157 compatible = "mac-base";
158 #nvmem-cell-cells = <1>;
161 macaddr_custom_40: macaddr@40 {
163 compatible = "mac-base";
164 #nvmem-cell-cells = <1>;
167 macaddr_custom_100: macaddr@100 {
169 compatible = "mac-base";
170 #nvmem-cell-cells = <1>;
173 macaddr_custom_140: macaddr@140 {
175 compatible = "mac-base";
176 #nvmem-cell-cells = <1>;
183 reg = <0x1000000 0x1000000>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&mdio_pins>;
196 nvmem-cells = <&macaddr_custom_40 0>;
197 nvmem-cell-names = "mac-address";
203 phy-handle = <ðphy4>;
205 nvmem-cells = <&macaddr_custom_0 0>;
206 nvmem-cell-names = "mac-address";
210 ethphy4: ethernet-phy@4 {
230 compatible = "mediatek,mt76";
231 reg = <0x0000 0 0 0 0>;
232 nvmem-cells = <&eeprom_factory_0>, <&macaddr_custom_100 0>;
233 nvmem-cell-names = "eeprom", "mac-address";
239 compatible = "mediatek,mt76";
240 reg = <0x0000 0 0 0 0>;
241 ieee80211-freq-limit = <5000000 6000000>;
242 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_custom_140 0>;
243 nvmem-cell-names = "eeprom", "mac-address";