blob: 110119b507911ca062c520c9f20dce1be5745d6d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +02004 */
5
6/dts-v1/;
7
8#include "brcm,bcm63268.dtsi"
9
10/ {
11 model = "Comtrend VR-3032u";
12 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
13
14 aliases {
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21};
22
Álvaro Fernández Rojas485d2cd2018-02-04 21:10:21 +010023&ehci {
24 status = "okay";
25};
26
Álvaro Fernández Rojas173e3ae2018-12-01 19:00:40 +010027&enet {
28 status = "okay";
29
30 port@0 {
31 compatible = "brcm,enetsw-port";
32 reg = <0>;
33 label = "fe2";
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 = "fe4";
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 Rojas09e2a572017-05-07 20:10:28 +020059&leds {
60 status = "okay";
61 brcm,serial-leds;
62 brcm,serial-dat-low;
63 brcm,serial-shift-inv;
64
65 led@2 {
66 reg = <2>;
67 active-low;
68 label = "VR-3032u:red:inet";
69 };
70
71 led@3 {
72 reg = <3>;
73 active-low;
74 label = "VR-3032u:green:dsl";
75 };
76
77 led@4 {
78 reg = <4>;
79 active-low;
80 label = "VR-3032u:green:usb";
81 };
82
83 led@7 {
84 reg = <7>;
85 active-low;
86 label = "VR-3032u:green:wps";
87 };
88
89 led@8 {
90 reg = <8>;
91 active-low;
92 label = "VR-3032u:green:inet";
93 };
94
95 led@20 {
96 reg = <20>;
97 active-low;
98 label = "VR-3032u:green:power";
99 };
100};
101
Álvaro Fernández Rojas331bee82019-08-28 19:12:20 +0200102&nand {
103 status = "okay";
104
105 nandcs@0 {
106 compatible = "brcm,nandcs";
107 reg = <0>;
108 nand-ecc-strength = <15>;
109 nand-ecc-step-size = <512>;
110 nand-on-flash-bbt;
111 brcm,nand-oob-sector-size = <64>;
112 };
113};
114
Álvaro Fernández Rojas485d2cd2018-02-04 21:10:21 +0100115&ohci {
116 status = "okay";
117};
118
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200119&uart0 {
120 u-boot,dm-pre-reloc;
121 status = "okay";
122};
Álvaro Fernández Rojas485d2cd2018-02-04 21:10:21 +0100123
124&usbh {
125 status = "okay";
126};