6611a8fe27a2b3082cdc9771fa47977a408ec663
[openwrt/staging/nbd.git] / target / linux / ipq807x / files / arch / arm64 / boot / dts / qcom / ipq8071-ax6.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /* Copyright (c) 2021, Zhijun You <hujy652@gmail.com> */
3
4 /dts-v1/;
5
6 #include "ipq8071-ax3600.dtsi"
7
8 / {
9 model = "Redmi AX6";
10 compatible = "redmi,ax6", "qcom,ipq8074";
11
12 leds {
13 compatible = "gpio-leds";
14
15 led_system_blue: system-blue {
16 label = "blue:system";
17 gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
18 };
19
20 led_system_yellow: system-yellow {
21 label = "yellow:system";
22 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
23 };
24
25 network-blue {
26 label = "blue:network";
27 gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
28 };
29
30 network-yellow {
31 label = "yellow:network";
32 gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
33 };
34 };
35 };
36
37 /* AX6 can both have NAND of 256MiB or 128MiB.
38 * To be on the safe side, assume 128MiB of NAND.
39 */
40 &rootfs {
41 reg = <0x2dc0000 0x5220000>;
42 };
43
44 &wifi {
45 qcom,ath11k-calibration-variant = "Redmi-AX6";
46 };