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";
33 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
61 reg = <0x30000 0x10000>;
65 factory: partition@40000 {
67 reg = <0x40000 0x10000>;
73 reg = <0x50000 0x7b0000>;
79 state_default: pinctrl0 {
81 ralink,group = "i2c", "spi refclk", "rgmii1";
82 ralink,function = "gpio";
88 pinctrl-names = "default";
89 pinctrl-0 = <&ephy_pins>;
90 mtd-mac-address = <&factory 0x4>;
91 mediatek,portmap = "llllw";
95 mediatek,port4 = "ephy";
99 ralink,mtd-eeprom = <&factory 0>;