ipq806x: move to kernel 6.1 by default
[openwrt/openwrt.git] / target / linux / ipq806x / files-5.15 / arch / arm / boot / dts / qcom-ipq8064-c2600.dts
1 #include "qcom-ipq8064-ad7200-c2600.dtsi"
2
3 / {
4 model = "TP-Link Archer C2600";
5 compatible = "tplink,c2600", "qcom,ipq8064";
6
7 aliases {
8 led-boot = &power;
9 led-failsafe = &general;
10 led-running = &power;
11 led-upgrade = &general;
12 };
13
14 keys {
15 compatible = "gpio-keys";
16 pinctrl-0 = <&button_pins>;
17 pinctrl-names = "default";
18
19 wifi {
20 label = "wifi";
21 gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RFKILL>;
23 debounce-interval = <60>;
24 wakeup-source;
25 };
26
27 reset {
28 label = "reset";
29 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
32 wakeup-source;
33 };
34
35 wps {
36 label = "wps";
37 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
39 debounce-interval = <60>;
40 wakeup-source;
41 };
42
43 ledswitch {
44 label = "ledswitch";
45 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_LIGHTS_TOGGLE>;
47 debounce-interval = <60>;
48 wakeup-source;
49 };
50 };
51
52 leds {
53 compatible = "gpio-leds";
54 pinctrl-0 = <&led_pins>;
55 pinctrl-names = "default";
56
57 lan {
58 label = "white:lan";
59 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
60 };
61
62 usb4 {
63 label = "white:usb_4";
64 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
65 };
66
67 usb2 {
68 label = "white:usb_2";
69 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
70 };
71
72 wps {
73 label = "white:wps";
74 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
75 };
76
77 wan_amber {
78 label = "amber:wan";
79 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
80 };
81
82 wan_white {
83 label = "white:wan";
84 gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>;
85 };
86
87 power: power {
88 label = "white:power";
89 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
90 default-state = "keep";
91 };
92
93 general: general {
94 label = "white:general";
95 gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
96 };
97 };
98 };
99
100 &qcom_pinmux {
101 button_pins: button_pins {
102 mux {
103 pins = "gpio16", "gpio54", "gpio65";
104 function = "gpio";
105 drive-strength = <2>;
106 bias-pull-up;
107 };
108 };
109
110 led_pins: led_pins {
111 mux {
112 pins = "gpio6", "gpio7", "gpio8", "gpio9", "gpio26", "gpio33",
113 "gpio53", "gpio66";
114 function = "gpio";
115 drive-strength = <2>;
116 bias-pull-up;
117 };
118 };
119 };