1 // SPDX-License-Identifier: GPL-2.0-or-later
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>
10 model = "EnGenius EMD1";
11 compatible = "engenius,emd1";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
26 compatible = "qcom,tcsr";
27 reg = <0x1949000 0x100>;
28 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
32 compatible = "qcom,tcsr";
33 reg = <0x1953000 0x1000>;
34 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
38 compatible = "qcom,tcsr";
39 reg = <0x1957000 0x100>;
40 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
49 compatible = "gpio-keys";
53 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 compatible = "gpio-leds";
62 function = LED_FUNCTION_POWER;
63 color = <LED_COLOR_ID_WHITE>;
64 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
69 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
70 linux,default-trigger = "phy0tpt";
74 label = "blue:wlan5g";
75 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
76 linux,default-trigger = "phy1tpt";
80 label = "orange:mesh";
81 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
95 serial_pins: serial_pinmux {
97 pins = "gpio60", "gpio61";
98 function = "blsp_uart0";
103 spi_0_pins: spi_0_pinmux {
105 function = "blsp_spi0";
106 pins = "gpio54", "gpio55", "gpio56", "gpio57";
107 drive-strength = <12>;
114 drive-strength = <2>;
126 pinctrl-0 = <&spi_0_pins>;
127 pinctrl-names = "default";
129 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
132 compatible = "jedec,spi-nor";
134 spi-max-frequency = <24000000>;
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
142 reg = <0x00000000 0x00040000>;
147 reg = <0x00040000 0x00020000>;
152 reg = <0x00060000 0x00060000>;
157 reg = <0x000c0000 0x00010000>;
161 label = "0:DDRPARAMS";
162 reg = <0x000d0000 0x00010000>;
166 label = "0:APPSBLENV";
167 reg = <0x000e0000 0x00010000>;
172 reg = <0x000f0000 0x00080000>;
177 reg = <0x00170000 0x00010000>;
181 label = "userconfig";
182 reg = <0x00180000 0x00080000>;
186 compatible = "denx,fit";
188 reg = <0x200000 0x01e00000>;
195 pinctrl-0 = <&serial_pins>;
196 pinctrl-names = "default";
206 qcom,ath10k-calibration-variant = "EnGenius-EMD1";
211 qcom,ath10k-calibration-variant = "EnGenius-EMD1";