1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
8 model = "Planex DB-WRT01";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "orange:power";
22 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys";
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>;
72 compatible = "fixed-layout";
76 eeprom_factory_0: eeprom@0 {
80 macaddr_factory_4: macaddr@4 {
87 compatible = "denx,uimage";
89 reg = <0x50000 0x7b0000>;
97 groups = "i2c", "spi refclk", "rgmii1";
103 pinctrl-names = "default";
104 pinctrl-0 = <&ephy_pins>;
106 nvmem-cells = <&macaddr_factory_4>;
107 nvmem-cell-names = "mac-address";
109 mediatek,portmap = "llllw";
113 nvmem-cells = <&eeprom_factory_0>;
114 nvmem-cell-names = "eeprom";