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>;
202 compatible = "fixed-layout";
203 #address-cells = <1>;
206 precal_art_1000: precal@1000 {
207 reg = <0x1000 0x2f20>;
210 precal_art_5000: precal@5000 {
211 reg = <0x5000 0x2f20>;
217 label = "priv_data1";
218 reg = <0x00180000 0x00010000>;
223 label = "priv_data2";
224 reg = <0x00190000 0x00010000>;
231 compatible = "spi-nand";
233 spi-max-frequency = <24000000>;
236 compatible = "fixed-partitions";
237 #address-cells = <1>;
242 reg = <0x00000000 0x04000000>;
247 reg = <0x04000000 0x04000000>;
256 pinctrl-0 = <&serial0_pins>;
257 pinctrl-names = "default";
270 i2c0_pins: i2c0_pinmux {
272 function = "blsp_i2c0";
273 pins = "gpio58", "gpio59";
274 drive-strength = <16>;
279 mdio_pins: mdio_pinmux {
293 serial0_pins: serial0_pinmux {
295 pins = "gpio60", "gpio61";
296 function = "blsp_uart0";
301 spi0_pins: spi0_pinmux {
303 function = "blsp_spi0";
304 pins = "gpio55", "gpio56", "gpio57";
305 drive-strength = <12>;
311 pins = "gpio54", "gpio4";
312 drive-strength = <2>;
347 nvmem-cell-names = "pre-calibration";
348 nvmem-cells = <&precal_art_1000>;
353 qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC";
354 nvmem-cell-names = "pre-calibration";
355 nvmem-cells = <&precal_art_5000>;