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>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0x7b0000>;
106 mediatek,mtd-eeprom = <&factory 0x0>;
110 nvmem-cells = <&macaddr_factory_2e>;
111 nvmem-cell-names = "mac-address";
115 mediatek,portmap = <0x2f>;
119 compatible = "nvmem-cells";
120 #address-cells = <1>;
123 macaddr_factory_2e: macaddr@2e {