1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
4 */
5
6/dts-v1/;
7
8#include "brcm,bcm6328.dtsi"
9
10/ {
11	model = "Comtrend AR-5387un";
12	compatible = "comtrend,ar5387-un", "brcm,bcm6328";
13
14	aliases {
15		serial0 = &uart0;
16	};
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21};
22
23&ehci {
24	status = "okay";
25};
26
27&leds {
28	status = "okay";
29
30	led@1 {
31		reg = <1>;
32		label = "AR-5387un:red:inet";
33	};
34
35	led@4 {
36		reg = <4>;
37		label = "AR-5387un:red:power";
38	};
39
40	led@7 {
41		reg = <7>;
42		label = "AR-5387un:green:inet";
43	};
44
45	led@8 {
46		reg = <8>;
47		label = "AR-5387un:green:power";
48	};
49
50	led@11 {
51		reg = <11>;
52		active-low;
53		label = "AR-5387un:green:dsl";
54	};
55};
56
57&ohci {
58	status = "okay";
59};
60
61&spi {
62	status = "okay";
63
64	spi-flash@0 {
65		compatible = "spi-flash";
66		reg = <0>;
67		#address-cells = <1>;
68		#size-cells = <1>;
69		spi-max-frequency = <33333334>;
70	};
71};
72
73&uart0 {
74	u-boot,dm-pre-reloc;
75	status = "okay";
76};
77
78&usbh {
79	status = "okay";
80};
81