xref: /openbmc/u-boot/arch/mips/dts/sfr,nb4-ser.dts (revision 3949d2a7)
1/*
2 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
3 *
4 * SPDX-License-Identifier:	GPL-2.0+
5 */
6
7/dts-v1/;
8
9#include "brcm,bcm6358.dtsi"
10
11/ {
12	model = "SFR NeufBox 4 (Sercomm) Board";
13	compatible = "sfr,nb4-ser", "brcm,bcm6358";
14
15	aliases {
16		serial0 = &uart0;
17	};
18
19	chosen {
20		stdout-path = "serial0:115200n8";
21	};
22
23	gpio-leds {
24		compatible = "gpio-leds";
25
26		traffic_white {
27			label = "NB4-SER:white:traffic";
28			gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
29		};
30
31		service_blue {
32			label = "NB4-SER:blue:service";
33			gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
34		};
35
36		wifi_white {
37			label = "NB4-SER:white:wifi";
38			gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
39		};
40
41		service_red {
42			label = "NB4-SER:red:service";
43			gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
44		};
45
46		service_green {
47			label = "NB4-SER:green:service";
48			gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
49		};
50	};
51};
52
53&ehci {
54	status = "okay";
55};
56
57&gpio0 {
58	status = "okay";
59};
60
61&leds {
62	status = "okay";
63	brcm,clk-div = <1>;
64
65	led@0 {
66		reg = <0>;
67		active-low;
68		label = "NB4-SER:white:alarm";
69	};
70
71	led@2 {
72		reg = <2>;
73		active-low;
74		label = "NB4-SER:white:tv";
75	};
76
77	led@3 {
78		reg = <3>;
79		active-low;
80		label = "NB4-SER:white:tel";
81	};
82
83	led@4 {
84		reg = <4>;
85		active-low;
86		label = "NB4-SER:white:adsl";
87	};
88};
89
90&ohci {
91	status = "okay";
92};
93
94&pflash {
95	status = "okay";
96};
97
98&uart0 {
99	u-boot,dm-pre-reloc;
100	status = "okay";
101};
102
103&usbh {
104	status = "okay";
105};
106