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;
28 pinctrl-0 = <&mdio_pins>;
29 pinctrl-names = "default";
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x194b000 0x100>;
41 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
45 compatible = "qcom,tcsr";
46 reg = <0x1953000 0x1000>;
47 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
51 compatible = "qcom,tcsr";
52 reg = <0x1957000 0x100>;
53 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
74 compatible = "gpio-leds";
78 gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
79 color = <LED_COLOR_ID_BLUE>;
80 function = LED_FUNCTION_POWER;
84 label = "blue:wlan2g";
85 gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
86 linux,default-trigger = "phy0tpt";
87 color = <LED_COLOR_ID_BLUE>;
88 function = LED_FUNCTION_WLAN;
89 function-enumerator = <0>;
93 label = "blue:wlan5g";
94 gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
95 linux,default-trigger = "phy1tpt";
96 color = <LED_COLOR_ID_BLUE>;
97 function = LED_FUNCTION_WLAN;
98 function-enumerator = <1>;
103 compatible = "gpio-keys";
107 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_RESTART>;
122 compatible = "jedec,spi-nor";
123 spi-max-frequency = <24000000>;
126 compatible = "fixed-partitions";
127 #address-cells = <1>;
138 reg = <0x40000 0x20000>;
144 reg = <0x60000 0x60000>;
150 reg = <0xc0000 0x10000>;
156 reg = <0xd0000 0x10000>;
162 reg = <0xe0000 0x10000>;
168 reg = <0xf0000 0x80000>;
174 reg = <0x170000 0x10000>;
178 compatible = "fixed-layout";
179 #address-cells = <1>;
182 precal_art_1000: precal@1000 {
183 reg = <0x1000 0x2f20>;
186 precal_art_5000: precal@5000 {
187 reg = <0x5000 0x2f20>;
200 compatible = "fixed-partitions";
201 #address-cells = <1>;
204 nand_rootfs: partition@0 {
206 /* reg defined in 64M/128M variant dts. */
213 pinctrl-0 = <&serial_0_pins>;
214 pinctrl-names = "default";
224 pinctrl-names = "default";
225 pinctrl-0 = <&pcie_pins>;
226 perst-gpio = <&tlmm 4 GPIO_ACTIVE_LOW>;
227 wake-gpio = <&tlmm 40 GPIO_ACTIVE_HIGH>;
229 /* Free slot for use */
231 reg = <0x00000000 0 0 0 0>;
232 #address-cells = <3>;
243 pinctrl-0 = <&sd_0_pins>;
244 pinctrl-names = "default";
245 vqmmc-supply = <&vqmmc>;
250 pcie_pins: pcie_pinmux {
259 mdio_pins: mdio_pinmux {
273 sd_0_pins: sd_0_pinmux {
275 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio28";
277 drive-strength = <10>;
283 drive-strength = <16>;
287 serial_0_pins: serial0-pinmux {
289 pins = "gpio16", "gpio17";
290 function = "blsp_uart0";
297 qcom,single-led-1000;
303 qcom,single-led-1000;
309 qcom,single-led-1000;
315 qcom,single-led-1000;
321 qcom,single-led-1000;
380 nvmem-cell-names = "pre-calibration";
381 nvmem-cells = <&precal_art_1000>;
382 qcom,ath10k-calibration-variant = "P&W-R619AC";
387 nvmem-cell-names = "pre-calibration";
388 nvmem-cells = <&precal_art_5000>;
389 qcom,ath10k-calibration-variant = "P&W-R619AC";