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>
11 compatible = "yyets,le1";
15 led-failsafe = &led_usb;
16 led-upgrade = &led_usb;
20 label-mac-device = &gmac;
24 compatible = "gpio-keys";
28 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 function = LED_FUNCTION_USB;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "usbport";
41 trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
45 label = "green:wlan2g";
46 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
51 label = "green:wlan5g";
52 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy1tpt";
59 compatible = "qcom,tcsr";
60 reg = <0x1949000 0x100>;
61 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
65 compatible = "qcom,tcsr";
66 reg = <0x194b000 0x100>;
67 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
71 compatible = "qcom,tcsr";
72 reg = <0x1953000 0x1000>;
73 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
77 compatible = "qcom,tcsr";
78 reg = <0x1957000 0x100>;
79 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
89 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
90 pinctrl-0 = <&spi_0_pins>;
91 pinctrl-names = "default";
95 compatible = "jedec,spi-nor";
99 spi-max-frequency = <24000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
114 reg = <0x40000 0x20000>;
120 reg = <0x60000 0x60000>;
126 reg = <0xc0000 0x10000>;
132 reg = <0xd0000 0x10000>;
138 reg = <0xe0000 0x10000>;
144 reg = <0xf0000 0x80000>;
150 reg = <0x170000 0x10000>;
154 compatible = "fixed-layout";
155 #address-cells = <1>;
158 precal_art_1000: precal@1000 {
159 reg = <0x1000 0x2f20>;
162 precal_art_5000: precal@5000 {
163 reg = <0x5000 0x2f20>;
169 compatible = "denx,fit";
171 reg = <0x180000 0x1e80000>;
178 pinctrl-0 = <&serial_pins>;
179 pinctrl-names = "default";
196 pinctrl-0 = <&mdio_pins>;
197 pinctrl-names = "default";
230 mdio_pins: mdio_pinmux {
243 serial_pins: serial_pinmux {
245 pins = "gpio16", "gpio17";
246 function = "blsp_uart0";
251 spi_0_pins: spi_0_pinmux {
253 function = "blsp_spi0";
254 pins = "gpio13", "gpio14", "gpio15";
255 drive-strength = <12>;
262 drive-strength = <2>;
273 #address-cells = <1>;
278 #trigger-source-cells = <0>;
291 #address-cells = <1>;
296 #trigger-source-cells = <0>;
301 #trigger-source-cells = <0>;
320 nvmem-cells = <&precal_art_1000>;
321 nvmem-cell-names = "pre-calibration";
322 qcom,ath10k-calibration-variant = "YYeTs-LE1";
327 nvmem-cells = <&precal_art_5000>;
328 nvmem-cell-names = "pre-calibration";
329 qcom,ath10k-calibration-variant = "YYeTs-LE1";