blob: 60455c2ff8a9a2c227d96d90988de21faac38402 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +02004 */
5
6/dts-v1/;
7
8#include "brcm,bcm6358.dtsi"
9
10/ {
11 model = "Huawei EchoLife HG556a";
12 compatible = "huawei,hg556a", "brcm,bcm6358";
13
14 aliases {
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
Álvaro Fernández Rojas2791f8d2017-05-07 20:09:34 +020021
22 gpio-leds {
23 compatible = "gpio-leds";
24
25 message_red {
26 label = "HG556a:red:message";
27 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
28 };
29
30 hspa_red {
31 label = "HG556a:red:hspa";
32 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
33 };
34
35 dsl_red {
36 label = "HG556a:red:dsl";
37 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
38 };
39
40 power_red {
41 label = "HG556a:red:power";
42 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
43 };
44
45 all_red {
46 label = "HG556a:red:all";
47 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
48 };
49
50 lan1_green {
51 label = "HG556a:green:lan1";
52 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
53 };
54
55 lan1_red {
56 label = "HG556a:red:lan1";
57 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
58 };
59
60 lan2_green {
61 label = "HG556a:green:lan2";
62 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
63 };
64
65 lan2_red {
66 label = "HG556a:red:lan2";
67 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
68 };
69
70 lan3_green {
71 label = "HG556a:green:lan3";
72 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
73 };
74
75 lan3_red {
76 label = "HG556a:red:lan3";
77 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
78 };
79
80 lan4_green {
81 label = "HG556a:green:lan4";
82 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
83 };
84
85 lan4_red {
86 label = "HG556a:red:lan4";
87 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
88 };
89 };
90};
91
Álvaro Fernández Rojas465d6972018-02-04 11:19:13 +010092&ehci {
93 status = "okay";
94};
95
Álvaro Fernández Rojas2791f8d2017-05-07 20:09:34 +020096&gpio0 {
97 status = "okay";
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020098};
99
Álvaro Fernández Rojas465d6972018-02-04 11:19:13 +0100100&ohci {
101 status = "okay";
102};
103
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200104&pflash {
105 status = "okay";
106};
107
108&uart0 {
109 u-boot,dm-pre-reloc;
110 status = "okay";
111};
Álvaro Fernández Rojas465d6972018-02-04 11:19:13 +0100112
113&usbh {
114 status = "okay";
115};