blob: dfbc4148dcdb7133543e8db2996d9b6859cb88dc [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojasa186d262017-05-07 20:11:32 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojasa186d262017-05-07 20:11:32 +02004 */
5
6/dts-v1/;
7
8#include "brcm,bcm6358.dtsi"
9
10/ {
11 model = "SFR NeufBox 4 (Sercomm) Board";
12 compatible = "sfr,nb4-ser", "brcm,bcm6358";
13
14 aliases {
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 gpio-leds {
23 compatible = "gpio-leds";
24
25 traffic_white {
26 label = "NB4-SER:white:traffic";
27 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
28 };
29
30 service_blue {
31 label = "NB4-SER:blue:service";
32 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
33 };
34
35 wifi_white {
36 label = "NB4-SER:white:wifi";
37 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
38 };
39
40 service_red {
41 label = "NB4-SER:red:service";
42 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
43 };
44
45 service_green {
46 label = "NB4-SER:green:service";
47 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
48 };
49 };
50};
51
Álvaro Fernández Rojase39f6c02018-02-04 11:19:14 +010052&ehci {
53 status = "okay";
54};
55
Álvaro Fernández Rojas9c0c7e82018-12-01 19:00:31 +010056&enet0 {
57 status = "okay";
58 phy = <&enet0phy>;
59 phy-mode = "internal";
60
61 enet0phy: fixed-link {
62 reg = <1>;
63 speed = <100>;
64 full-duplex;
65 };
66};
67
68&enet1 {
69 status = "okay";
70 phy = <&enet1phy>;
71 phy-mode = "mii";
72
73 enet1phy: fixed-link {
74 reg = <1>;
75 speed = <100>;
76 full-duplex;
77 };
78};
79
Álvaro Fernández Rojasa186d262017-05-07 20:11:32 +020080&gpio0 {
81 status = "okay";
82};
83
84&leds {
85 status = "okay";
86 brcm,clk-div = <1>;
87
88 led@0 {
89 reg = <0>;
90 active-low;
91 label = "NB4-SER:white:alarm";
92 };
93
94 led@2 {
95 reg = <2>;
96 active-low;
97 label = "NB4-SER:white:tv";
98 };
99
100 led@3 {
101 reg = <3>;
102 active-low;
103 label = "NB4-SER:white:tel";
104 };
105
106 led@4 {
107 reg = <4>;
108 active-low;
109 label = "NB4-SER:white:adsl";
110 };
111};
112
Álvaro Fernández Rojase39f6c02018-02-04 11:19:14 +0100113&ohci {
114 status = "okay";
115};
116
Álvaro Fernández Rojasa186d262017-05-07 20:11:32 +0200117&pflash {
118 status = "okay";
119};
120
121&uart0 {
122 u-boot,dm-pre-reloc;
123 status = "okay";
124};
Álvaro Fernández Rojase39f6c02018-02-04 11:19:14 +0100125
126&usbh {
127 status = "okay";
128};