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

/dts-v1/;

#include "brcm,bcm6318.dtsi"

/ {
	model = "Comtrend AR-5315u";
	compatible = "comtrend,ar5315-un", "brcm,bcm6318";

	aliases {
		serial0 = &uart0;
	};

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

&ehci {
	status = "okay";
};

&leds {
	status = "okay";

	led@0 {
		reg = <0>;
		active-low;
		label = "AR-5315u:green:wps";
	};

	led@1 {
		reg = <1>;
		active-low;
		label = "AR-5315u:green:power";
	};

	led@2 {
		reg = <2>;
		active-low;
		label = "AR-5315u:green:usb";
	};

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

	led@9 {
		reg = <9>;
		active-low;
		label = "AR-5315u:red:inet";
	};

	led@10 {
		reg = <10>;
		active-low;
		label = "AR-5315u:green:dsl";
	};

	led@11 {
		reg = <11>;
		active-low;
		label = "AR-5315u:red:power";
	};
};

&ohci {
	status = "okay";
};

&spi {
	status = "okay";

	spi-flash@0 {
		compatible = "spi-flash";
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <1>;
		spi-max-frequency = <62500000>;
	};
};

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

&usbh {
	status = "okay";
};