1 #include "qcom-ipq8064-v2.0.dtsi"
3 #include <dt-bindings/input/input.h>
6 model = "Linksys EA8500 WiFi Router";
7 compatible = "linksys,ea8500", "qcom,ipq8064";
10 reg = <0x42000000 0x1e000000>;
11 device_type = "memory";
19 reg = <0x41200000 0x300000>;
28 led-failsafe = &power;
34 bootargs = "console=ttyMSM0,115200n8";
35 append-rootblock = "ubi.mtd="; /* append to bootargs adding the root deviceblock nbr from bootloader */
39 compatible = "gpio-keys";
40 pinctrl-0 = <&button_pins>;
41 pinctrl-names = "default";
45 gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RFKILL>;
51 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART >;
57 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 compatible = "gpio-leds";
64 pinctrl-0 = <&led_pins>;
65 pinctrl-names = "default";
68 label = "ea8500:green:wps";
69 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
73 label = "ea8500:white:power";
74 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
75 default-state = "keep";
79 label = "ea8500:green:wifi";
80 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_HIGH>;
86 button_pins: button_pins {
88 pins = "gpio65", "gpio67", "gpio68";
97 pins = "gpio6", "gpio53", "gpio54";
106 qcom,mode = <GSBI_PROT_I2C_UART>;
112 * The i2c device on gsbi4 should not be enabled.
113 * On ipq806x designs gsbi4 i2c is meant for exclusive
114 * RPM usage. Turning this on in kernel manifests as
115 * i2c failure for the RPM.
151 pinctrl-0 = <&nand_pins>;
152 pinctrl-names = "default";
156 compatible = "qcom,nandcs";
158 nand-ecc-strength = <4>;
159 nand-bus-width = <8>;
160 nand-ecc-step-size = <512>;
163 compatible = "fixed-partitions";
164 #address-cells = <1>;
169 reg = <0x0000000 0x0040000>;
175 reg = <0x0040000 0x0140000>;
181 reg = <0x0180000 0x0140000>;
187 reg = <0x02c0000 0x0280000>;
193 reg = <0x0540000 0x0120000>;
199 reg = <0x0660000 0x0120000>;
205 reg = <0x0780000 0x0280000>;
211 reg = <0x0a00000 0x0280000>;
217 reg = <0x0c80000 0x0140000>;
223 reg = <0x0dc0000 0x0100000>;
229 reg = <0x0ec0000 0x0040000>;
234 reg = <0x0f00000 0x0040000>;
239 reg = <0x0f40000 0x0040000>;
244 reg = <0x0f80000 0x2800000>; /* 3 MB spill to rootfs*/
249 reg = <0x1280000 0x2500000>;
254 reg = <0x3780000 0x2800000>;
259 reg = <0x3a80000 0x2500000>;
264 reg = <0x5f80000 0x2080000>;
273 pinctrl-0 = <&mdio0_pins>;
274 pinctrl-names = "default";
276 phy0: ethernet-phy@0 {
278 qca,ar8327-initvals = <
279 0x00004 0x7600000 /* PAD0_MODE */
280 0x00008 0x1000000 /* PAD5_MODE */
281 0x0000c 0x80 /* PAD6_MODE */
282 0x00010 0x2613a0 /* PWS_REG */
283 0x000e4 0x6a545 /* MAC_POWER_SEL */
284 0x000e0 0xc74164de /* SGMII_CTRL */
285 0x0007c 0x4e /* PORT0_STATUS */
286 0x00094 0x4e /* PORT6_STATUS */
290 phy4: ethernet-phy@4 {
299 qcom,phy_mdio_addr = <4>;
300 qcom,poll_required = <1>;
301 qcom,rgmii_delay = <0>;
302 qcom,emulation = <0>;
303 pinctrl-0 = <&rgmii2_pins>;
304 pinctrl-names = "default";
315 qcom,phy_mdio_addr = <0>; /* none */
316 qcom,poll_required = <0>; /* no polling */
317 qcom,rgmii_delay = <0>;
318 qcom,emulation = <0>;