1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "alfa-network,quad-e4g", "mediatek,mt7621-soc";
10 model = "ALFA Network Quad-E4G";
13 label-mac-device = &gmac0;
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-export";
29 gpio-export,name = "m2-enable";
30 gpio-export,output = <1>;
31 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
35 gpio-export,name = "minipcie0-enable";
36 gpio-export,output = <1>;
37 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
41 gpio-export,name = "minipcie0-reset";
42 gpio-export,output = <0>;
43 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
47 gpio-export,name = "minipcie1-enable";
48 gpio-export,output = <1>;
49 gpios = <&gpio 30 GPIO_ACTIVE_HIGH>;
53 gpio-export,name = "minipcie1-reset";
54 gpio-export,output = <0>;
55 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
59 gpio-export,name = "minipcie2-enable";
60 gpio-export,output = <1>;
61 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
65 gpio-export,name = "minipcie2-reset";
66 gpio-export,output = <0>;
67 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
71 gpio-export,name = "pcie-perst-enable";
72 gpio-export,output = <0>;
73 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
77 gpio-export,name = "sim-select";
78 gpio-export,output = <1>;
79 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
83 gpio-export,name = "watchdog-enable";
84 gpio-export,output = <1>;
85 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
90 compatible = "gpio-keys";
94 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_RESTART>;
100 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
101 linux,code = <BTN_0>;
106 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
107 linux,code = <BTN_1>;
112 compatible = "gpio-leds";
115 label = "red:system";
116 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
117 default-state = "keep";
122 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
126 label = "orange:minipcie0";
127 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
131 label = "orange:minipcie1";
132 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
136 label = "orange:minipcie2";
137 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
142 compatible = "linux,wdt-gpio";
143 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
145 hw_margin_ms = <25000>;
151 nvmem-cells = <&macaddr_factory_e000>;
152 nvmem-cell-names = "mac-address";
180 nvmem-cells = <&macaddr_factory_e006>;
181 nvmem-cell-names = "mac-address";
190 compatible = "ti,bq32000";
201 groups = "jtag", "rgmii2", "wdt";
214 compatible = "jedec,spi-nor";
216 spi-max-frequency = <50000000>;
220 compatible = "fixed-partitions";
221 #address-cells = <1>;
230 label = "u-boot-env";
231 reg = <0x30000 0x1000>;
236 reg = <0x31000 0xf000>;
240 factory: partition@40000 {
242 reg = <0x40000 0x10000>;
247 compatible = "denx,uimage";
249 reg = <0x50000 0xfb0000>;
264 compatible = "nvmem-cells";
265 #address-cells = <1>;
268 macaddr_factory_e000: macaddr@e000 {
272 macaddr_factory_e006: macaddr@e006 {