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;
28 pinctrl-0 = <&mdio_pins>;
29 pinctrl-names = "default";
30 reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
31 reset-delay-us = <2000>;
35 compatible = "qcom,tcsr";
36 reg = <0x1949000 0x100>;
37 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
41 compatible = "qcom,tcsr";
42 reg = <0x194b000 0x100>;
43 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
48 compatible = "qcom,tcsr";
49 reg = <0x1953000 0x1000>;
50 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
54 compatible = "qcom,tcsr";
55 reg = <0x1957000 0x100>;
56 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
68 #trigger-source-cells = <0>;
82 #trigger-source-cells = <0>;
87 #trigger-source-cells = <0>;
97 compatible = "gpio-leds";
98 pinctrl-0 = <&led_pins>;
99 pinctrl-names = "default";
102 function = LED_FUNCTION_STATUS;
103 color = <LED_COLOR_ID_GREEN>;
104 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
109 compatible = "gpio-keys";
113 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_RESTART>;
125 pinctrl-0 = <&serial_0_pins>;
126 pinctrl-names = "default";
131 pinctrl-0 = <&serial_1_pins>;
132 pinctrl-names = "default";
141 mdio_pins: mdio_pinmux {
154 serial_0_pins: serial0-pinmux {
156 pins = "gpio16", "gpio17";
157 function = "blsp_uart0";
161 serial_1_pins: serial1_pinmux {
163 pins = "gpio8", "gpio9";
164 function = "blsp_uart1";
169 spi_0_pins: spi_0_pinmux {
171 function = "blsp_spi0";
172 pins = "gpio13", "gpio14", "gpio15";
173 drive-strength = <12>;
180 drive-strength = <2>;
186 led_pins: led_pinmux {
210 nvmem-cell-names = "pre-calibration";
211 nvmem-cells = <&precal_art_1000>;
216 nvmem-cell-names = "pre-calibration";
217 nvmem-cells = <&precal_art_5000>;