1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
9 model = "Zbtlink ZBT-WR8305RT";
13 led-failsafe = &led_sys;
14 led-running = &led_sys;
15 led-upgrade = &led_sys;
19 compatible = "gpio-leds";
23 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
27 function = LED_FUNCTION_USB;
28 color = <LED_COLOR_ID_GREEN>;
29 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&ohci_port1>, <&ehci_port1>;
31 linux,default-trigger = "usbport";
36 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
86 reg = <0x40000 0x10000>;
90 compatible = "fixed-layout";
94 eeprom_factory_0: eeprom@0 {
98 macaddr_factory_4: macaddr@4 {
105 compatible = "denx,uimage";
107 reg = <0x50000 0x7b0000>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&ephy_pins>;
125 nvmem-cells = <&macaddr_factory_4>;
126 nvmem-cell-names = "mac-address";
128 mediatek,portmap = "llllw";
132 nvmem-cells = <&eeprom_factory_0>;
133 nvmem-cell-names = "eeprom";
138 groups = "i2c", "uartf", "spi refclk", "wled";