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 phy-reset-gpio = <&tlmm 47 0>;
28 compatible = "qcom,tcsr";
29 reg = <0x1949000 0x100>;
30 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
34 compatible = "qcom,tcsr";
35 reg = <0x194b000 0x100>;
36 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
41 compatible = "qcom,tcsr";
42 reg = <0x1953000 0x1000>;
43 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
47 compatible = "qcom,tcsr";
48 reg = <0x1957000 0x100>;
49 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
61 #trigger-source-cells = <0>;
75 #trigger-source-cells = <0>;
80 #trigger-source-cells = <0>;
98 led-boot = &led_status;
99 led-failsafe = &led_status;
100 led-running = &led_status;
101 led-upgrade = &led_status;
102 serial0 = &blsp1_uart1;
103 serial1 = &blsp1_uart2;
107 compatible = "gpio-leds";
108 pinctrl-0 = <&led_pins>;
109 pinctrl-names = "default";
112 label = "u4019:green:led2";
113 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
118 compatible = "gpio-keys";
122 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_RESTART>;
134 pinctrl-0 = <&serial_0_pins>;
135 pinctrl-names = "default";
140 pinctrl-0 = <&serial_1_pins>;
141 pinctrl-names = "default";
150 mdio_pins: mdio_pinmux {
163 serial_0_pins: serial0-pinmux {
165 pins = "gpio16", "gpio17";
166 function = "blsp_uart0";
170 serial_1_pins: serial1_pinmux {
172 pins = "gpio8", "gpio9";
173 function = "blsp_uart1";
178 spi_0_pins: spi_0_pinmux {
180 function = "blsp_spi0";
181 pins = "gpio13", "gpio14", "gpio15";
182 drive-strength = <12>;
189 drive-strength = <2>;
195 led_pins: led_pinmux {