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/soc/qcom,tcsr.h>
9 model = "EnGenius EMD1";
10 compatible = "engenius,emd1";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
29 compatible = "qcom,tcsr";
30 reg = <0x1949000 0x100>;
31 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
35 compatible = "qcom,tcsr";
36 reg = <0x1953000 0x1000>;
37 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
41 compatible = "qcom,tcsr";
42 reg = <0x1957000 0x100>;
43 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
56 compatible = "gpio-keys";
60 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 compatible = "gpio-leds";
69 label = "white:power";
70 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
75 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
76 linux,default-trigger = "phy0tpt";
80 label = "blue:wlan5g";
81 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
82 linux,default-trigger = "phy1tpt";
86 label = "orange:mesh";
87 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
93 serial_pins: serial_pinmux {
95 pins = "gpio60", "gpio61";
96 function = "blsp_uart0";
101 spi_0_pins: spi_0_pinmux {
103 function = "blsp_spi0";
104 pins = "gpio54", "gpio55", "gpio56", "gpio57";
105 drive-strength = <12>;
112 drive-strength = <2>;
124 pinctrl-0 = <&spi_0_pins>;
125 pinctrl-names = "default";
127 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
130 compatible = "jedec,spi-nor";
132 spi-max-frequency = <24000000>;
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
140 reg = <0x00000000 0x00040000>;
145 reg = <0x00040000 0x00020000>;
150 reg = <0x00060000 0x00060000>;
155 reg = <0x000c0000 0x00010000>;
159 label = "0:DDRPARAMS";
160 reg = <0x000d0000 0x00010000>;
164 label = "0:APPSBLENV";
165 reg = <0x000e0000 0x00010000>;
170 reg = <0x000f0000 0x00080000>;
175 reg = <0x00170000 0x00010000>;
179 label = "userconfig";
180 reg = <0x00180000 0x00080000>;
184 compatible = "denx,fit";
186 reg = <0x200000 0x01e00000>;
193 pinctrl-0 = <&serial_pins>;
194 pinctrl-names = "default";
204 qcom,ath10k-calibration-variant = "EnGenius-EMD1";
209 qcom,ath10k-calibration-variant = "EnGenius-EMD1";