1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
9 model = "Planex DB-WRT01";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_ORANGE>;
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>;
70 reg = <0x40000 0x10000>;
74 compatible = "fixed-layout";
78 eeprom_factory_0: eeprom@0 {
82 macaddr_factory_4: macaddr@4 {
89 compatible = "denx,uimage";
91 reg = <0x50000 0x7b0000>;
99 groups = "i2c", "spi refclk", "rgmii1";
105 pinctrl-names = "default";
106 pinctrl-0 = <&ephy_pins>;
108 nvmem-cells = <&macaddr_factory_4>;
109 nvmem-cell-names = "mac-address";
111 mediatek,portmap = "llllw";
115 nvmem-cells = <&eeprom_factory_0>;
116 nvmem-cell-names = "eeprom";