Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47094-luxul-xwr-3150-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright 2018 Luxul Inc.
4  */
5
6 /dts-v1/;
7
8 #include "bcm47094.dtsi"
9 #include "bcm5301x-nand-cs0-bch8.dtsi"
10
11 / {
12         compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708";
13         model = "Luxul XWR-3150 V1";
14
15         chosen {
16                 bootargs = "earlycon";
17         };
18
19         memory {
20                 reg = <0x00000000 0x08000000
21                        0x88000000 0x18000000>;
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                 usb3    {
34                         label = "bcm53xx:green:usb3";
35                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
36                         trigger-sources = <&ohci_port1>, <&ehci_port1>,
37                                           <&xhci_port1>;
38                         linux,default-trigger = "usbport";
39                 };
40
41                 status  {
42                         label = "bcm53xx:green:status";
43                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
44                         linux,default-trigger = "timer";
45                 };
46
47                 2ghz {
48                         label = "bcm53xx:green:2ghz";
49                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
50                 };
51
52                 5ghz {
53                         label = "bcm53xx:green:5ghz";
54                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
55                 };
56         };
57
58         gpio-keys {
59                 compatible = "gpio-keys";
60                 #address-cells = <1>;
61                 #size-cells = <0>;
62
63                 restart {
64                         label = "Reset";
65                         linux,code = <KEY_RESTART>;
66                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
67                 };
68         };
69 };
70
71 &usb3 {
72         vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
73 };
74
75 &spi_nor {
76         status = "okay";
77 };