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>
8 model = "ALFA Network AP120C-AC";
9 compatible = "alfa-network,ap120c-ac";
12 compatible = "gpio-keys";
16 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
23 i2c0_pins: i2c0_pinmux {
25 function = "blsp_i2c0";
26 pins = "gpio58", "gpio59";
27 drive-strength = <16>;
32 mdio_pins: mdio_pinmux {
46 serial0_pins: serial0_pinmux {
48 pins = "gpio60", "gpio61";
49 function = "blsp_uart0";
54 spi0_pins: spi0_pinmux {
56 function = "blsp_spi0";
57 pins = "gpio55", "gpio56", "gpio57";
58 drive-strength = <12>;
64 pins = "gpio54", "gpio4";
72 line-name = "USB-power";
73 gpios = <1 GPIO_ACTIVE_HIGH>;
94 pinctrl-0 = <&i2c0_pins>;
95 pinctrl-names = "default";
98 compatible = "atmel,at97sc3204t";
106 pinctrl-0 = <&spi0_pins>;
107 pinctrl-names = "default";
108 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 4 GPIO_ACTIVE_HIGH>;
111 compatible = "jedec,spi-nor";
113 spi-max-frequency = <24000000>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x00000000 0x00040000>;
128 reg = <0x00040000 0x00020000>;
134 reg = <0x00060000 0x00060000>;
140 reg = <0x000c0000 0x00010000>;
146 reg = <0x000d0000 0x00010000>;
151 label = "u-boot-env";
152 reg = <0x000e0000 0x00010000>;
157 reg = <0x000f0000 0x00080000>;
163 reg = <0x00170000 0x00010000>;
168 label = "priv_data1";
169 reg = <0x00180000 0x00010000>;
174 label = "priv_data2";
175 reg = <0x00190000 0x00010000>;
182 compatible = "spi-nand";
184 spi-max-frequency = <40000000>;
187 compatible = "fixed-partitions";
188 #address-cells = <1>;
193 reg = <0x00000000 0x04000000>;
198 reg = <0x04000000 0x04000000>;
207 pinctrl-0 = <&serial0_pins>;
208 pinctrl-names = "default";
222 pinctrl-0 = <&mdio_pins>;
223 pinctrl-names = "default";
232 qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC";
243 phys = <&usb3_hs_phy>;
244 phy-names = "usb2-phy";