1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "green:power";
25 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
30 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
31 trigger-sources = <&ohci_port1>, <&ehci_port1>;
32 linux,default-trigger = "usbport";
37 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
46 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
78 compatible = "nvmem-cells";
80 reg = <0x40000 0x10000>;
85 eeprom_factory_0: eeprom@0 {
89 macaddr_factory_4: macaddr@4 {
94 firmware: partition@50000 {
95 compatible = "denx,uimage";
97 /* reg property is set based on flash size in DTS files */
124 nvmem-cells = <&macaddr_factory_4>;
125 nvmem-cell-names = "mac-address";
127 mediatek,portmap = "llllw";
131 nvmem-cells = <&eeprom_factory_0>;
132 nvmem-cell-names = "eeprom";
137 groups = "i2c", "uartf", "wled", "spi refclk", "pa";