blob: 45570189d0bd28505e8a5be7fe9add3ddf13175c [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +01002/*
3 * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +01004 */
5
6/dts-v1/;
7
8#include "brcm,bcm6318.dtsi"
9
10/ {
11 model = "Comtrend AR-5315u";
12 compatible = "comtrend,ar5315-un", "brcm,bcm6318";
13
14 aliases {
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21};
22
Álvaro Fernández Rojas937bddc2018-02-04 21:11:17 +010023&ehci {
24 status = "okay";
25};
26
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +010027&leds {
28 status = "okay";
29
30 led@0 {
31 reg = <0>;
32 active-low;
33 label = "AR-5315u:green:wps";
34 };
35
36 led@1 {
37 reg = <1>;
38 active-low;
39 label = "AR-5315u:green:power";
40 };
41
42 led@2 {
43 reg = <2>;
44 active-low;
45 label = "AR-5315u:green:usb";
46 };
47
48 led@8 {
49 reg = <8>;
50 active-low;
51 label = "AR-5315u:green:inet";
52 };
53
54 led@9 {
55 reg = <9>;
56 active-low;
57 label = "AR-5315u:red:inet";
58 };
59
60 led@10 {
61 reg = <10>;
62 active-low;
63 label = "AR-5315u:green:dsl";
64 };
65
66 led@11 {
67 reg = <11>;
68 active-low;
69 label = "AR-5315u:red:power";
70 };
71};
72
Álvaro Fernández Rojas937bddc2018-02-04 21:11:17 +010073&ohci {
74 status = "okay";
75};
76
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +010077&spi {
78 status = "okay";
79
80 spi-flash@0 {
81 compatible = "spi-flash";
82 reg = <0>;
83 #address-cells = <1>;
84 #size-cells = <1>;
85 spi-max-frequency = <62500000>;
86 };
87};
88
89&uart0 {
90 u-boot,dm-pre-reloc;
91 status = "okay";
92};
Álvaro Fernández Rojas937bddc2018-02-04 21:11:17 +010093
94&usbh {
95 status = "okay";
96};