summaryrefslogtreecommitdiff
path: root/arch/mips/dts/comtrend,vr-3032u.dts
blob: 512cb52de3002ee7e7f6d590f75fac6d72083cca (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
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
 */

/dts-v1/;

#include "brcm,bcm63268.dtsi"

/ {
	model = "Comtrend VR-3032u";
	compatible = "comtrend,vr-3032u", "brcm,bcm63268";

	aliases {
		serial0 = &uart0;
	};

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

&ehci {
	status = "okay";
};

&enet {
	status = "okay";

	port@0 {
		compatible = "brcm,enetsw-port";
		reg = <0>;
		label = "fe2";
		brcm,phy-id = <1>;
	};

	port@1 {
		compatible = "brcm,enetsw-port";
		reg = <1>;
		label = "fe3";
		brcm,phy-id = <2>;
	};

	port@2 {
		compatible = "brcm,enetsw-port";
		reg = <2>;
		label = "fe4";
		brcm,phy-id = <3>;
	};

	port@3 {
		compatible = "brcm,enetsw-port";
		reg = <3>;
		label = "fe1";
		brcm,phy-id = <4>;
	};
};

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

	led@2 {
		reg = <2>;
		active-low;
		label = "VR-3032u:red:inet";
	};

	led@3 {
		reg = <3>;
		active-low;
		label = "VR-3032u:green:dsl";
	};

	led@4 {
		reg = <4>;
		active-low;
		label = "VR-3032u:green:usb";
	};

	led@7 {
		reg = <7>;
		active-low;
		label = "VR-3032u:green:wps";
	};

	led@8 {
		reg = <8>;
		active-low;
		label = "VR-3032u:green:inet";
	};

	led@20 {
		reg = <20>;
		active-low;
		label = "VR-3032u:green:power";
	};
};

&ohci {
	status = "okay";
};

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

&usbh {
	status = "okay";
};