1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
8 #include "bcm4709.dtsi"
11 compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708";
12 model = "TP-LINK Archer C9 V1";
15 bootargs = "console=ttyS0,115200 earlycon";
19 device_type = "memory";
20 reg = <0x00000000 0x08000000>;
24 compatible = "gpio-leds";
27 label = "bcm53xx:blue:lan";
28 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
32 label = "bcm53xx:blue:wps";
33 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
37 label = "bcm53xx:blue:2ghz";
38 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
42 label = "bcm53xx:blue:5ghz";
43 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
47 label = "bcm53xx:blue:usb3";
48 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
49 trigger-sources = <&ohci_port1>, <&ehci_port1>,
51 linux,default-trigger = "usbport";
55 label = "bcm53xx:blue:usb2";
56 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
57 trigger-sources = <&ohci_port2>, <&ehci_port2>;
58 linux,default-trigger = "usbport";
62 label = "bcm53xx:blue:wan";
63 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
67 label = "bcm53xx:amber:wan";
68 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
72 label = "bcm53xx:blue:power";
73 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
74 linux,default-trigger = "default-on";
79 compatible = "gpio-keys";
85 linux,code = <KEY_WPS_BUTTON>;
86 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_RESTART>;
92 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
98 vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
102 vcc-gpio = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
115 reg = <0x000000 0x040000>;
121 reg = <0x040000 0x200000>;
122 compatible = "brcm,trx";
127 reg = <0x240000 0xc00000>;
132 reg = <0xff0000 0x010000>;