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