1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
7 #include "bcm4906.dtsi"
10 compatible = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
11 model = "TP-Link Archer C2300 V1";
14 device_type = "memory";
15 reg = <0x00 0x00 0x00 0x20000000>;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
35 color = <LED_COLOR_ID_BLUE>;
36 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
40 function = LED_FUNCTION_WAN;
41 color = <LED_COLOR_ID_AMBER>;
42 gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
46 function = LED_FUNCTION_WAN;
47 color = <LED_COLOR_ID_BLUE>;
48 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
52 function = LED_FUNCTION_LAN;
53 color = <LED_COLOR_ID_BLUE>;
54 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
58 function = LED_FUNCTION_WPS;
59 color = <LED_COLOR_ID_BLUE>;
60 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
65 color = <LED_COLOR_ID_BLUE>;
66 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
67 trigger-sources = <&ohci_port1>, <&ehci_port1>;
68 linux,default-trigger = "usbport";
73 color = <LED_COLOR_ID_BLUE>;
74 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
75 trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>;
76 linux,default-trigger = "usbport";
80 function = LED_FUNCTION_BACKLIGHT;
81 color = <LED_COLOR_ID_WHITE>;
82 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
87 compatible = "gpio-keys-polled";
88 poll-interval = <100>;
92 linux,code = <KEY_BRIGHTNESS_ZERO>;
93 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_WPS_BUTTON>;
99 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_RFKILL>;
105 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_RESTART>;
111 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
152 phy-mode = "internal";
153 phy-handle = <&phy12>;
159 nand-ecc-strength = <4>;
160 nand-ecc-step-size = <512>;
163 #address-cells = <1>;
167 compatible = "brcm,bcm4908-partitions";
168 #address-cells = <1>;
173 reg = <0x0 0x100000>;
177 compatible = "brcm,bcm4908-firmware";
178 reg = <0x100000 0x3900000>;
182 compatible = "brcm,bcm4908-firmware";
183 reg = <0x3a00000 0x3900000>;