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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm47081-tplink-archer-c5-v2.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.12 ] ~ [ 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) 2017 Rafał Miłecki <rafal@milecki.pl>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "bcm47081.dtsi"
  9 
 10 / {
 11         compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708";
 12         model = "TP-LINK Archer C5 V2";
 13 
 14         chosen {
 15                 bootargs = "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-2ghz {
 27                         label = "bcm53xx:green:2ghz";
 28                         gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
 29                 };
 30 
 31                 led-lan {
 32                         label = "bcm53xx:green:lan";
 33                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
 34                 };
 35 
 36                 led-usb2-port1 {
 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";
 41                 };
 42 
 43                 led-power {
 44                         label = "bcm53xx:green:power";
 45                         gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
 46                         linux,default-trigger = "default-on";
 47                 };
 48 
 49                 led-wan-green {
 50                         label = "bcm53xx:green:wan";
 51                         gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
 52                 };
 53 
 54                 led-wps {
 55                         label = "bcm53xx:green:wps";
 56                         gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
 57                 };
 58 
 59                 led-wan-amber {
 60                         label = "bcm53xx:amber:wan";
 61                         gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
 62                 };
 63 
 64                 led-5ghz {
 65                         label = "bcm53xx:green:5ghz";
 66                         gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
 67                 };
 68 
 69                 led-usb2-port2 {
 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";
 74                 };
 75         };
 76 
 77         gpio-keys {
 78                 compatible = "gpio-keys";
 79 
 80                 button-rfkill {
 81                         label = "WiFi";
 82                         linux,code = <KEY_RFKILL>;
 83                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
 84                 };
 85 
 86                 button-restart {
 87                         label = "Reset";
 88                         linux,code = <KEY_RESTART>;
 89                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
 90                 };
 91         };
 92 };
 93 
 94 &spi_nor {
 95         status = "okay";
 96 
 97         partitions {
 98                 compatible = "tplink,safeloader-partitions";
 99                 partitions-table-offset = <0xe50000>;
100 
101                 partition-os-image {
102                         compatible = "brcm,trx";
103                 };
104 
105                 partition-file-system {
106                         linux,rootfs;
107                 };
108         };
109 };
110 
111 &usb2 {
112         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
113 };

~ [ 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