The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/bcm47081-tplink-archer-c5-v2.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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                 2ghz {
   27                         label = "bcm53xx:green:2ghz";
   28                         gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
   29                 };
   30 
   31                 lan {
   32                         label = "bcm53xx:green:lan";
   33                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
   34                 };
   35 
   36                 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                 power {
   44                         label = "bcm53xx:green:power";
   45                         gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
   46                         linux,default-trigger = "default-on";
   47                 };
   48 
   49                 wan-green {
   50                         label = "bcm53xx:green:wan";
   51                         gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
   52                 };
   53 
   54                 wps {
   55                         label = "bcm53xx:green:wps";
   56                         gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
   57                 };
   58 
   59                 wan-amber {
   60                         label = "bcm53xx:amber:wan";
   61                         gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
   62                 };
   63 
   64                 5ghz {
   65                         label = "bcm53xx:green:5ghz";
   66                         gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
   67                 };
   68 
   69                 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 = "fixed-partitions";
   99                 #address-cells = <1>;
  100                 #size-cells = <1>;
  101 
  102                 boot@0 {
  103                         label = "boot";
  104                         reg = <0x000000 0x040000>;
  105                         read-only;
  106                 };
  107 
  108                 os-image@100000 {
  109                         label = "os-image";
  110                         reg = <0x040000 0x200000>;
  111                         compatible = "brcm,trx";
  112                 };
  113 
  114                 rootfs@240000 {
  115                         label = "rootfs";
  116                         reg = <0x240000 0xc00000>;
  117                 };
  118 
  119                 nvram@ff0000 {
  120                         label = "nvram";
  121                         reg = <0xff0000 0x010000>;
  122                 };
  123         };
  124 };
  125 
  126 &usb2 {
  127         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
  128 };

Cache object: b3901aef54de29b810ed2f042c5852fe


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.