1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
8 model = "Zbtlink ZBT-WR8305RT";
12 led-failsafe = &led_sys;
13 led-running = &led_sys;
14 led-upgrade = &led_sys;
18 compatible = "gpio-leds";
22 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&ohci_port1>, <&ehci_port1>;
29 linux,default-trigger = "usbport";
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
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 {
83 compatible = "nvmem-cells";
85 reg = <0x40000 0x10000>;
90 eeprom_factory_0: eeprom@0 {
94 macaddr_factory_4: macaddr@4 {
100 compatible = "denx,uimage";
102 reg = <0x50000 0x7b0000>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&ephy_pins>;
120 nvmem-cells = <&macaddr_factory_4>;
121 nvmem-cell-names = "mac-address";
123 mediatek,portmap = "llllw";
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";
133 groups = "i2c", "uartf", "spi refclk", "wled";