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>;
93 reg = <0x20000 0x20000>;
99 reg = <0x40000 0x20000>;
105 reg = <0x60000 0x30000>;
111 reg = <0x90000 0x10000>;
117 reg = <0xa0000 0x10000>;
123 reg = <0xb0000 0x30000>;
129 reg = <0xe0000 0x20000>;
135 reg = <0x100000 0x70000>;
141 reg = <0x170000 0x40000>;
147 reg = <0x1b0000 0x40000>;
153 reg = <0x1f0000 0x400000>;
158 reg = <0x5f0000 0x1900000>;
161 defaultmac: partition@1ef0000 {
162 label = "default-mac";
163 reg = <0x1ef0000 0x00200>;
169 reg = <0x1ef0200 0x00200>;
174 label = "product-info";
175 reg = <0x1ef0400 0x0fc00>;
180 label = "partition-table";
181 reg = <0x1f00000 0x10000>;
186 label = "soft-version";
187 reg = <0x1f10000 0x10000>;
192 label = "support-list";
193 reg = <0x1f20000 0x10000>;
199 reg = <0x1f30000 0x10000>;
204 label = "default-config";
205 reg = <0x1f40000 0x10000>;
210 label = "user-config";
211 reg = <0x1f50000 0x40000>;
217 reg = <0x1f90000 0x40000>;
222 label = "usb-config";
223 reg = <0x1fd0000 0x10000>;
229 reg = <0x1fe0000 0x20000>;
239 pinctrl-0 = <&usb0_pwr_en_pin>;
240 pinctrl-names = "default";
246 pinctrl-0 = <&usb1_pwr_en_pin>;
247 pinctrl-names = "default";
256 max-link-speed = <1>;
262 pinctrl-0 = <&mdio0_pins>;
263 pinctrl-names = "default";
265 phy0: ethernet-phy@0 {
267 qca,ar8327-initvals = <
268 0x00004 0x7600000 /* PAD0_MODE */
269 0x00008 0x1000000 /* PAD5_MODE */
270 0x0000c 0x80 /* PAD6_MODE */
271 0x000e4 0x6a545 /* MAC_POWER_SEL */
272 0x000e0 0xc74164de /* SGMII_CTRL */
273 0x0007c 0x4e /* PORT0_STATUS */
274 0x00094 0x4e /* PORT6_STATUS */
278 phy4: ethernet-phy@4 {
288 pinctrl-0 = <&rgmii2_pins>;
289 pinctrl-names = "default";
291 mtd-mac-address = <&defaultmac 0x8>;
292 mtd-mac-address-increment = <1>;
305 mtd-mac-address = <&defaultmac 0x8>;