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 led-status = &led_sys;
17 compatible = "gpio-leds";
20 label = "zbt-wr8305rt:green:sys";
21 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
25 label = "zbt-wr8305rt:green:usb";
26 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 label = "zbt-wr8305rt:green:wifi";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0x7b0000>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&ephy_pins>;
101 mtd-mac-address = <&factory 0x4>;
102 mediatek,portmap = "llllw";
106 ralink,mtd-eeprom = <&factory 0>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "uartf", "spi refclk", "wled";
113 ralink,function = "gpio";