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 compatible = "fixed-layout";
87 eeprom_factory_0: eeprom@0 {
91 macaddr_factory_4: macaddr@4 {
97 firmware: partition@50000 {
98 compatible = "denx,uimage";
100 /* reg property is set based on flash size in DTS files */
127 nvmem-cells = <&macaddr_factory_4>;
128 nvmem-cell-names = "mac-address";
130 mediatek,portmap = "llllw";
134 nvmem-cells = <&eeprom_factory_0>;
135 nvmem-cell-names = "eeprom";
140 groups = "i2c", "uartf", "wled", "spi refclk", "pa";