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-status = &led_power;
17 compatible = "gpio-leds";
20 label = "db-wrt01:orange:power";
21 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-keys-polled";
31 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <10000000>;
50 compatible = "fixed-partitions";
62 reg = <0x30000 0x10000>;
66 factory: partition@40000 {
68 reg = <0x40000 0x10000>;
74 reg = <0x50000 0x7b0000>;
81 state_default: pinctrl0 {
83 ralink,group = "i2c", "spi refclk", "rgmii1";
84 ralink,function = "gpio";
90 pinctrl-names = "default";
91 pinctrl-0 = <&ephy_pins>;
92 mtd-mac-address = <&factory 0x4>;
93 mediatek,portmap = "llllw";
97 mediatek,port4 = "ephy";
101 ralink,mtd-eeprom = <&factory 0>;