xref: /openbmc/u-boot/arch/mips/dts/sfr,nb4-ser.dts (revision e11ef3d2)
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&gpio0 {
57	status = "okay";
58};
59
60&leds {
61	status = "okay";
62	brcm,clk-div = <1>;
63
64	led@0 {
65		reg = <0>;
66		active-low;
67		label = "NB4-SER:white:alarm";
68	};
69
70	led@2 {
71		reg = <2>;
72		active-low;
73		label = "NB4-SER:white:tv";
74	};
75
76	led@3 {
77		reg = <3>;
78		active-low;
79		label = "NB4-SER:white:tel";
80	};
81
82	led@4 {
83		reg = <4>;
84		active-low;
85		label = "NB4-SER:white:adsl";
86	};
87};
88
89&ohci {
90	status = "okay";
91};
92
93&pflash {
94	status = "okay";
95};
96
97&uart0 {
98	u-boot,dm-pre-reloc;
99	status = "okay";
100};
101
102&usbh {
103	status = "okay";
104};
105