1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq8064-v2.0-smb208.dtsi"
5 #include <dt-bindings/input/input.h>
9 reg = <0x42000000 0x1e000000>;
10 device_type = "memory";
15 compatible = "ramoops";
16 reg = <0x42100000 0x40000>;
17 record-size = <0x4000>;
18 console-size = <0x4000>;
19 ftrace-size = <0x4000>;
26 label-mac-device = &gmac2;
33 pins = "gpio18", "gpio19", "gpio21";
39 pins = "gpio18", "gpio19";
40 drive-strength = <10>;
46 drive-strength = <10>;
52 drive-strength = <12>;
56 usb0_pwr_en_pin: usb0_pwr_en_pin {
60 drive-strength = <10>;
66 usb1_pwr_en_pin: usb1_pwr_en_pin {
70 drive-strength = <10>;
78 qcom,mode = <GSBI_PROT_SPI>;
84 pinctrl-0 = <&spi_pins>;
85 pinctrl-names = "default";
87 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
90 compatible = "jedec,spi-nor";
93 spi-max-frequency = <50000000>;
97 compatible = "fixed-partitions";
109 reg = <0x20000 0x20000>;
115 reg = <0x40000 0x20000>;
121 reg = <0x60000 0x30000>;
127 reg = <0x90000 0x10000>;
133 reg = <0xa0000 0x10000>;
139 reg = <0xb0000 0x30000>;
145 reg = <0xe0000 0x20000>;
151 reg = <0x100000 0x70000>;
157 reg = <0x170000 0x40000>;
163 reg = <0x1b0000 0x40000>;
165 compatible = "nvmem-cells";
166 #address-cells = <1>;
169 precal_radio_1000: precal@1000 {
170 reg = <0x1000 0x2f20>;
173 precal_radio_5000: precal@5000 {
174 reg = <0x5000 0x2f20>;
180 reg = <0x1f0000 0x400000>;
185 reg = <0x5f0000 0x1900000>;
188 defaultmac: partition@1ef0000 {
189 label = "default-mac";
190 reg = <0x1ef0000 0x00200>;
196 reg = <0x1ef0200 0x00200>;
201 label = "product-info";
202 reg = <0x1ef0400 0x0fc00>;
207 label = "partition-table";
208 reg = <0x1f00000 0x10000>;
213 label = "soft-version";
214 reg = <0x1f10000 0x10000>;
219 label = "support-list";
220 reg = <0x1f20000 0x10000>;
226 reg = <0x1f30000 0x10000>;
231 label = "default-config";
232 reg = <0x1f40000 0x10000>;
237 label = "user-config";
238 reg = <0x1f50000 0x40000>;
244 reg = <0x1f90000 0x40000>;
249 label = "usb-config";
250 reg = <0x1fd0000 0x10000>;
256 reg = <0x1fe0000 0x20000>;
275 pinctrl-0 = <&usb0_pwr_en_pin>;
276 pinctrl-names = "default";
290 pinctrl-0 = <&usb1_pwr_en_pin>;
291 pinctrl-names = "default";
298 reg = <0x00000000 0 0 0 0>;
299 #address-cells = <3>;
304 compatible = "pci168c,0040";
305 reg = <0x00010000 0 0 0 0>;
307 nvmem-cells = <&macaddr_defaultmac_8>, <&precal_radio_1000>;
308 nvmem-cell-names = "mac-address", "pre-calibration";
309 mac-address-increment = <(-1)>;
316 max-link-speed = <1>;
319 reg = <0x00000000 0 0 0 0>;
320 #address-cells = <3>;
325 compatible = "pci168c,0040";
326 reg = <0x00010000 0 0 0 0>;
328 nvmem-cells = <&macaddr_defaultmac_8>, <&precal_radio_5000>;
329 nvmem-cell-names = "mac-address", "pre-calibration";
337 pinctrl-0 = <&mdio0_pins>;
338 pinctrl-names = "default";
340 phy0: ethernet-phy@0 {
342 qca,ar8327-initvals = <
343 0x00004 0x7600000 /* PAD0_MODE */
344 0x00008 0x1000000 /* PAD5_MODE */
345 0x0000c 0x80 /* PAD6_MODE */
346 0x000e4 0x6a545 /* MAC_POWER_SEL */
347 0x000e0 0xc74164de /* SGMII_CTRL */
348 0x0007c 0x4e /* PORT0_STATUS */
349 0x00094 0x4e /* PORT6_STATUS */
353 phy4: ethernet-phy@4 {
363 pinctrl-0 = <&rgmii2_pins>;
364 pinctrl-names = "default";
366 nvmem-cells = <&macaddr_defaultmac_8>;
367 nvmem-cell-names = "mac-address";
368 mac-address-increment = <1>;
381 nvmem-cells = <&macaddr_defaultmac_8>;
382 nvmem-cell-names = "mac-address";
395 compatible = "nvmem-cells";
396 #address-cells = <1>;
399 macaddr_defaultmac_8: macaddr@8 {