1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 #include "qcom-ipq8064-v2.0.dtsi"
4 #include <dt-bindings/input/input.h>
7 model = "Linksys EA7500 V1 WiFi Router";
8 compatible = "linksys,ea7500-v1", "qcom,ipq8064";
11 reg = <0x42000000 0xe000000>;
12 device_type = "memory";
16 led-boot = &led_power;
17 led-failsafe = &led_power;
18 led-running = &led_power;
19 led-upgrade = &led_power;
23 bootargs = "console=ttyMSM0,115200n8";
25 append-rootblock = "ubi.mtd="; /* append to bootargs adding the root deviceblock nbr from bootloader */
26 find-rootblock = "ubi.mtd="; /* look for root deviceblock nbr in this bootarg */
30 compatible = "gpio-keys";
31 pinctrl-0 = <&button_pins>;
32 pinctrl-names = "default";
36 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "gpio-leds";
49 pinctrl-0 = <&led_pins>;
50 pinctrl-names = "default";
53 label = "ea7500-v1:white:power";
54 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
61 button_pins: button_pins {
63 pins = "gpio65", "gpio68";
104 pinctrl-0 = <&nand_pins>;
105 pinctrl-names = "default";
109 compatible = "qcom,nandcs";
111 nand-ecc-strength = <4>;
112 nand-bus-width = <8>;
113 nand-ecc-step-size = <512>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x0000000 0x0040000>;
128 reg = <0x0040000 0x0140000>;
134 reg = <0x0180000 0x0140000>;
140 reg = <0x02c0000 0x0280000>;
146 reg = <0x0540000 0x0120000>;
152 reg = <0x0660000 0x0120000>;
158 reg = <0x0780000 0x0280000>;
164 reg = <0x0a00000 0x0280000>;
168 art: partition@c80000 {
170 reg = <0x0c80000 0x0140000>;
176 reg = <0x0dc0000 0x0100000>;
182 reg = <0x0ec0000 0x0040000>;
187 reg = <0x0f00000 0x0040000>;
192 reg = <0x0f40000 0x0040000>;
197 reg = <0x0f80000 0x2800000>; /* 3 MB spill to rootfs*/
202 reg = <0x1280000 0x2500000>;
207 reg = <0x3780000 0x2800000>;
212 reg = <0x3a80000 0x2500000>;
217 reg = <0x5f80000 0x100000>;
222 reg = <0x6080000 0x1f80000>;
231 pinctrl-0 = <&mdio0_pins>;
232 pinctrl-names = "default";
234 phy0: ethernet-phy@0 {
236 qca,ar8327-initvals = <
237 0x00004 0x7600000 /* PAD0_MODE */
238 0x00008 0x1000000 /* PAD5_MODE */
239 0x0000c 0x80 /* PAD6_MODE */
240 0x00010 0x2613a0 /* PWS_REG */
241 0x000e4 0x6a545 /* MAC_POWER_SEL */
242 0x000e0 0xc74164de /* SGMII_CTRL */
243 0x0007c 0x4e /* PORT0_STATUS */
244 0x00094 0x4e /* PORT6_STATUS */
254 pinctrl-0 = <&rgmii2_pins>;
255 pinctrl-names = "default";