1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "linksys,ea4500-v3", "qca,qca9558";
10 model = "Linksys EA4500 v3";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = ð1;
21 compatible = "gpio-leds";
24 label = "green:system";
25 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
31 compatible = "gpio-keys";
35 linux,code = <KEY_RESTART>;
36 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 debounce-interval = <60>;
53 compatible = "pci168c,0033";
54 reg = <0x0000 0 0 0 0>;
55 nvmem-cells = <&cal_ath9k_pci>;
56 nvmem-cell-names = "calibration";
72 compatible = "fixed-partitions";
85 reg = <0x100000 0x40000>;
90 reg = <0x140000 0x40000>;
94 compatible = "fixed-layout";
98 cal_macaddr: macaddr@0 {
102 cal_ath9k_soc: cal_ath9k@1000 {
103 reg = <0x1000 0x440>;
106 cal_ath9k_pci: cal_ath9k@5000 {
107 reg = <0x5000 0x440>;
114 reg = <0x180000 0x40000>;
120 reg = <0x1c0000 0x100000>;
126 reg = <0x2c0000 0x5000000>;
128 compatible = "fixed-partitions";
129 #address-cells = <1>;
134 reg = <0x0 0x400000>;
139 reg = <0x400000 0x4c00000>;
142 /* Original layout for secondary partitions */
143 /* partition@2800000 {
145 reg = <0x2800000 0x400000>;
150 reg = <0x2c00000 0x2400000>;
156 reg = <0x52c0000 0x2d40000>;
165 phy0: ethernet-phy@0 {
168 qca,ar8327-initvals = <
169 0x04 0x07600000 /* PORT0 PAD MODE CTRL: RGMII, to eth0 */
170 0x0c 0x00000080 /* PORT6 PAD MODE CTRL: SGMII, to eth1 */
171 0x50 0xc833c833 /* LED_CTRL0: orange, blinking with act */
172 0x54 0xcf85cf85 /* LED_CTRL1: green, on with link */
173 0x58 0x00000000 /* LED_CTRL2: unpopulated */
174 0x5c 0x00f3cf00 /* LED_CTRL3: enable led 0 and 1 */
175 0x7c 0x0000007e /* PORT0_STATUS */
176 0x94 0x0000007e /* PORT6 STATUS */
184 nvmem-cells = <&cal_macaddr>;
185 nvmem-cell-names = "mac-address";
186 phy-handle = <&phy0>;
187 pll-data = <0x96000000 0x00000101 0x00001616>;
198 nvmem-cells = <&cal_macaddr>;
199 nvmem-cell-names = "mac-address";
200 pll-data = <0x03000101 0x00000101 0x00001616>;
211 nvmem-cells = <&cal_ath9k_soc>;
212 nvmem-cell-names = "calibration";