WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / bcm47094-luxul-xwr-3100.dts
blobe17e9a17fb0088720bceaa25d03cd442cfc4f384
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright 2016 Luxul Inc.
4  */
6 /dts-v1/;
8 #include "bcm47094.dtsi"
9 #include "bcm5301x-nand-cs0-bch4.dtsi"
11 / {
12         compatible = "luxul,xwr-3100v1", "brcm,bcm47094", "brcm,bcm4708";
13         model = "Luxul XWR-3100 V1";
15         chosen {
16                 bootargs = "console=ttyS0,115200 earlycon";
17         };
19         memory@0 {
20                 device_type = "memory";
21                 reg = <0x00000000 0x08000000
22                        0x88000000 0x08000000>;
23         };
25         leds {
26                 compatible = "gpio-leds";
28                 power   {
29                         label = "bcm53xx:green:power";
30                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
31                         linux,default-trigger = "default-on";
32                 };
34                 lan3    {
35                         label = "bcm53xx:green:lan3";
36                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
37                 };
39                 lan4    {
40                         label = "bcm53xx:green:lan4";
41                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
42                 };
44                 wan     {
45                         label = "bcm53xx:green:wan";
46                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
47                 };
49                 lan1    {
50                         label = "bcm53xx:green:lan1";
51                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
52                 };
54                 lan2    {
55                         label = "bcm53xx:green:lan2";
56                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
57                 };
59                 usb3    {
60                         label = "bcm53xx:green:usb3";
61                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
62                         trigger-sources = <&ohci_port1>, <&ehci_port1>,
63                                           <&xhci_port1>;
64                         linux,default-trigger = "usbport";
65                 };
67                 status  {
68                         label = "bcm53xx:green:status";
69                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
70                         linux,default-trigger = "timer";
71                 };
73                 2ghz {
74                         label = "bcm53xx:green:2ghz";
75                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
76                 };
78                 5ghz {
79                         label = "bcm53xx:green:5ghz";
80                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
81                 };
82         };
84         gpio-keys {
85                 compatible = "gpio-keys";
87                 restart {
88                         label = "Reset";
89                         linux,code = <KEY_RESTART>;
90                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
91                 };
92         };
95 &usb3 {
96         vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
99 &spi_nor {
100         status = "okay";
103 &usb3_phy {
104         status = "okay";
107 &srab {
108         status = "okay";
110         ports {
111                 port@0 {
112                         reg = <0>;
113                         label = "lan4";
114                 };
116                 port@1 {
117                         reg = <1>;
118                         label = "lan3";
119                 };
121                 port@2 {
122                         reg = <2>;
123                         label = "lan2";
124                 };
126                 port@3 {
127                         reg = <3>;
128                         label = "lan1";
129                 };
131                 port@4 {
132                         reg = <4>;
133                         label = "wan";
134                 };
136                 port@5 {
137                         reg = <5>;
138                         label = "cpu";
139                         ethernet = <&gmac0>;
140                 };
141         };