1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "lava,lr-25g001", "ralink,mt7620a-soc";
8 model = "LAVA LR-25G001";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-keys";
22 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "green:status";
38 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42 label = "green:wifi2g";
43 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy1tpt";
48 label = "green:wifi5g";
49 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
55 compatible = "gpio-export";
59 gpio-export,name = "usbpower";
60 gpio-export,output = <1>;
61 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
86 compatible = "amit,jimage";
88 reg = <0x10000 0xfe0000>;
91 config: partition@ff0000 {
93 reg = <0xff0000 0x10000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
115 mediatek,fixed-link = <1000 1 1 1>;
124 qca,ar8327-initvals = <
125 0x04 0x87300000 /* PORT0 PAD MODE CTRL */
126 0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
127 0x7c 0x0000007e /* PORT0_STATUS */
128 0x80 0x00001200 /* PORT1_STATUS */
129 0x84 0x00001200 /* PORT2_STATUS */
130 0x88 0x00001200 /* PORT3_STATUS */
131 0x8c 0x00001200 /* PORT4_STATUS */
132 0x90 0x00001200 /* PORT5_STATUS */
133 0x94 0x00000000 /* PORT6_STATUS */
140 mediatek,ephy-base = /bits/ 8 <8>;
149 reg = <0x0000 0 0 0 0>;
150 nvmem-cells = <&macaddr_config_e07e>;
151 nvmem-cell-names = "mac-address";
152 mac-address-increment = <(2)>;
153 mediatek,mtd-eeprom = <&config 0xe08a>;
159 groups = "uartf", "i2c";
165 compatible = "nvmem-cells";
166 #address-cells = <1>;
169 macaddr_config_e07e: macaddr@e07e {