blob: f2092e9f999f56480175227308b11dd95bf0dc13 [file] [log] [blame]
Álvaro Fernández Rojasa186d262017-05-07 20:11:32 +02001/*
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&gpio0 {
54 status = "okay";
55};
56
57&leds {
58 status = "okay";
59 brcm,clk-div = <1>;
60
61 led@0 {
62 reg = <0>;
63 active-low;
64 label = "NB4-SER:white:alarm";
65 };
66
67 led@2 {
68 reg = <2>;
69 active-low;
70 label = "NB4-SER:white:tv";
71 };
72
73 led@3 {
74 reg = <3>;
75 active-low;
76 label = "NB4-SER:white:tel";
77 };
78
79 led@4 {
80 reg = <4>;
81 active-low;
82 label = "NB4-SER:white:adsl";
83 };
84};
85
86&pflash {
87 status = "okay";
88};
89
90&uart0 {
91 u-boot,dm-pre-reloc;
92 status = "okay";
93};