1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
7 compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc";
8 model = "Zbtlink ZBT-WE1226";
12 led-failsafe = &led_wlan;
13 led-running = &led_wlan;
14 led-upgrade = &led_wlan;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-keys";
26 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
36 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
58 groups = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
94 compatible = "fixed-layout";
98 eeprom_factory_0: eeprom@0 {
102 macaddr_factory_2e: macaddr@2e {
109 compatible = "denx,uimage";
111 reg = <0x50000 0x7b0000>;
120 nvmem-cells = <&eeprom_factory_0>;
121 nvmem-cell-names = "eeprom";
125 nvmem-cells = <&macaddr_factory_2e>;
126 nvmem-cell-names = "mac-address";
130 mediatek,portmap = <0x2f>;