xref: /openbmc/u-boot/arch/mips/dts/sfr,nb4-ser.dts (revision 57efeb04)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
4 */
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
52&ehci {
53	status = "okay";
54};
55
56&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
80&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
113&ohci {
114	status = "okay";
115};
116
117&pflash {
118	status = "okay";
119};
120
121&uart0 {
122	u-boot,dm-pre-reloc;
123	status = "okay";
124};
125
126&usbh {
127	status = "okay";
128};
129