1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2022, Pawel Dembicki <paweldembicki@gmail.com>.
3 // Copyright (c) 2022, Giammarco Marzano <stich86@gmail.com>.
4 // Copyright (c) 2023, Andreas Böhler <dev@aboehler.at>
6 #include "qcom-ipq4019.dtsi"
7 #include <dt-bindings/soc/qcom,tcsr.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
22 * bootargs forced by u-boot bootipq command:
23 * 'ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
25 bootargs-append = " root=/dev/ubiblock0_1";
29 compatible = "gpio-leds";
33 function = LED_FUNCTION_POWER;
34 color = <LED_COLOR_ID_BLUE>;
39 compatible = "gpio-keys";
41 key_reset: key-reset {
43 linux,code = <KEY_RESTART>;
48 linux,code = <KEY_WPS_BUTTON>;
58 compatible = "qcom,tcsr";
59 reg = <0x1949000 0x100>;
60 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
65 compatible = "qcom,tcsr";
66 reg = <0x194b000 0x100>;
67 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
72 compatible = "qcom,tcsr";
73 reg = <0x1953000 0x1000>;
74 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
78 compatible = "qcom,tcsr";
79 reg = <0x1957000 0x100>;
80 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
106 pinctrl-0 = <&serial_pins>;
107 pinctrl-names = "default";
121 nvmem-cell-names = "mac-address";
122 nvmem-cells = <&macaddr_mac_0>;
123 mac-address-increment = <2>;
172 nvmem-cell-names = "pre-calibration", "mac-address";
173 nvmem-cells = <&precal_art_1000>, <&macaddr_mac_0>;
174 qcom,ath10k-calibration-variant = "zte,mf287plus";
179 nvmem-cell-names = "pre-calibration", "mac-address";
180 nvmem-cells = <&precal_art_5000>, <&macaddr_mac_0>;
181 mac-address-increment = <1>;
182 qcom,ath10k-calibration-variant = "zte,mf287plus";