blob: eb60aaa8d5f832f1ff2a094a68eed644f8f3e2d2 [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 Rojas71bb9bf2018-12-01 19:00:42 +010027&enet {
28 status = "okay";
29
30 port@0 {
31 compatible = "brcm,enetsw-port";
32 reg = <0>;
33 label = "fe4";
34 brcm,phy-id = <1>;
35 };
36
37 port@1 {
38 compatible = "brcm,enetsw-port";
39 reg = <1>;
40 label = "fe3";
41 brcm,phy-id = <2>;
42 };
43
44 port@2 {
45 compatible = "brcm,enetsw-port";
46 reg = <2>;
47 label = "fe2";
48 brcm,phy-id = <3>;
49 };
50
51 port@3 {
52 compatible = "brcm,enetsw-port";
53 reg = <3>;
54 label = "fe1";
55 brcm,phy-id = <4>;
56 };
57};
58
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +010059&leds {
60 status = "okay";
61
62 led@0 {
63 reg = <0>;
64 active-low;
65 label = "AR-5315u:green:wps";
66 };
67
68 led@1 {
69 reg = <1>;
70 active-low;
71 label = "AR-5315u:green:power";
72 };
73
74 led@2 {
75 reg = <2>;
76 active-low;
77 label = "AR-5315u:green:usb";
78 };
79
80 led@8 {
81 reg = <8>;
82 active-low;
83 label = "AR-5315u:green:inet";
84 };
85
86 led@9 {
87 reg = <9>;
88 active-low;
89 label = "AR-5315u:red:inet";
90 };
91
92 led@10 {
93 reg = <10>;
94 active-low;
95 label = "AR-5315u:green:dsl";
96 };
97
98 led@11 {
99 reg = <11>;
100 active-low;
101 label = "AR-5315u:red:power";
102 };
103};
104
Álvaro Fernández Rojas937bddc2018-02-04 21:11:17 +0100105&ohci {
106 status = "okay";
107};
108
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100109&spi {
110 status = "okay";
111
112 spi-flash@0 {
113 compatible = "spi-flash";
114 reg = <0>;
115 #address-cells = <1>;
116 #size-cells = <1>;
117 spi-max-frequency = <62500000>;
118 };
119};
120
121&uart0 {
122 u-boot,dm-pre-reloc;
123 status = "okay";
124};
Álvaro Fernández Rojas937bddc2018-02-04 21:11:17 +0100125
126&usbh {
127 status = "okay";
128};