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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm53016-dlink-dwl-8610ap.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 /dts-v1/;
  3 
  4 #include "bcm4709.dtsi"
  5 #include "bcm5301x-nand-cs0-bch8.dtsi"
  6 #include <dt-bindings/leds/common.h>
  7 #include <dt-bindings/input/input.h>
  8 
  9 / {
 10         model = "D-Link DWL-8610AP";
 11         compatible = "dlink,dwl-8610ap", "brcm,bcm53016", "brcm,bcm4708";
 12 
 13         memory@0 {
 14                 device_type = "memory";
 15                 /* 512 MB RAM in 2 x Macronix D9PSH chips */
 16                 reg = <0x00000000 0x08000000>,
 17                       <0x88000000 0x08000000>;
 18         };
 19 
 20         leds {
 21                 compatible = "gpio-leds";
 22 
 23                 led-power {
 24                         function = LED_FUNCTION_POWER;
 25                         color = <LED_COLOR_ID_GREEN>;
 26                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
 27                         default-state = "on";
 28                 };
 29 
 30                 led-diag {
 31                         /* Actually "diag" unclear what this means */
 32                         function = LED_FUNCTION_INDICATOR;
 33                         color = <LED_COLOR_ID_RED>;
 34                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
 35                         default-state = "on";
 36                         linux,default-trigger = "heartbeat";
 37                 };
 38 
 39                 led-wlan-2g {
 40                         function = LED_FUNCTION_WLAN;
 41                         color = <LED_COLOR_ID_GREEN>;
 42                         gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
 43                 };
 44 
 45                 led-wlan-5g {
 46                         function = LED_FUNCTION_WLAN;
 47                         color = <LED_COLOR_ID_GREEN>;
 48                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
 49                 };
 50         };
 51 
 52         gpio_keys {
 53                 compatible = "gpio-keys";
 54 
 55                 button-reset {
 56                         debounce-interval = <100>;
 57                         wakeup-source;
 58                         linux,code = <KEY_RESTART>;
 59                         label = "reset";
 60                         /* This GPIO is actually stored in NVRAM, but it's not gonna change */
 61                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
 62                 };
 63         };
 64 
 65         /*
 66          * Flash memory at 0x1e000000-0x1fffffff
 67          * Macronix 32 64KB blocks; total size 2MB, same that can be
 68          * found attached to the spi_nor SPI controller.
 69          */
 70         nvram@1e080000 {
 71                 compatible = "brcm,nvram";
 72                 reg = <0x1e080000 0x00020000>;
 73 
 74                 et0macaddr: et0macaddr {
 75                 };
 76 
 77                 et1macaddr: et1macaddr {
 78                 };
 79         };
 80 };
 81 
 82 &gmac0 {
 83         nvmem-cells = <&et0macaddr>;
 84         nvmem-cell-names = "mac-address";
 85 };
 86 
 87 &gmac1 {
 88         nvmem-cells = <&et1macaddr>;
 89         nvmem-cell-names = "mac-address";
 90 };
 91 
 92 &spi_nor {
 93         /* Serial SPI NOR Flash MX 25L1606E */
 94         status = "okay";
 95 };
 96 
 97 &nandcs {
 98         /*
 99          * Spansion S34ML01G100TFI00 128 MB NAND Flash memory
100          *
101          * This ECC is a bit unorthodox but it is what the stock firmware
102          * is using, so to be able to mount the original partitions
103          * this is necessary.
104          */
105         nand-ecc-strength = <5>;
106         partitions {
107                 compatible = "fixed-partitions";
108                 #address-cells = <1>;
109                 #size-cells = <1>;
110 
111                 /* This is named nflash1.trx in CFE */
112                 trx@0 {
113                         label = "firmware";
114                         reg = <0x00000000 0x02800000>;
115                         compatible = "brcm,trx";
116                 };
117 
118                 /* This is named nflash1.trx2 in CFE */
119                 trx2@2800000 {
120                         label = "firmware2";
121                         reg = <0x02800000 0x02800000>;
122                         compatible = "brcm,trx";
123                 };
124 
125                 /* This is named nflash1.rwfs in CFE */
126                 free@5000000 {
127                         label = "free";
128                         reg = <0x05000000 0x03000000>;
129                 };
130         };
131 };

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