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";
33 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
47 compatible = "jedec,spi-nor";
49 spi-max-frequency = <10000000>;
52 compatible = "fixed-partitions";
64 reg = <0x30000 0x10000>;
68 factory: partition@40000 {
70 reg = <0x40000 0x10000>;
75 compatible = "denx,uimage";
77 reg = <0x50000 0x7b0000>;
84 state_default: pinctrl0 {
86 ralink,group = "i2c", "spi refclk", "rgmii1";
87 ralink,function = "gpio";
93 pinctrl-names = "default";
94 pinctrl-0 = <&ephy_pins>;
95 mtd-mac-address = <&factory 0x4>;
96 mediatek,portmap = "llllw";
100 mediatek,port4 = "ephy";
104 ralink,mtd-eeprom = <&factory 0>;