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 compatible = "gpio-leds";
16 label = "db-wrt01:orange:power";
17 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
22 compatible = "gpio-keys-polled";
29 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <10000000>;
57 reg = <0x30000 0x10000>;
61 factory: partition@40000 {
63 reg = <0x40000 0x10000>;
69 reg = <0x50000 0x7b0000>;
75 state_default: pinctrl0 {
77 ralink,group = "i2c", "spi refclk", "rgmii1";
78 ralink,function = "gpio";
84 pinctrl-names = "default";
85 pinctrl-0 = <&ephy_pins>;
86 mtd-mac-address = <&factory 0x4>;
87 mediatek,portmap = "llllw";
91 mediatek,port4 = "ephy";
95 ralink,mtd-eeprom = <&factory 0>;