1 // SPDX-License-Identifier: ISC
2 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 * Copyright (c) 2017, Sven Eckelmann <sven.eckelmann@openmesh.com>
6 #include "qcom-ipq4019.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/soc/qcom,tcsr.h>
12 model = "OpenMesh A42";
13 compatible = "openmesh,a42";
26 compatible = "qcom,tcsr";
27 reg = <0x194b000 0x100>;
28 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
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>;
64 compatible = "gpio-keys";
68 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
74 led-boot = &led_status_green;
75 led-failsafe = &led_status_green;
76 led-running = &led_status_green;
77 led-upgrade = &led_status_green;
81 compatible = "gpio-leds";
85 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
88 led_status_green: status_green {
89 label = "green:status";
90 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
94 label = "blue:status";
95 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
100 compatible = "linux,wdt-gpio";
101 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
103 /* hw_margin_ms is actually 300s but driver limits it to 60s */
104 hw_margin_ms = <60000>;
110 serial_pins: serial_pinmux {
112 pins = "gpio60", "gpio61";
113 function = "blsp_uart0";
118 spi_0_pins: spi_0_pinmux {
120 function = "blsp_spi0";
121 pins = "gpio55", "gpio56", "gpio57";
122 drive-strength = <12>;
128 drive-strength = <2>;
140 pinctrl-0 = <&spi_0_pins>;
141 pinctrl-names = "default";
143 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
146 #address-cells = <1>;
148 compatible = "jedec,spi-nor";
150 spi-max-frequency = <24000000>;
151 /* partitions are passed via bootloader */
156 pinctrl-0 = <&serial_pins>;
157 pinctrl-names = "default";
171 qcom,ath10k-calibration-variant = "OM-A42";
176 qcom,ath10k-calibration-variant = "OM-A42";