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/leds/common.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
10 compatible = "tel,x1pro","qcom,ipq4019";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
16 serial0 = &blsp1_uart1;
17 serial1 = &blsp1_uart2;
23 pinctrl-0 = <&mdio_pins>;
24 pinctrl-names = "default";
25 reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
26 reset-delay-us = <2000>;
30 compatible = "qcom,tcsr";
31 reg = <0x1949000 0x100>;
32 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
36 compatible = "qcom,tcsr";
37 reg = <0x194b000 0x100>;
38 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
43 compatible = "qcom,tcsr";
44 reg = <0x1953000 0x1000>;
45 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
49 compatible = "qcom,tcsr";
50 reg = <0x1957000 0x100>;
51 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
55 compatible = "gpio-leds";
56 pinctrl-0 = <&led_pins>;
57 pinctrl-names = "default";
60 function = LED_FUNCTION_STATUS;
61 color = <LED_COLOR_ID_GREEN>;
62 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-keys";
71 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
91 pinctrl-0 = <&serial_0_pins>;
92 pinctrl-names = "default";
97 pinctrl-0 = <&serial_1_pins>;
98 pinctrl-names = "default";
107 mdio_pins: mdio_pinmux {
120 serial_0_pins: serial0-pinmux {
122 pins = "gpio16", "gpio17";
123 function = "blsp_uart0";
127 serial_1_pins: serial1_pinmux {
129 pins = "gpio8", "gpio9";
130 function = "blsp_uart1";
135 spi_0_pins: spi_0_pinmux {
137 function = "blsp_spi0";
138 pins = "gpio13", "gpio14", "gpio15";
139 drive-strength = <12>;
146 drive-strength = <2>;
152 led_pins: led_pinmux {
175 #address-cells = <1>;
180 #trigger-source-cells = <0>;
185 #trigger-source-cells = <0>;
197 #address-cells = <1>;
202 #trigger-source-cells = <0>;
209 nvmem-cell-names = "pre-calibration";
210 nvmem-cells = <&precal_art_1000>;
215 nvmem-cell-names = "pre-calibration";
216 nvmem-cells = <&precal_art_5000>;