1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
8 #include "bcm47081.dtsi"
11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708";
12 model = "TP-LINK Archer C5 V2";
15 bootargs = "earlycon";
19 reg = <0x00000000 0x08000000>;
23 compatible = "gpio-leds";
26 label = "bcm53xx:green:2ghz";
27 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
31 label = "bcm53xx:green:lan";
32 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
36 label = "bcm53xx:green:usb2-port1";
37 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
38 trigger-sources = <&ohci_port1>, <&ehci_port1>;
39 linux,default-trigger = "usbport";
43 label = "bcm53xx:green:power";
44 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
45 linux,default-trigger = "default-on";
49 label = "bcm53xx:green:wan";
50 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
54 label = "bcm53xx:green:wps";
55 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
59 label = "bcm53xx:amber:wan";
60 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
64 label = "bcm53xx:green:5ghz";
65 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
69 label = "bcm53xx:green:usb2-port2";
70 gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
71 trigger-sources = <&ohci_port2>, <&ehci_port2>;
72 linux,default-trigger = "usbport";
77 compatible = "gpio-keys";
83 linux,code = <KEY_RFKILL>;
84 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_RESTART>;
90 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
100 vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;