1 #include "qcom-ipq8064-ad7200-c2600.dtsi"
4 model = "TP-Link Archer C2600";
5 compatible = "tplink,c2600", "qcom,ipq8064";
9 led-failsafe = &general;
11 led-upgrade = &general;
15 compatible = "gpio-keys";
16 pinctrl-0 = <&button_pins>;
17 pinctrl-names = "default";
21 gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RFKILL>;
23 debounce-interval = <60>;
29 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
37 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
39 debounce-interval = <60>;
45 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_LIGHTS_TOGGLE>;
47 debounce-interval = <60>;
53 compatible = "gpio-leds";
54 pinctrl-0 = <&led_pins>;
55 pinctrl-names = "default";
59 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
63 label = "white:usb_4";
64 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
68 label = "white:usb_2";
69 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
74 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
79 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
84 gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>;
88 label = "white:power";
89 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
90 default-state = "keep";
94 label = "white:general";
95 gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
101 button_pins: button_pins {
103 pins = "gpio16", "gpio54", "gpio65";
105 drive-strength = <2>;
112 pins = "gpio6", "gpio7", "gpio8", "gpio9", "gpio26", "gpio33",
115 drive-strength = <2>;