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-polled";
46 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
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>;
119 state_default: pinctrl0 {
121 ralink,group = "i2c", "uartf", "spi refclk", "wled";
122 ralink,function = "gpio";