mips: bmips: add support for bcm6318 usb
[oweals/u-boot.git] / arch / mips / dts / netgear,dgnd3700v2.dts
1 /*
2  * Copyright (C) 2018 Ã\81lvaro Fernández Rojas <noltari@gmail.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 /dts-v1/;
8
9 #include "brcm,bcm6362.dtsi"
10
11 / {
12         model = "Netgear DGND3700v2";
13         compatible = "netgear,dgnd3700v2", "brcm,bcm6362";
14
15         aliases {
16                 serial0 = &uart0;
17         };
18
19         chosen {
20                 stdout-path = "serial0:115200n8";
21         };
22
23         gpio-leds {
24                 compatible = "gpio-leds";
25
26                 inet_green {
27                         label = "DGND3700v2:green:inet";
28                         gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29                 };
30
31                 dsl_green {
32                         label = "DGND3700v2:green:dsl";
33                         gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
34                 };
35
36                 power_amber {
37                         label = "DGND3700v2:red:power";
38                         gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
39                 };
40         };
41 };
42
43 &ehci {
44         status = "okay";
45 };
46
47 &gpio0 {
48         status = "okay";
49 };
50
51 &gpio1 {
52         status = "okay";
53 };
54
55 &leds {
56         status = "okay";
57         brcm,serial-leds;
58         brcm,serial-dat-low;
59         brcm,serial-shift-inv;
60         brcm,serial-mux;
61
62         led@8 {
63                 reg = <8>;
64                 label = "DGND3700v2:green:power";
65         };
66
67         led@9 {
68                 reg = <9>;
69                 active-low;
70                 label = "DGND3700v2:green:wps";
71         };
72
73         led@10 {
74                 reg = <10>;
75                 active-low;
76                 label = "DGND3700v2:green:usb1";
77         };
78
79         led@11 {
80                 reg = <11>;
81                 active-low;
82                 label = "DGND3700v2:green:usb2";
83         };
84
85         led@12 {
86                 reg = <12>;
87                 active-low;
88                 label = "DGND3700v2:amber:inet";
89         };
90
91         led@13 {
92                 reg = <13>;
93                 active-low;
94                 label = "DGND3700v2:green:ethernet";
95         };
96
97         led@14 {
98                 reg = <14>;
99                 active-low;
100                 label = "DGND3700v2:amber:dsl";
101         };
102
103         led@16 {
104                 reg = <16>;
105                 active-low;
106                 label = "DGND3700v2:amber:usb1";
107         };
108
109         led@17 {
110                 reg = <17>;
111                 active-low;
112                 label = "DGND3700v2:amber:usb2";
113         };
114
115         led@18 {
116                 reg = <18>;
117                 active-low;
118                 label = "DGND3700v2:amber:ethernet";
119         };
120 };
121
122 &ohci {
123         status = "okay";
124 };
125
126 &uart0 {
127         u-boot,dm-pre-reloc;
128         status = "okay";
129 };
130
131 &usbh {
132         status = "okay";
133 };