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&gpio0 {
47	status = "okay";
48};
49
50&gpio1 {
51	status = "okay";
52};
53
54&leds {
55	status = "okay";
56	brcm,serial-leds;
57	brcm,serial-dat-low;
58	brcm,serial-shift-inv;
59	brcm,serial-mux;
60
61	led@8 {
62		reg = <8>;
63		label = "DGND3700v2:green:power";
64	};
65
66	led@9 {
67		reg = <9>;
68		active-low;
69		label = "DGND3700v2:green:wps";
70	};
71
72	led@10 {
73		reg = <10>;
74		active-low;
75		label = "DGND3700v2:green:usb1";
76	};
77
78	led@11 {
79		reg = <11>;
80		active-low;
81		label = "DGND3700v2:green:usb2";
82	};
83
84	led@12 {
85		reg = <12>;
86		active-low;
87		label = "DGND3700v2:amber:inet";
88	};
89
90	led@13 {
91		reg = <13>;
92		active-low;
93		label = "DGND3700v2:green:ethernet";
94	};
95
96	led@14 {
97		reg = <14>;
98		active-low;
99		label = "DGND3700v2:amber:dsl";
100	};
101
102	led@16 {
103		reg = <16>;
104		active-low;
105		label = "DGND3700v2:amber:usb1";
106	};
107
108	led@17 {
109		reg = <17>;
110		active-low;
111		label = "DGND3700v2:amber:usb2";
112	};
113
114	led@18 {
115		reg = <18>;
116		active-low;
117		label = "DGND3700v2:amber:ethernet";
118	};
119};
120
121&ohci {
122	status = "okay";
123};
124
125&uart0 {
126	u-boot,dm-pre-reloc;
127	status = "okay";
128};
129
130&usbh {
131	status = "okay";
132};
133