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>;
73 compatible = "denx,uimage";
75 reg = <0x50000 0x7b0000>;
83 groups = "i2c", "spi refclk", "rgmii1";
89 pinctrl-names = "default";
90 pinctrl-0 = <&ephy_pins>;
92 nvmem-cells = <&macaddr_factory_4>;
93 nvmem-cell-names = "mac-address";
95 mediatek,portmap = "llllw";
99 ralink,mtd-eeprom = <&factory 0x0>;
103 compatible = "nvmem-cells";
104 #address-cells = <1>;
107 macaddr_factory_4: macaddr@4 {