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 {
129 compatible = "nvmem-cells";
131 reg = <0x100000 0x40000>;
132 #address-cells = <1>;
135 eeprom_factory_0: eeprom@0 {
139 macaddr_factory_fe6e: macaddr@fe6e {
145 reg = <0x140000 0x1ec0000>;
149 reg = <0x2140000 0x1ec0000>;
153 reg = <0x4000000 0x100000>;
157 reg = <0x4100000 0x3ee0000>;
163 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
168 groups = "i2c", "rgmii2", "uart3", "jtag", "wdt";
175 nvmem-cells = <&macaddr_factory_fe6e>;
176 nvmem-cell-names = "mac-address";
207 /* In reality at hangs at pcie1, this is a driver bug */
208 compatible = "pci14c3,7615";
209 reg = <0x0000 0 0 0 0>;
210 mediatek,firmware-eeprom = "mt7615e_eeprom.bin";
211 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_fe6e>;
212 nvmem-cell-names = "eeprom", "mac-address";
213 mac-address-increment = <(1)>;