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 device_type = "memory";
20 reg = <0x00000000 0x08000000>;
24 compatible = "gpio-leds";
27 label = "bcm53xx:green:2ghz";
28 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
32 label = "bcm53xx:green:lan";
33 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
37 label = "bcm53xx:green:usb2-port1";
38 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
39 trigger-sources = <&ohci_port1>, <&ehci_port1>;
40 linux,default-trigger = "usbport";
44 label = "bcm53xx:green:power";
45 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
46 linux,default-trigger = "default-on";
50 label = "bcm53xx:green:wan";
51 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
55 label = "bcm53xx:green:wps";
56 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
60 label = "bcm53xx:amber:wan";
61 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
65 label = "bcm53xx:green:5ghz";
66 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
70 label = "bcm53xx:green:usb2-port2";
71 gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
72 trigger-sources = <&ohci_port2>, <&ehci_port2>;
73 linux,default-trigger = "usbport";
78 compatible = "gpio-keys";
82 linux,code = <KEY_RFKILL>;
83 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_RESTART>;
89 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
98 compatible = "fixed-partitions";
104 reg = <0x000000 0x040000>;
110 reg = <0x040000 0x200000>;
111 compatible = "brcm,trx";
116 reg = <0x240000 0xc00000>;
121 reg = <0xff0000 0x010000>;
127 vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;