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