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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac3200.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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  * Author: Tom Brautaset <tbrautaset@gmail.com>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "bcm4709.dtsi"
  9 #include "bcm5301x-nand-cs0-bch8.dtsi"
 10 
 11 #include <dt-bindings/leds/common.h>
 12 
 13 / {
 14         compatible = "asus,rt-ac3200", "brcm,bcm4709", "brcm,bcm4708";
 15         model = "ASUS RT-AC3200";
 16 
 17         memory@0 {
 18                 reg = <0x00000000 0x08000000>,
 19                       <0x88000000 0x08000000>;
 20                 device_type = "memory";
 21         };
 22 
 23         nvram@1c080000 {
 24                 compatible = "brcm,nvram";
 25                 reg = <0x1c080000 0x00180000>;
 26 
 27                 et0macaddr: et0macaddr {
 28                         #nvmem-cell-cells = <1>;
 29                 };
 30         };
 31 
 32         gpio-keys {
 33                 compatible = "gpio-keys";
 34 
 35                 button-reset {
 36                         label = "Reset";
 37                         linux,code = <KEY_RESTART>;
 38                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
 39                 };
 40 
 41                 button-wifi {
 42                         label = "Wi-Fi";
 43                         linux,code = <KEY_RFKILL>;
 44                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
 45                 };
 46 
 47                 button-wps {
 48                         label = "WPS";
 49                         linux,code = <KEY_WPS_BUTTON>;
 50                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
 51                 };
 52         };
 53 
 54         leds {
 55                 compatible = "gpio-leds";
 56 
 57                 led-power {
 58                         color = <LED_COLOR_ID_WHITE>;
 59                         function = LED_FUNCTION_POWER;
 60                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
 61                         linux,default-trigger = "default-on";
 62                 };
 63 
 64                 led-wan-red {
 65                         color = <LED_COLOR_ID_RED>;
 66                         function = LED_FUNCTION_WAN;
 67                         gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
 68                 };
 69 
 70                 led-wps {
 71                         color = <LED_COLOR_ID_WHITE>;
 72                         function = LED_FUNCTION_WPS;
 73                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
 74                 };
 75         };
 76 };
 77 
 78 &gmac0 {
 79         nvmem-cells = <&et0macaddr 0>;
 80         nvmem-cell-names = "mac-address";
 81 };
 82 
 83 &gmac1 {
 84         nvmem-cells = <&et0macaddr 1>;
 85         nvmem-cell-names = "mac-address";
 86 };
 87 
 88 &gmac2 {
 89         nvmem-cells = <&et0macaddr 2>;
 90         nvmem-cell-names = "mac-address";
 91 };
 92 
 93 &nandcs {
 94         partitions {
 95                 compatible = "fixed-partitions";
 96                 #address-cells = <1>;
 97                 #size-cells = <1>;
 98 
 99                 partition@0 {
100                         reg = <0x00000000 0x00080000>;
101                         label = "boot";
102                         read-only;
103                 };
104 
105                 partition@80000 {
106                         reg = <0x00080000 0x00180000>;
107                         label = "nvram";
108                 };
109 
110                 partition@200000 {
111                         compatible = "brcm,trx";
112                         reg = <0x00200000 0x07e00000>;
113                         label = "firmware";
114                 };
115         };
116 };
117 
118 &srab {
119         status = "okay";
120 
121         ports {
122                 port@0 {
123                         label = "wan";
124                 };
125 
126                 port@1 {
127                         label = "lan1";
128                 };
129 
130                 port@2 {
131                         label = "lan2";
132                 };
133 
134                 port@3 {
135                         label = "lan3";
136                 };
137 
138                 port@4 {
139                         label = "lan4";
140                 };
141         };
142 };
143 
144 &usb2 {
145         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
146 };
147 
148 &usb3_phy {
149         status = "okay";
150 };

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