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>
9 compatible = "unielec,u4019","qcom,ipq4019";
18 pinctrl-0 = <&mdio_pins>;
19 pinctrl-names = "default";
20 reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
21 reset-delay-us = <2000>;
29 compatible = "qcom,tcsr";
30 reg = <0x1949000 0x100>;
31 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
35 compatible = "qcom,tcsr";
36 reg = <0x194b000 0x100>;
37 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
42 compatible = "qcom,tcsr";
43 reg = <0x1953000 0x1000>;
44 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
48 compatible = "qcom,tcsr";
49 reg = <0x1957000 0x100>;
50 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
62 #trigger-source-cells = <0>;
76 #trigger-source-cells = <0>;
81 #trigger-source-cells = <0>;
99 led-boot = &led_status;
100 led-failsafe = &led_status;
101 led-running = &led_status;
102 led-upgrade = &led_status;
103 serial0 = &blsp1_uart1;
104 serial1 = &blsp1_uart2;
108 compatible = "gpio-leds";
109 pinctrl-0 = <&led_pins>;
110 pinctrl-names = "default";
113 label = "green:led2";
114 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
119 compatible = "gpio-keys";
123 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_RESTART>;
135 pinctrl-0 = <&serial_0_pins>;
136 pinctrl-names = "default";
141 pinctrl-0 = <&serial_1_pins>;
142 pinctrl-names = "default";
151 mdio_pins: mdio_pinmux {
164 serial_0_pins: serial0-pinmux {
166 pins = "gpio16", "gpio17";
167 function = "blsp_uart0";
171 serial_1_pins: serial1_pinmux {
173 pins = "gpio8", "gpio9";
174 function = "blsp_uart1";
179 spi_0_pins: spi_0_pinmux {
181 function = "blsp_spi0";
182 pins = "gpio13", "gpio14", "gpio15";
183 drive-strength = <12>;
190 drive-strength = <2>;
196 led_pins: led_pinmux {
220 nvmem-cell-names = "pre-calibration";
221 nvmem-cells = <&precal_art_1000>;
226 nvmem-cell-names = "pre-calibration";
227 nvmem-cells = <&precal_art_5000>;