1 // SPDX-License-Identifier: GPL-2.0-or-later 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>
9 model = "ALFA Network AP120C-AC";
10 compatible = "alfa-network,ap120c-ac";
14 led-failsafe = &status;
15 led-running = &status;
16 led-upgrade = &status;
21 compatible = "gpio-keys";
25 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "blue:status";
35 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
36 default-state = "keep";
41 gpios = <ðphy4 1 GPIO_ACTIVE_HIGH>;
45 label = "green:wlan2g";
46 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
47 linux,default-trigger = "phy0tpt";
52 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
53 linux,default-trigger = "phy1tpt";
65 pinctrl-0 = <&mdio_pins>;
66 pinctrl-names = "default";
70 compatible = "qcom,qca-gcnt";
75 compatible = "qcom,tcsr";
76 reg = <0x1949000 0x100>;
77 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
81 compatible = "qcom,tcsr";
82 reg = <0x194b000 0x100>;
83 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
87 compatible = "qcom,tcsr";
88 reg = <0x1953000 0x1000>;
89 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
93 compatible = "qcom,tcsr";
94 reg = <0x1957000 0x100>;
95 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
106 phys = <&usb3_hs_phy>;
107 phy-names = "usb2-phy";
128 pinctrl-0 = <&i2c0_pins>;
129 pinctrl-names = "default";
132 compatible = "atmel,at97sc3204t";
140 pinctrl-0 = <&spi0_pins>;
141 pinctrl-names = "default";
142 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
143 <&tlmm 4 GPIO_ACTIVE_HIGH>;
146 compatible = "jedec,spi-nor";
148 spi-max-frequency = <24000000>;
151 compatible = "fixed-partitions";
152 #address-cells = <1>;
157 reg = <0x00000000 0x00040000>;
163 reg = <0x00040000 0x00020000>;
169 reg = <0x00060000 0x00060000>;
175 reg = <0x000c0000 0x00010000>;
181 reg = <0x000d0000 0x00010000>;
187 reg = <0x000e0000 0x00010000>;
192 reg = <0x000f0000 0x00080000>;
198 reg = <0x00170000 0x00010000>;
200 compatible = "nvmem-cells";
201 #address-cells = <1>;
204 precal_art_1000: precal@1000 {
205 reg = <0x1000 0x2f20>;
208 precal_art_5000: precal@5000 {
209 reg = <0x5000 0x2f20>;
214 label = "priv_data1";
215 reg = <0x00180000 0x00010000>;
220 label = "priv_data2";
221 reg = <0x00190000 0x00010000>;
228 compatible = "spi-nand";
230 spi-max-frequency = <24000000>;
233 compatible = "fixed-partitions";
234 #address-cells = <1>;
239 reg = <0x00000000 0x04000000>;
244 reg = <0x04000000 0x04000000>;
253 pinctrl-0 = <&serial0_pins>;
254 pinctrl-names = "default";
267 i2c0_pins: i2c0_pinmux {
269 function = "blsp_i2c0";
270 pins = "gpio58", "gpio59";
271 drive-strength = <16>;
276 mdio_pins: mdio_pinmux {
290 serial0_pins: serial0_pinmux {
292 pins = "gpio60", "gpio61";
293 function = "blsp_uart0";
298 spi0_pins: spi0_pinmux {
300 function = "blsp_spi0";
301 pins = "gpio55", "gpio56", "gpio57";
302 drive-strength = <12>;
308 pins = "gpio54", "gpio4";
309 drive-strength = <2>;
344 nvmem-cell-names = "pre-calibration";
345 nvmem-cells = <&precal_art_1000>;
350 qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC";
351 nvmem-cell-names = "pre-calibration";
352 nvmem-cells = <&precal_art_5000>;