blob: 3a97315b3fb41f874607d058993e532a6fa46833 [file] [log] [blame]
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +02001/*
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
Álvaro Fernández Rojas56821ff2018-02-04 21:10:17 +010024&ehci {
25 status = "okay";
26};
27
Álvaro Fernández Rojas42ecb782017-05-07 20:10:27 +020028&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
Álvaro Fernández Rojas56821ff2018-02-04 21:10:17 +010058&ohci {
59 status = "okay";
60};
61
Álvaro Fernández Rojas58243722018-01-20 02:13:41 +010062&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
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020074&uart0 {
75 u-boot,dm-pre-reloc;
76 status = "okay";
77};
Álvaro Fernández Rojas56821ff2018-02-04 21:10:17 +010078
79&usbh {
80 status = "okay";
81};