1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /* Copyright (c) 2020, Robert Marko <robimarko@gmail.com> */
4 #include "qcom-ipq4019.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
11 device_type = "memory";
12 reg = <0x80000000 0x08000000>;
16 stdout-path = "serial0:115200n8";
21 led-failsafe = &led_user;
22 led-running = &led_user;
23 led-upgrade = &led_user;
28 compatible = "qcom,qca-gcnt";
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
52 compatible = "gpio-keys";
56 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 compatible = "gpio-leds";
66 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
67 default-state = "keep";
72 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
83 serial_pins: serial_pinmux {
85 pins = "gpio60", "gpio61";
86 function = "blsp_uart0";
91 spi_0_pins: spi_0_pinmux {
93 function = "blsp_spi0";
94 pins = "gpio55", "gpio56", "gpio57";
101 drive-strength = <2>;
115 pinctrl-0 = <&spi_0_pins>;
116 pinctrl-names = "default";
117 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
121 compatible = "jedec,spi-nor";
122 spi-max-frequency = <40000000>;
125 compatible = "fixed-partitions";
126 #address-cells = <1>;
136 compatible = "mikrotik,routerboot-partitions";
137 #address-cells = <1>;
139 label = "RouterBoot";
140 reg = <0x80000 0x80000>;
156 compatible = "mikrotik,minor";
158 reg = <0x100000 0xf00000>;
167 pinctrl-0 = <&serial_pins>;
168 pinctrl-names = "default";
208 qcom,ath10k-calibration-variant = "MikroTik-wAP-ac";
214 qcom,ath10k-calibration-variant = "MikroTik-wAP-ac";