1 // SPDX-License-Identifier: GPL-2.0-only 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 device_type = "memory";
11 reg = <0x80000000 0x10000000>;
21 pinctrl-0 = <&mdio_pins>;
22 pinctrl-names = "default";
24 /delete-node/ ethernet-phy@0;
25 /delete-node/ ethernet-phy@1;
26 /delete-node/ ethernet-phy@2;
27 /delete-node/ ethernet-phy@3;
28 /delete-node/ ethernet-phy@4;
29 /delete-node/ psgmii-phy@5;
37 compatible = "qcom,qca-gcnt";
42 compatible = "qcom,tcsr";
43 reg = <0x1953000 0x1000>;
44 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
48 compatible = "qcom,tcsr";
49 reg = <0x1949000 0x100>;
50 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
54 compatible = "qcom,tcsr";
55 reg = <0x1957000 0x100>;
56 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
68 switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
69 switch_lan_bmp = <0x0>; /* lan port bitmap */
70 switch_wan_bmp = <0x10>; /* wan port bitmap */
76 phy-mode = "rgmii-id";
81 pinctrl-0 = <&i2c_0_pins>;
82 pinctrl-names = "default";
87 compatible = "atmel,at97sc3203";
95 compatible = "gpio-keys";
98 label = "Reset button";
99 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_RESTART>;
110 /* Texas Instruments CC2540T BLE radio */
111 pinctrl-0 = <&serial_0_pins>;
112 pinctrl-names = "default";
117 pinctrl-0 = <&serial_1_pins>;
118 pinctrl-names = "default";
127 qcom,phy_mdio_addr = <5>;
128 qcom,poll_required = <1>;
137 mdio_pins: mdio_pinmux {
150 nand_pins: nand_pins {
152 pins = "gpio53", "gpio58", "gpio59";
158 pins = "gpio54", "gpio55", "gpio56",
159 "gpio57", "gpio60", "gpio61",
160 "gpio62", "gpio63", "gpio64",
161 "gpio65", "gpio66", "gpio67",
168 spi_0_pins: spi_0_pinmux {
170 function = "blsp_spi0";
171 pins = "gpio13", "gpio14", "gpio15";
172 drive-strength = <12>;
178 drive-strength = <2>;
184 i2c_0_pins: i2c_0_pinmux {
186 pins = "gpio10", "gpio11";
187 function = "blsp_i2c0";
188 drive-strength = <4>;
193 serial_0_pins: serial_0_pinmux {
195 pins = "gpio16", "gpio17";
196 function = "blsp_uart0";
201 serial_1_pins: serial_1_pinmux {
203 pins = "gpio8", "gpio9";
204 function = "blsp_uart1";
211 pinctrl-0 = <&nand_pins>;
212 pinctrl-names = "default";
217 compatible = "fixed-partitions";
218 #address-cells = <1>;
222 /* 'aos0' in Aruba firmware */
224 reg = <0x0 0x2000000>;
229 /* 'aos1' in Aruba firmware */
231 reg = <0x2000000 0x2000000>;
235 label = "aruba-ubifs";
236 reg = <0x4000000 0x4000000>;
245 nvmem-cell-names = "pre-calibration", "mac-address";
246 nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d>;
247 qcom,ath10k-calibration-variant = "Aruba-AP-303";
252 nvmem-cell-names = "pre-calibration", "mac-address";
253 nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d>;
254 mac-address-increment = <1>;
255 qcom,ath10k-calibration-variant = "Aruba-AP-303";