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>;
167 compatible = "fixed-layout";
168 #address-cells = <1>;
171 precal_radio_1000: precal@1000 {
172 reg = <0x1000 0x2f20>;
175 precal_radio_5000: precal@5000 {
176 reg = <0x5000 0x2f20>;
183 reg = <0x1f0000 0x400000>;
188 reg = <0x5f0000 0x1900000>;
191 defaultmac: partition@1ef0000 {
192 label = "default-mac";
193 reg = <0x1ef0000 0x00200>;
197 compatible = "fixed-layout";
198 #address-cells = <1>;
201 macaddr_defaultmac_8: macaddr@8 {
202 compatible = "mac-base";
204 #nvmem-cell-cells = <1>;
211 reg = <0x1ef0200 0x00200>;
216 label = "product-info";
217 reg = <0x1ef0400 0x0fc00>;
222 label = "partition-table";
223 reg = <0x1f00000 0x10000>;
228 label = "soft-version";
229 reg = <0x1f10000 0x10000>;
234 label = "support-list";
235 reg = <0x1f20000 0x10000>;
241 reg = <0x1f30000 0x10000>;
246 label = "default-config";
247 reg = <0x1f40000 0x10000>;
252 label = "user-config";
253 reg = <0x1f50000 0x40000>;
259 reg = <0x1f90000 0x40000>;
264 label = "usb-config";
265 reg = <0x1fd0000 0x10000>;
271 reg = <0x1fe0000 0x20000>;
290 pinctrl-0 = <&usb0_pwr_en_pin>;
291 pinctrl-names = "default";
305 pinctrl-0 = <&usb1_pwr_en_pin>;
306 pinctrl-names = "default";
313 reg = <0x00000000 0 0 0 0>;
314 #address-cells = <3>;
319 compatible = "pci168c,0040";
320 reg = <0x00010000 0 0 0 0>;
322 nvmem-cells = <&macaddr_defaultmac_8 (-1)>, <&precal_radio_1000>;
323 nvmem-cell-names = "mac-address", "pre-calibration";
330 max-link-speed = <1>;
333 reg = <0x00000000 0 0 0 0>;
334 #address-cells = <3>;
339 compatible = "pci168c,0040";
340 reg = <0x00010000 0 0 0 0>;
342 nvmem-cells = <&macaddr_defaultmac_8 0>, <&precal_radio_5000>;
343 nvmem-cell-names = "mac-address", "pre-calibration";
351 pinctrl-0 = <&mdio0_pins>;
352 pinctrl-names = "default";
355 compatible = "qca,qca8337";
356 #address-cells = <1>;
361 #address-cells = <1>;
369 tx-internal-delay-ps = <1000>;
370 rx-internal-delay-ps = <1000>;
381 phy-mode = "internal";
382 phy-handle = <&phy_port1>;
388 phy-mode = "internal";
389 phy-handle = <&phy_port2>;
395 phy-mode = "internal";
396 phy-handle = <&phy_port3>;
402 phy-mode = "internal";
403 phy-handle = <&phy_port4>;
409 phy-mode = "internal";
410 phy-handle = <&phy_port5>;
418 qca,sgmii-enable-pll;
428 #address-cells = <1>;
459 pinctrl-0 = <&rgmii2_pins>;
460 pinctrl-names = "default";
462 nvmem-cells = <&macaddr_defaultmac_8 1>;
463 nvmem-cell-names = "mac-address";
476 nvmem-cells = <&macaddr_defaultmac_8 0>;
477 nvmem-cell-names = "mac-address";