blob: e993b5cd89db7182718dac70dd1c0c78004ac1e5 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +02004 */
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
Álvaro Fernández Rojas56821ff2018-02-04 21:10:17 +010023&ehci {
24 status = "okay";
25};
26
Álvaro Fernández Rojas42ecb782017-05-07 20:10:27 +020027&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
Álvaro Fernández Rojas56821ff2018-02-04 21:10:17 +010057&ohci {
58 status = "okay";
59};
60
Álvaro Fernández Rojas58243722018-01-20 02:13:41 +010061&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
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020073&uart0 {
74 u-boot,dm-pre-reloc;
75 status = "okay";
76};
Álvaro Fernández Rojas56821ff2018-02-04 21:10:17 +010077
78&usbh {
79 status = "okay";
80};