~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm4709-tplink-archer-c9-v1.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2 /*
  3  * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "bcm4709.dtsi"
  9 
 10 / {
 11         compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708";
 12         model = "TP-LINK Archer C9 V1";
 13 
 14         chosen {
 15                 bootargs = "console=ttyS0,115200 earlycon";
 16         };
 17 
 18         memory@0 {
 19                 device_type = "memory";
 20                 reg = <0x00000000 0x08000000>;
 21         };
 22 
 23         leds {
 24                 compatible = "gpio-leds";
 25 
 26                 led-lan {
 27                         label = "bcm53xx:blue:lan";
 28                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
 29                 };
 30 
 31                 led-wps {
 32                         label = "bcm53xx:blue:wps";
 33                         gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
 34                 };
 35 
 36                 led-2ghz {
 37                         label = "bcm53xx:blue:2ghz";
 38                         gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
 39                 };
 40 
 41                 led-5ghz {
 42                         label = "bcm53xx:blue:5ghz";
 43                         gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
 44                 };
 45 
 46                 led-usb3 {
 47                         label = "bcm53xx:blue:usb3";
 48                         gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
 49                         trigger-sources = <&ohci_port1>, <&ehci_port1>,
 50                                           <&xhci_port1>;
 51                         linux,default-trigger = "usbport";
 52                 };
 53 
 54                 led-usb2 {
 55                         label = "bcm53xx:blue:usb2";
 56                         gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
 57                         trigger-sources = <&ohci_port2>, <&ehci_port2>;
 58                         linux,default-trigger = "usbport";
 59                 };
 60 
 61                 led-wan-blue {
 62                         label = "bcm53xx:blue:wan";
 63                         gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
 64                 };
 65 
 66                 led-wan-amber {
 67                         label = "bcm53xx:amber:wan";
 68                         gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
 69                 };
 70 
 71                 led-power {
 72                         label = "bcm53xx:blue:power";
 73                         gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
 74                         linux,default-trigger = "default-on";
 75                 };
 76         };
 77 
 78         gpio-keys {
 79                 compatible = "gpio-keys";
 80 
 81                 button-wps {
 82                         label = "WPS";
 83                         linux,code = <KEY_WPS_BUTTON>;
 84                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
 85                 };
 86 
 87                 button-restart {
 88                         label = "Reset";
 89                         linux,code = <KEY_RESTART>;
 90                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
 91                 };
 92         };
 93 };
 94 
 95 &usb2 {
 96         vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
 97 };
 98 
 99 &usb3 {
100         vcc-gpio = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
101 };
102 
103 &spi_nor {
104         status = "okay";
105 
106         partitions {
107                 compatible = "tplink,safeloader-partitions";
108                 partitions-table-offset = <0xe50000>;
109 
110                 partition-os-image {
111                         compatible = "brcm,trx";
112                 };
113 
114                 partition-file-system {
115                         linux,rootfs;
116                 };
117         };
118 };
119 
120 &usb3_phy {
121         status = "okay";
122 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php