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 {
79 reg = <0x40000 0x10000>;
83 firmware: partition@50000 {
84 compatible = "denx,uimage";
86 /* reg property is set based on flash size in DTS files */
113 nvmem-cells = <&macaddr_factory_4>;
114 nvmem-cell-names = "mac-address";
116 mediatek,portmap = "llllw";
120 ralink,mtd-eeprom = <&factory 0x0>;
125 groups = "i2c", "uartf", "wled", "spi refclk", "pa";
135 compatible = "nvmem-cells";
136 #address-cells = <1>;
139 macaddr_factory_4: macaddr@4 {