1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/gpio/gpio.h>
8 compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc";
9 model = "Zbtlink ZBT-WE1226";
13 led-failsafe = &led_wlan;
14 led-running = &led_wlan;
15 led-upgrade = &led_wlan;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-keys";
27 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 function = LED_FUNCTION_WAN;
37 color = <LED_COLOR_ID_GREEN>;
38 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
52 function = LED_FUNCTION_WLAN;
53 color = <LED_COLOR_ID_GREEN>;
54 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
61 groups = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
93 reg = <0x40000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 macaddr_factory_2e: macaddr@2e {
112 compatible = "denx,uimage";
114 reg = <0x50000 0x7b0000>;
123 nvmem-cells = <&eeprom_factory_0>;
124 nvmem-cell-names = "eeprom";
128 nvmem-cells = <&macaddr_factory_2e>;
129 nvmem-cell-names = "mac-address";
133 mediatek,portmap = <0x2f>;