5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,lte3301-plus", "mediatek,mt7621-soc";
10 model = "ZyXEL LTE3301-Plus";
13 label-mac-device = &gmac0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-export";
30 gpio-export,name = "power_modem";
31 gpio-export,output = <1>;
32 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys";
42 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
55 compatible = "gpio-leds";
58 label = "lte3301-plus:white:power";
59 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
63 label = "lte3301-plus:white:wifi";
64 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
68 label = "lte3301-plus:white:internet";
69 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
73 label = "lte3301-plus:white:usb";
74 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
78 label = "lte3301-plus:white:lte";
79 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
83 label = "lte3301-plus:green:mobile";
84 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
88 label = "lte3301-plus:orange:mobile";
89 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
93 label = "lte3301-plus:red:mobile";
94 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
106 line-name = "enable USB power";
107 gpios = <7 GPIO_ACTIVE_HIGH>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x00000 0x80000>; /* 64 KB */
126 reg = <0x80000 0x80000>; /* 64 KB */
128 factory: partition@100000 {
130 reg = <0x100000 0x40000>;
133 compatible = "fixed-layout";
134 #address-cells = <1>;
137 eeprom_factory_0: eeprom@0 {
141 macaddr_factory_fe6e: macaddr@fe6e {
142 compatible = "mac-base";
144 #nvmem-cell-cells = <1>;
150 reg = <0x140000 0x1ec0000>;
154 reg = <0x2140000 0x1ec0000>;
158 reg = <0x4000000 0x100000>;
162 reg = <0x4100000 0x3ee0000>;
168 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
173 groups = "i2c", "rgmii2", "uart3", "jtag", "wdt";
180 nvmem-cells = <&macaddr_factory_fe6e 0>;
181 nvmem-cell-names = "mac-address";
212 /* In reality at hangs at pcie1, this is a driver bug */
213 compatible = "pci14c3,7615";
214 reg = <0x0000 0 0 0 0>;
215 mediatek,firmware-eeprom = "mt7615e_eeprom.bin";
216 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_fe6e 1>;
217 nvmem-cell-names = "eeprom", "mac-address";