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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm4709-asus-rt-ac3200.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/broadcom/bcm4709-asus-rt-ac3200.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/broadcom/bcm4709-asus-rt-ac3200.dts (Architecture sparc64)


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