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>
10 bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1";
15 led-failsafe = &led_sys;
16 led-running = &led_sys;
17 led-upgrade = &led_sys;
18 label-mac-device = &gmac0;
28 pinctrl-0 = <&mdio_pins>;
29 pinctrl-names = "default";
37 compatible = "qcom,tcsr";
38 reg = <0x1949000 0x100>;
39 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
43 compatible = "qcom,tcsr";
44 reg = <0x194b000 0x100>;
45 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
49 compatible = "qcom,tcsr";
50 reg = <0x1953000 0x1000>;
51 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
55 compatible = "qcom,tcsr";
56 reg = <0x1957000 0x100>;
57 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
86 compatible = "gpio-leds";
90 gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
91 color = <LED_COLOR_ID_BLUE>;
92 function = LED_FUNCTION_POWER;
96 label = "blue:wlan2g";
97 gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
98 linux,default-trigger = "phy0tpt";
99 color = <LED_COLOR_ID_BLUE>;
100 function = LED_FUNCTION_WLAN;
101 function-enumerator = <0>;
105 label = "blue:wlan5g";
106 gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
107 linux,default-trigger = "phy1tpt";
108 color = <LED_COLOR_ID_BLUE>;
109 function = LED_FUNCTION_WLAN;
110 function-enumerator = <1>;
115 compatible = "gpio-keys";
119 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
120 linux,code = <KEY_RESTART>;
134 compatible = "jedec,spi-nor";
135 spi-max-frequency = <24000000>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
150 reg = <0x40000 0x20000>;
156 reg = <0x60000 0x60000>;
162 reg = <0xc0000 0x10000>;
168 reg = <0xd0000 0x10000>;
174 reg = <0xe0000 0x10000>;
180 reg = <0xf0000 0x80000>;
186 reg = <0x170000 0x10000>;
198 compatible = "fixed-partitions";
199 #address-cells = <1>;
202 nand_rootfs: partition@0 {
204 /* reg defined in 64M/128M variant dts. */
211 pinctrl-0 = <&serial_0_pins>;
212 pinctrl-names = "default";
222 pinctrl-names = "default";
223 pinctrl-0 = <&pcie_pins>;
224 perst-gpio = <&tlmm 4 GPIO_ACTIVE_LOW>;
225 wake-gpio = <&tlmm 40 GPIO_ACTIVE_HIGH>;
227 /* Free slot for use */
229 reg = <0x00000000 0 0 0 0>;
230 #address-cells = <3>;
241 pinctrl-0 = <&sd_0_pins>;
242 pinctrl-names = "default";
243 vqmmc-supply = <&vqmmc>;
248 pcie_pins: pcie_pinmux {
257 mdio_pins: mdio_pinmux {
271 sd_0_pins: sd_0_pinmux {
273 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio28";
275 drive-strength = <10>;
281 drive-strength = <16>;
285 serial_0_pins: serial0-pinmux {
287 pins = "gpio16", "gpio17";
288 function = "blsp_uart0";
295 qcom,single-led-1000;
301 qcom,single-led-1000;
307 qcom,single-led-1000;
313 qcom,single-led-1000;
319 qcom,single-led-1000;
342 qcom,ath10k-calibration-variant = "P&W R619AC";
347 qcom,ath10k-calibration-variant = "P&W R619AC";