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>;
25 compatible = "qcom,tcsr";
26 reg = <0x1949000 0x100>;
27 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
31 compatible = "qcom,tcsr";
32 reg = <0x194b000 0x100>;
33 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
38 compatible = "qcom,tcsr";
39 reg = <0x1953000 0x1000>;
40 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
44 compatible = "qcom,tcsr";
45 reg = <0x1957000 0x100>;
46 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
54 led-boot = &led_status;
55 led-failsafe = &led_status;
56 led-running = &led_status;
57 led-upgrade = &led_status;
58 serial0 = &blsp1_uart1;
59 serial1 = &blsp1_uart2;
63 compatible = "gpio-leds";
64 pinctrl-0 = <&led_pins>;
65 pinctrl-names = "default";
69 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys";
78 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_RESTART>;
90 pinctrl-0 = <&serial_0_pins>;
91 pinctrl-names = "default";
96 pinctrl-0 = <&serial_1_pins>;
97 pinctrl-names = "default";
106 mdio_pins: mdio_pinmux {
119 serial_0_pins: serial0-pinmux {
121 pins = "gpio16", "gpio17";
122 function = "blsp_uart0";
126 serial_1_pins: serial1_pinmux {
128 pins = "gpio8", "gpio9";
129 function = "blsp_uart1";
134 spi_0_pins: spi_0_pinmux {
136 function = "blsp_spi0";
137 pins = "gpio13", "gpio14", "gpio15";
138 drive-strength = <12>;
145 drive-strength = <2>;
151 led_pins: led_pinmux {
174 #address-cells = <1>;
179 #trigger-source-cells = <0>;
184 #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>;