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