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>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
32 label = "zbt-wr8305rt:green:wifi";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0x7b0000>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&ephy_pins>;
107 mtd-mac-address = <&factory 0x4>;
108 mediatek,portmap = "llllw";
112 ralink,mtd-eeprom = <&factory 0>;
116 state_default: pinctrl0 {
118 ralink,group = "i2c", "uartf", "spi refclk", "wled";
119 ralink,function = "gpio";