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>
10 compatible = "yyets,le1";
14 led-failsafe = &led_usb;
15 led-upgrade = &led_usb;
19 label-mac-device = &gmac;
23 compatible = "gpio-keys";
27 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
37 gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "usbport";
39 trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
43 label = "green:wlan2g";
44 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
49 label = "green:wlan5g";
50 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy1tpt";
57 compatible = "qcom,tcsr";
58 reg = <0x1949000 0x100>;
59 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
63 compatible = "qcom,tcsr";
64 reg = <0x194b000 0x100>;
65 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
69 compatible = "qcom,tcsr";
70 reg = <0x1953000 0x1000>;
71 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
75 compatible = "qcom,tcsr";
76 reg = <0x1957000 0x100>;
77 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
87 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
88 pinctrl-0 = <&spi_0_pins>;
89 pinctrl-names = "default";
93 compatible = "jedec,spi-nor";
97 spi-max-frequency = <24000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
112 reg = <0x40000 0x20000>;
118 reg = <0x60000 0x60000>;
124 reg = <0xc0000 0x10000>;
130 reg = <0xd0000 0x10000>;
136 reg = <0xe0000 0x10000>;
142 reg = <0xf0000 0x80000>;
148 reg = <0x170000 0x10000>;
152 compatible = "fixed-layout";
153 #address-cells = <1>;
156 precal_art_1000: precal@1000 {
157 reg = <0x1000 0x2f20>;
160 precal_art_5000: precal@5000 {
161 reg = <0x5000 0x2f20>;
167 compatible = "denx,fit";
169 reg = <0x180000 0x1e80000>;
176 pinctrl-0 = <&serial_pins>;
177 pinctrl-names = "default";
194 pinctrl-0 = <&mdio_pins>;
195 pinctrl-names = "default";
228 mdio_pins: mdio_pinmux {
241 serial_pins: serial_pinmux {
243 pins = "gpio16", "gpio17";
244 function = "blsp_uart0";
249 spi_0_pins: spi_0_pinmux {
251 function = "blsp_spi0";
252 pins = "gpio13", "gpio14", "gpio15";
253 drive-strength = <12>;
260 drive-strength = <2>;
271 #address-cells = <1>;
276 #trigger-source-cells = <0>;
289 #address-cells = <1>;
294 #trigger-source-cells = <0>;
299 #trigger-source-cells = <0>;
318 nvmem-cells = <&precal_art_1000>;
319 nvmem-cell-names = "pre-calibration";
320 qcom,ath10k-calibration-variant = "YYeTs-LE1";
325 nvmem-cells = <&precal_art_5000>;
326 nvmem-cell-names = "pre-calibration";
327 qcom,ath10k-calibration-variant = "YYeTs-LE1";