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";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
87 reg = <0x50000 0x7b0000>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&ephy_pins>;
103 mtd-mac-address = <&factory 0x4>;
104 mediatek,portmap = "llllw";
108 ralink,mtd-eeprom = <&factory 0>;
112 state_default: pinctrl0 {
114 ralink,group = "i2c", "uartf", "spi refclk", "wled";
115 ralink,function = "gpio";