summaryrefslogtreecommitdiff
path: root/arch/mips/dts/netgear,dgnd3700v2.dts
blob: 322d1567ffd77e3ba96d12bde533a4a166004847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
 */

/dts-v1/;

#include "brcm,bcm6362.dtsi"

/ {
	model = "Netgear DGND3700v2";
	compatible = "netgear,dgnd3700v2", "brcm,bcm6362";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	gpio-leds {
		compatible = "gpio-leds";

		inet_green {
			label = "DGND3700v2:green:inet";
			gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
		};

		dsl_green {
			label = "DGND3700v2:green:dsl";
			gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
		};

		power_amber {
			label = "DGND3700v2:red:power";
			gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
		};
	};
};

&ehci {
	status = "okay";
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
};

&leds {
	status = "okay";
	brcm,serial-leds;
	brcm,serial-dat-low;
	brcm,serial-shift-inv;
	brcm,serial-mux;

	led@8 {
		reg = <8>;
		label = "DGND3700v2:green:power";
	};

	led@9 {
		reg = <9>;
		active-low;
		label = "DGND3700v2:green:wps";
	};

	led@10 {
		reg = <10>;
		active-low;
		label = "DGND3700v2:green:usb1";
	};

	led@11 {
		reg = <11>;
		active-low;
		label = "DGND3700v2:green:usb2";
	};

	led@12 {
		reg = <12>;
		active-low;
		label = "DGND3700v2:amber:inet";
	};

	led@13 {
		reg = <13>;
		active-low;
		label = "DGND3700v2:green:ethernet";
	};

	led@14 {
		reg = <14>;
		active-low;
		label = "DGND3700v2:amber:dsl";
	};

	led@16 {
		reg = <16>;
		active-low;
		label = "DGND3700v2:amber:usb1";
	};

	led@17 {
		reg = <17>;
		active-low;
		label = "DGND3700v2:amber:usb2";
	};

	led@18 {
		reg = <18>;
		active-low;
		label = "DGND3700v2:amber:ethernet";
	};
};

&ohci {
	status = "okay";
};

&uart0 {
	u-boot,dm-pre-reloc;
	status = "okay";
};

&usbh {
	status = "okay";
};