1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /* Copyright (c) 2021, Robert Marko <robimarko@gmail.com> */
6 #include "ipq8071-ax3600.dtsi"
7 #include <dt-bindings/leds/common.h>
10 model = "Xiaomi AX3600";
11 compatible = "xiaomi,ax3600", "qcom,ipq8074";
14 compatible = "gpio-leds";
16 led_system_blue: system-blue {
17 label = "blue:system";
18 gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
21 led_system_yellow: system-yellow {
22 label = "yellow:system";
23 gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
27 label = "yellow:network";
28 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
32 label = "blue:network";
33 gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
38 gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>;
39 linux,default-trigger = "phy0tpt";
51 perst-gpio = <&tlmm 52 GPIO_ACTIVE_HIGH>;
54 reg = <0x00000000 0 0 0 0>;
62 compatible = "qcom,ath10k";
63 reg = <0x00010000 0 0 0 0>;
65 qcom,ath10k-calibration-variant = "Xiaomi-AX3600";
66 nvmem-cell-names = "calibration";
67 nvmem-cells = <&caldata_qca9889>;
73 qcom,ath11k-calibration-variant = "Xiaomi-AX3600";
83 color = <LED_COLOR_ID_GREEN>;
84 function = LED_FUNCTION_WAN;
85 default-state = "keep";
97 color = <LED_COLOR_ID_GREEN>;
98 function = LED_FUNCTION_LAN;
99 default-state = "keep";
106 #address-cells = <1>;
111 color = <LED_COLOR_ID_GREEN>;
112 function = LED_FUNCTION_LAN;
113 default-state = "keep";
120 #address-cells = <1>;
125 color = <LED_COLOR_ID_GREEN>;
126 function = LED_FUNCTION_LAN;
127 default-state = "keep";