1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/soc/qcom,tcsr.h>
7 #include <dt-bindings/leds/common.h>
11 bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1";
16 led-failsafe = &led_sys;
17 led-running = &led_sys;
18 led-upgrade = &led_sys;
23 compatible = "qcom,tcsr";
24 reg = <0x1949000 0x100>;
25 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
29 compatible = "qcom,tcsr";
30 reg = <0x194b000 0x100>;
31 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
35 compatible = "qcom,tcsr";
36 reg = <0x1953000 0x1000>;
37 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
41 compatible = "qcom,tcsr";
42 reg = <0x1957000 0x100>;
43 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
48 compatible = "gpio-leds";
51 gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
52 color = <LED_COLOR_ID_BLUE>;
53 function = LED_FUNCTION_POWER;
57 gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "phy0tpt";
59 color = <LED_COLOR_ID_BLUE>;
60 function = LED_FUNCTION_WLAN;
61 function-enumerator = <0>;
65 gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "phy1tpt";
67 color = <LED_COLOR_ID_BLUE>;
68 function = LED_FUNCTION_WLAN;
69 function-enumerator = <1>;
74 compatible = "gpio-keys";
78 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_RESTART>;
105 compatible = "jedec,spi-nor";
106 spi-max-frequency = <24000000>;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
121 reg = <0x40000 0x20000>;
127 reg = <0x60000 0x60000>;
133 reg = <0xc0000 0x10000>;
139 reg = <0xd0000 0x10000>;
145 reg = <0xe0000 0x10000>;
151 reg = <0xf0000 0x80000>;
157 reg = <0x170000 0x10000>;
161 compatible = "fixed-layout";
162 #address-cells = <1>;
165 precal_art_1000: precal@1000 {
166 reg = <0x1000 0x2f20>;
169 precal_art_5000: precal@5000 {
170 reg = <0x5000 0x2f20>;
183 compatible = "fixed-partitions";
184 #address-cells = <1>;
187 nand_rootfs: partition@0 {
189 /* reg defined in 64M/128M variant dts. */
196 pinctrl-0 = <&serial_0_pins>;
197 pinctrl-names = "default";
207 pinctrl-names = "default";
208 pinctrl-0 = <&pcie_pins>;
209 perst-gpio = <&tlmm 4 GPIO_ACTIVE_LOW>;
210 wake-gpio = <&tlmm 40 GPIO_ACTIVE_HIGH>;
212 /* Free slot for use */
214 reg = <0x00000000 0 0 0 0>;
215 #address-cells = <3>;
226 pinctrl-0 = <&sd_0_pins>;
227 pinctrl-names = "default";
228 vqmmc-supply = <&vqmmc>;
233 pcie_pins: pcie_pinmux {
242 mdio_pins: mdio_pinmux {
256 sd_0_pins: sd_0_pinmux {
258 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio28";
260 drive-strength = <10>;
266 drive-strength = <16>;
270 serial_0_pins: serial0-pinmux {
272 pins = "gpio16", "gpio17";
273 function = "blsp_uart0";
281 pinctrl-0 = <&mdio_pins>;
282 pinctrl-names = "default";
286 qcom,single-led-1000;
292 qcom,single-led-1000;
298 qcom,single-led-1000;
304 qcom,single-led-1000;
310 qcom,single-led-1000;
377 nvmem-cell-names = "pre-calibration";
378 nvmem-cells = <&precal_art_1000>;
379 qcom,ath10k-calibration-variant = "P&W-R619AC";
384 nvmem-cell-names = "pre-calibration";
385 nvmem-cells = <&precal_art_5000>;
386 qcom,ath10k-calibration-variant = "P&W-R619AC";