1 // SPDX-License-Identifier: GPL-2.0 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@2;
26 /delete-node/ ethernet-phy@3;
27 /delete-node/ ethernet-phy@4;
35 compatible = "qcom,qca-gcnt";
40 compatible = "qcom,tcsr";
41 reg = <0x1953000 0x1000>;
42 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
46 compatible = "qcom,tcsr";
47 reg = <0x1949000 0x100>;
48 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
52 compatible = "qcom,tcsr";
53 reg = <0x1957000 0x100>;
54 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
66 switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
67 switch_lan_bmp = <0x0>; /* lan port bitmap */
68 switch_wan_bmp = <0x10>; /* wan port bitmap */
74 phy-mode = "rgmii-id";
79 pinctrl-0 = <&i2c_0_pins>;
80 pinctrl-names = "default";
85 compatible = "atmel,at97sc3203";
93 compatible = "gpio-keys";
96 label = "Reset button";
97 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_RESTART>;
108 /* Texas Instruments CC2540T BLE radio */
109 pinctrl-0 = <&serial_0_pins>;
110 pinctrl-names = "default";
115 pinctrl-0 = <&serial_1_pins>;
116 pinctrl-names = "default";
125 qcom,phy_mdio_addr = <5>;
126 qcom,poll_required = <1>;
135 mdio_pins: mdio_pinmux {
148 nand_pins: nand_pins {
150 pins = "gpio53", "gpio58", "gpio59";
156 pins = "gpio54", "gpio55", "gpio56",
157 "gpio57", "gpio60", "gpio61",
158 "gpio62", "gpio63", "gpio64",
159 "gpio65", "gpio66", "gpio67",
166 spi_0_pins: spi_0_pinmux {
168 function = "blsp_spi0";
169 pins = "gpio13", "gpio14", "gpio15";
170 drive-strength = <12>;
176 drive-strength = <2>;
182 i2c_0_pins: i2c_0_pinmux {
184 pins = "gpio10", "gpio11";
185 function = "blsp_i2c0";
186 drive-strength = <4>;
191 serial_0_pins: serial_0_pinmux {
193 pins = "gpio16", "gpio17";
194 function = "blsp_uart0";
199 serial_1_pins: serial_1_pinmux {
201 pins = "gpio8", "gpio9";
202 function = "blsp_uart1";
209 pinctrl-0 = <&nand_pins>;
210 pinctrl-names = "default";
215 compatible = "fixed-partitions";
216 #address-cells = <1>;
220 /* 'aos0' in Aruba firmware */
222 reg = <0x0 0x2000000>;
227 /* 'aos1' in Aruba firmware */
229 reg = <0x2000000 0x2000000>;
233 label = "aruba-ubifs";
234 reg = <0x4000000 0x4000000>;
243 qcom,ath10k-calibration-variant = "Aruba-AP-303";
248 qcom,ath10k-calibration-variant = "Aruba-AP-303";