3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
10 model = "Zbtlink ZBT-WR8305RT";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
20 compatible = "gpio-leds";
23 label = "zbt-wr8305rt:green:sys";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
28 label = "zbt-wr8305rt:green:usb";
29 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&ohci_port1>, <&ehci_port1>;
31 linux,default-trigger = "usbport";
35 label = "zbt-wr8305rt:green:wifi";
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>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
91 compatible = "denx,uimage";
93 reg = <0x50000 0x7b0000>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&ephy_pins>;
110 mtd-mac-address = <&factory 0x4>;
111 mediatek,portmap = "llllw";
115 ralink,mtd-eeprom = <&factory 0>;
120 ralink,group = "i2c", "uartf", "spi refclk", "wled";
121 ralink,function = "gpio";