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;
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
60 switch_lan_bmp = <0x20>;
61 switch_wan_bmp = <0x00>;
71 compatible = "gpio-keys";
75 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 compatible = "gpio-leds";
84 label = "white:power";
85 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
90 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
91 linux,default-trigger = "phy0tpt";
95 label = "blue:wlan5g";
96 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
97 linux,default-trigger = "phy1tpt";
101 label = "orange:mesh";
102 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
108 serial_pins: serial_pinmux {
110 pins = "gpio60", "gpio61";
111 function = "blsp_uart0";
116 spi_0_pins: spi_0_pinmux {
118 function = "blsp_spi0";
119 pins = "gpio54", "gpio55", "gpio56", "gpio57";
120 drive-strength = <12>;
127 drive-strength = <2>;
139 pinctrl-0 = <&spi_0_pins>;
140 pinctrl-names = "default";
142 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
145 compatible = "jedec,spi-nor";
147 spi-max-frequency = <24000000>;
149 compatible = "fixed-partitions";
150 #address-cells = <1>;
155 reg = <0x00000000 0x00040000>;
160 reg = <0x00040000 0x00020000>;
165 reg = <0x00060000 0x00060000>;
170 reg = <0x000c0000 0x00010000>;
174 label = "0:DDRPARAMS";
175 reg = <0x000d0000 0x00010000>;
179 label = "0:APPSBLENV";
180 reg = <0x000e0000 0x00010000>;
185 reg = <0x000f0000 0x00080000>;
190 reg = <0x00170000 0x00010000>;
194 label = "userconfig";
195 reg = <0x00180000 0x00080000>;
199 compatible = "denx,fit";
201 reg = <0x200000 0x01e00000>;
208 pinctrl-0 = <&serial_pins>;
209 pinctrl-names = "default";
214 qcom,phy_mdio_addr = <4>;
215 qcom,poll_required = <1>;
216 qcom,forced_speed = <1000>;
217 qcom,forced_duplex = <1>;
227 qcom,ath10k-calibration-variant = "EnGenius-EMD1";
232 qcom,ath10k-calibration-variant = "EnGenius-EMD1";