3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
10 model = "Planex DB-WRT01";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "db-wrt01:orange:power";
24 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <10000000>;
53 compatible = "fixed-partitions";
65 reg = <0x30000 0x10000>;
69 factory: partition@40000 {
71 reg = <0x40000 0x10000>;
76 compatible = "denx,uimage";
78 reg = <0x50000 0x7b0000>;
85 state_default: pinctrl0 {
87 ralink,group = "i2c", "spi refclk", "rgmii1";
88 ralink,function = "gpio";
94 pinctrl-names = "default";
95 pinctrl-0 = <&ephy_pins>;
96 mtd-mac-address = <&factory 0x4>;
97 mediatek,portmap = "llllw";
101 mediatek,port4 = "ephy";
105 ralink,mtd-eeprom = <&factory 0>;