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";
341 compatible = "qca,qca8337";
342 #address-cells = <1>;
347 #address-cells = <1>;
355 tx-internal-delay-ps = <1000>;
356 rx-internal-delay-ps = <1000>;
367 phy-mode = "internal";
368 phy-handle = <&phy_port1>;
374 phy-mode = "internal";
375 phy-handle = <&phy_port2>;
381 phy-mode = "internal";
382 phy-handle = <&phy_port3>;
388 phy-mode = "internal";
389 phy-handle = <&phy_port4>;
395 phy-mode = "internal";
396 phy-handle = <&phy_port5>;
417 #address-cells = <1>;
448 pinctrl-0 = <&rgmii2_pins>;
449 pinctrl-names = "default";
451 nvmem-cells = <&macaddr_defaultmac_8>;
452 nvmem-cell-names = "mac-address";
453 mac-address-increment = <1>;
466 nvmem-cells = <&macaddr_defaultmac_8>;
467 nvmem-cell-names = "mac-address";
480 compatible = "nvmem-cells";
481 #address-cells = <1>;
484 macaddr_defaultmac_8: macaddr@8 {