blob: 12ace64621bf2c0d89b78510af6e32afd2b96fd7 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas0642f482017-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 Rojas56928dd2018-02-04 21:10:17 +010023&ehci {
24 status = "okay";
25};
26
Álvaro Fernández Rojas54468f52018-12-01 19:00:36 +010027&enet {
28 status = "okay";
29
30 port@0 {
31 compatible = "brcm,enetsw-port";
32 reg = <0>;
33 label = "fe1";
34 brcm,phy-id = <1>;
35 };
36
37 port@1 {
38 compatible = "brcm,enetsw-port";
39 reg = <1>;
40 label = "fe2";
41 brcm,phy-id = <2>;
42 };
43
44 port@2 {
45 compatible = "brcm,enetsw-port";
46 reg = <2>;
47 label = "fe3";
48 brcm,phy-id = <3>;
49 };
50
51 port@3 {
52 compatible = "brcm,enetsw-port";
53 reg = <3>;
54 label = "fe4";
55 brcm,phy-id = <4>;
56 };
57};
58
Álvaro Fernández Rojas6def1b22017-05-07 20:10:27 +020059&leds {
60 status = "okay";
61
62 led@1 {
63 reg = <1>;
64 label = "AR-5387un:red:inet";
65 };
66
67 led@4 {
68 reg = <4>;
69 label = "AR-5387un:red:power";
70 };
71
72 led@7 {
73 reg = <7>;
74 label = "AR-5387un:green:inet";
75 };
76
77 led@8 {
78 reg = <8>;
79 label = "AR-5387un:green:power";
80 };
81
82 led@11 {
83 reg = <11>;
84 active-low;
85 label = "AR-5387un:green:dsl";
86 };
87};
88
Álvaro Fernández Rojas56928dd2018-02-04 21:10:17 +010089&ohci {
90 status = "okay";
91};
92
Álvaro Fernández Rojas13129062018-01-20 02:13:41 +010093&spi {
94 status = "okay";
95
96 spi-flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000097 compatible = "jedec,spi-nor";
Álvaro Fernández Rojas13129062018-01-20 02:13:41 +010098 reg = <0>;
99 #address-cells = <1>;
100 #size-cells = <1>;
101 spi-max-frequency = <33333334>;
102 };
103};
104
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200105&uart0 {
106 u-boot,dm-pre-reloc;
107 status = "okay";
108};
Álvaro Fernández Rojas56928dd2018-02-04 21:10:17 +0100109
110&usbh {
111 status = "okay";
112};