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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm47081-luxul-xwr-1200.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  * Copyright 2017 Luxul Inc.
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "bcm47081.dtsi"
  9 #include "bcm5301x-nand-cs0-bch4.dtsi"
 10 
 11 / {
 12         compatible = "luxul,xwr-1200-v1", "brcm,bcm47081", "brcm,bcm4708";
 13         model = "Luxul XWR-1200 V1";
 14 
 15         chosen {
 16                 bootargs = "console=ttyS0,115200";
 17         };
 18 
 19         memory@0 {
 20                 device_type = "memory";
 21                 reg = <0x00000000 0x08000000>;
 22         };
 23 
 24         nvram@1eff0000 {
 25                 compatible = "brcm,nvram";
 26                 reg = <0x1eff0000 0x10000>;
 27 
 28                 et0macaddr: et0macaddr {
 29                         #nvmem-cell-cells = <1>;
 30                 };
 31         };
 32 
 33         leds {
 34                 compatible = "gpio-leds";
 35 
 36                 led-power {
 37                         label = "bcm53xx:green:power";
 38                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
 39                         linux,default-trigger = "default-on";
 40                 };
 41 
 42                 led-lan3 {
 43                         label = "bcm53xx:green:lan3";
 44                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
 45                         linux,default-trigger = "none";
 46                 };
 47 
 48                 led-lan4 {
 49                         label = "bcm53xx:green:lan4";
 50                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
 51                         linux,default-trigger = "none";
 52                 };
 53 
 54                 led-wan {
 55                         label = "bcm53xx:green:wan";
 56                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
 57                         linux,default-trigger = "none";
 58                 };
 59 
 60                 led-lan2 {
 61                         label = "bcm53xx:green:lan2";
 62                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
 63                         linux,default-trigger = "none";
 64                 };
 65 
 66                 led-usb {
 67                         label = "bcm53xx:green:usb";
 68                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
 69                         trigger-sources = <&ohci_port2>, <&ehci_port2>;
 70                         linux,default-trigger = "usbport";
 71                 };
 72 
 73                 led-status {
 74                         label = "bcm53xx:green:status";
 75                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
 76                         linux,default-trigger = "timer";
 77                 };
 78 
 79                 led-2ghz {
 80                         label = "bcm53xx:green:2ghz";
 81                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
 82                         linux,default-trigger = "none";
 83                 };
 84 
 85                 led-5ghz {
 86                         label = "bcm53xx:green:5ghz";
 87                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
 88                         linux,default-trigger = "none";
 89                 };
 90 
 91                 led-lan1 {
 92                         label = "bcm53xx:green:lan1";
 93                         gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
 94                         linux,default-trigger = "none";
 95                 };
 96         };
 97 
 98         gpio-keys {
 99                 compatible = "gpio-keys";
100 
101                 button-restart {
102                         label = "Reset";
103                         linux,code = <KEY_RESTART>;
104                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
105                 };
106         };
107 };
108 
109 &usb2 {
110         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
111 };
112 
113 &gmac0 {
114         nvmem-cells = <&et0macaddr 0>;
115         nvmem-cell-names = "mac-address";
116 };
117 
118 &spi_nor {
119         status = "okay";
120 };
121 
122 &srab {
123         status = "okay";
124 
125         ports {
126                 port@0 {
127                         label = "lan4";
128                 };
129 
130                 port@1 {
131                         label = "lan3";
132                 };
133 
134                 port@2 {
135                         label = "lan2";
136                 };
137 
138                 port@3 {
139                         label = "lan1";
140                 };
141 
142                 port@4 {
143                         label = "wan";
144                         nvmem-cells = <&et0macaddr 5>;
145                         nvmem-cell-names = "mac-address";
146                 };
147 
148                 port@5 {
149                         label = "cpu";
150                 };
151 
152                 port@7 {
153                         status = "disabled";
154                 };
155 
156                 port@8 {
157                         status = "disabled";
158                 };
159         };
160 };

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