3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-we1326", "mediatek,mt7621-soc";
8 model = "Zbtlink ZBT-WE1326";
11 label-mac-device = &wifi1;
15 bootargs = "console=ttyS0,115200";
19 compatible = "gpio-keys";
23 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
40 compatible = "jedec,spi-nor";
42 spi-max-frequency = <10000000>;
45 compatible = "fixed-partitions";
57 reg = <0x30000 0x10000>;
61 factory: partition@40000 {
63 reg = <0x40000 0x10000>;
68 compatible = "denx,uimage";
70 reg = <0x50000 0xfb0000>;
77 nvmem-cells = <&macaddr_factory_e000>;
78 nvmem-cell-names = "mac-address";
84 phy-handle = <ðphy4>;
86 nvmem-cells = <&macaddr_factory_e006>;
87 nvmem-cell-names = "mac-address";
91 ethphy4: ethernet-phy@4 {
126 compatible = "mediatek,mt76";
127 reg = <0x0000 0 0 0 0>;
128 mediatek,mtd-eeprom = <&factory 0x8000>;
129 ieee80211-freq-limit = <5000000 6000000>;
140 compatible = "mediatek,mt76";
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&factory 0x0000>;
143 ieee80211-freq-limit = <2400000 2500000>;
157 compatible = "nvmem-cells";
158 #address-cells = <1>;
161 macaddr_factory_e000: macaddr@e000 {
165 macaddr_factory_e006: macaddr@e006 {