1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq8064-v2.0.dtsi"
5 #include <dt-bindings/input/input.h>
9 reg = <0x42000000 0x1e000000>;
10 device_type = "memory";
15 label-mac-device = &gmac2;
22 pins = "gpio18", "gpio19", "gpio21";
28 pins = "gpio18", "gpio19";
29 drive-strength = <10>;
35 drive-strength = <10>;
41 drive-strength = <12>;
45 usb0_pwr_en_pin: usb0_pwr_en_pin {
49 drive-strength = <10>;
55 usb1_pwr_en_pin: usb1_pwr_en_pin {
59 drive-strength = <10>;
67 qcom,mode = <GSBI_PROT_SPI>;
73 pinctrl-0 = <&spi_pins>;
74 pinctrl-names = "default";
76 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
79 compatible = "jedec,spi-nor";
82 spi-max-frequency = <50000000>;
86 compatible = "fixed-partitions";
98 reg = <0x20000 0x20000>;
104 reg = <0x40000 0x20000>;
110 reg = <0x60000 0x30000>;
116 reg = <0x90000 0x10000>;
122 reg = <0xa0000 0x10000>;
128 reg = <0xb0000 0x30000>;
134 reg = <0xe0000 0x20000>;
140 reg = <0x100000 0x70000>;
146 reg = <0x170000 0x40000>;
152 reg = <0x1b0000 0x40000>;
158 reg = <0x1f0000 0x400000>;
163 reg = <0x5f0000 0x1900000>;
166 defaultmac: partition@1ef0000 {
167 label = "default-mac";
168 reg = <0x1ef0000 0x00200>;
174 reg = <0x1ef0200 0x00200>;
179 label = "product-info";
180 reg = <0x1ef0400 0x0fc00>;
185 label = "partition-table";
186 reg = <0x1f00000 0x10000>;
191 label = "soft-version";
192 reg = <0x1f10000 0x10000>;
197 label = "support-list";
198 reg = <0x1f20000 0x10000>;
204 reg = <0x1f30000 0x10000>;
209 label = "default-config";
210 reg = <0x1f40000 0x10000>;
215 label = "user-config";
216 reg = <0x1f50000 0x40000>;
222 reg = <0x1f90000 0x40000>;
227 label = "usb-config";
228 reg = <0x1fd0000 0x10000>;
234 reg = <0x1fe0000 0x20000>;
245 pinctrl-0 = <&usb0_pwr_en_pin>;
246 pinctrl-names = "default";
252 pinctrl-0 = <&usb1_pwr_en_pin>;
253 pinctrl-names = "default";
262 max-link-speed = <1>;
268 pinctrl-0 = <&mdio0_pins>;
269 pinctrl-names = "default";
271 phy0: ethernet-phy@0 {
273 qca,ar8327-initvals = <
274 0x00004 0x7600000 /* PAD0_MODE */
275 0x00008 0x1000000 /* PAD5_MODE */
276 0x0000c 0x80 /* PAD6_MODE */
277 0x000e4 0x6a545 /* MAC_POWER_SEL */
278 0x000e0 0xc74164de /* SGMII_CTRL */
279 0x0007c 0x4e /* PORT0_STATUS */
280 0x00094 0x4e /* PORT6_STATUS */
284 phy4: ethernet-phy@4 {
294 pinctrl-0 = <&rgmii2_pins>;
295 pinctrl-names = "default";
297 nvmem-cells = <&macaddr_defaultmac_8>;
298 nvmem-cell-names = "mac-address";
299 mac-address-increment = <1>;
312 nvmem-cells = <&macaddr_defaultmac_8>;
313 nvmem-cell-names = "mac-address";
326 compatible = "nvmem-cells";
327 #address-cells = <1>;
330 macaddr_defaultmac_8: macaddr@8 {