Commit | Line | Data |
---|---|---|
2b3db67c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
4335e6fd DH |
2 | /* |
3 | * Copyright 2016 Luxul Inc. | |
4335e6fd DH |
4 | */ |
5 | ||
6 | /dts-v1/; | |
7 | ||
8 | #include "bcm47094.dtsi" | |
9 | #include "bcm5301x-nand-cs0-bch4.dtsi" | |
10 | ||
11 | / { | |
12 | compatible = "luxul,xwr-3100v1", "brcm,bcm47094", "brcm,bcm4708"; | |
13 | model = "Luxul XWR-3100 V1"; | |
14 | ||
15 | chosen { | |
16 | bootargs = "console=ttyS0,115200 earlycon"; | |
17 | }; | |
18 | ||
19 | memory { | |
a252ccd3 RM |
20 | reg = <0x00000000 0x08000000 |
21 | 0x88000000 0x08000000>; | |
4335e6fd DH |
22 | }; |
23 | ||
24 | leds { | |
25 | compatible = "gpio-leds"; | |
26 | ||
27 | power { | |
28 | label = "bcm53xx:green:power"; | |
29 | gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; | |
30 | linux,default-trigger = "default-on"; | |
31 | }; | |
32 | ||
33 | lan3 { | |
226cc022 | 34 | label = "bcm53xx:green:lan3"; |
4335e6fd | 35 | gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; |
4335e6fd DH |
36 | }; |
37 | ||
38 | lan4 { | |
226cc022 | 39 | label = "bcm53xx:green:lan4"; |
4335e6fd | 40 | gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; |
4335e6fd DH |
41 | }; |
42 | ||
43 | wan { | |
44 | label = "bcm53xx:green:wan"; | |
45 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; | |
4335e6fd DH |
46 | }; |
47 | ||
48 | lan1 { | |
226cc022 | 49 | label = "bcm53xx:green:lan1"; |
4335e6fd | 50 | gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; |
4335e6fd DH |
51 | }; |
52 | ||
53 | lan2 { | |
54 | label = "bcm53xx:green:lan2"; | |
55 | gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; | |
4335e6fd DH |
56 | }; |
57 | ||
58 | usb3 { | |
59 | label = "bcm53xx:green:usb3"; | |
60 | gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; | |
0b1f1100 RM |
61 | trigger-sources = <&ohci_port1>, <&ehci_port1>, |
62 | <&xhci_port1>; | |
63 | linux,default-trigger = "usbport"; | |
4335e6fd DH |
64 | }; |
65 | ||
66 | status { | |
67 | label = "bcm53xx:green:status"; | |
68 | gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; | |
69 | linux,default-trigger = "timer"; | |
70 | }; | |
71 | ||
72 | 2ghz { | |
73 | label = "bcm53xx:green:2ghz"; | |
74 | gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; | |
4335e6fd DH |
75 | }; |
76 | ||
77 | 5ghz { | |
78 | label = "bcm53xx:green:5ghz"; | |
79 | gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; | |
4335e6fd DH |
80 | }; |
81 | }; | |
82 | ||
83 | gpio-keys { | |
84 | compatible = "gpio-keys"; | |
85 | #address-cells = <1>; | |
86 | #size-cells = <0>; | |
87 | ||
88 | restart { | |
89 | label = "Reset"; | |
90 | linux,code = <KEY_RESTART>; | |
91 | gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; | |
92 | }; | |
93 | }; | |
94 | }; | |
95 | ||
4335e6fd DH |
96 | &usb3 { |
97 | vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; | |
98 | }; | |
99 | ||
100 | &spi_nor { | |
101 | status = "okay"; | |
102 | }; |