]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm/bcm47094-luxul-xwr-3100.dts
MFV r315791: ntp 4.2.8p10.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm / bcm47094-luxul-xwr-3100.dts
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 {
21                 reg = <0x00000000 0x08000000>;
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    {
34                         label = "bcm53xx:green:lan1";
35                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
36                         linux,default-trigger = "default-off";
37                 };
38
39                 lan4    {
40                         label = "bcm53xx:green:lan0";
41                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
42                         linux,default-trigger = "default-off";
43                 };
44
45                 wan     {
46                         label = "bcm53xx:green:wan";
47                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
48                         linux,default-trigger = "default-off";
49                 };
50
51                 lan1    {
52                         label = "bcm53xx:green:lan3";
53                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
54                         linux,default-trigger = "default-off";
55                 };
56
57                 lan2    {
58                         label = "bcm53xx:green:lan2";
59                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
60                         linux,default-trigger = "default-off";
61                 };
62
63                 usb3    {
64                         label = "bcm53xx:green:usb3";
65                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
66                         linux,default-trigger = "default-off";
67                 };
68
69                 status  {
70                         label = "bcm53xx:green:status";
71                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
72                         linux,default-trigger = "timer";
73                 };
74
75                 2ghz {
76                         label = "bcm53xx:green:2ghz";
77                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
78                         linux,default-trigger = "default-off";
79                 };
80
81                 5ghz {
82                         label = "bcm53xx:green:5ghz";
83                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
84                         linux,default-trigger = "default-off";
85                 };
86         };
87
88         gpio-keys {
89                 compatible = "gpio-keys";
90                 #address-cells = <1>;
91                 #size-cells = <0>;
92
93                 restart {
94                         label = "Reset";
95                         linux,code = <KEY_RESTART>;
96                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
97                 };
98         };
99 };
100
101 &uart0 {
102         status = "okay";
103 };
104
105 &usb3 {
106         vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
107 };
108
109 &spi_nor {
110         status = "okay";
111 };