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";
13 compatible = "gpio-leds";
16 label = "zbt-wr8305rt:green:sys";
17 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
21 label = "zbt-wr8305rt:green:usb";
22 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
26 label = "zbt-wr8305rt:green:wifi";
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
83 reg = <0x50000 0x7b0000>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&ephy_pins>;
99 mtd-mac-address = <&factory 0x4>;
100 mediatek,portmap = "llllw";
104 ralink,mtd-eeprom = <&factory 0>;
108 state_default: pinctrl0 {
110 ralink,group = "i2c", "uartf", "spi refclk", "wled";
111 ralink,function = "gpio";