blob: bd41dab9f8e7d732c633abf9289a570a80c953a6 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +01002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +01004 */
5
6/dts-v1/;
7
8#include "brcm,bcm6368.dtsi"
9
10/ {
11 model = "Comtrend WAP-5813n";
12 compatible = "comtrend,wap-5813n", "brcm,bcm6368";
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 inet_green {
26 label = "WAP-5813n:green:inet";
27 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
28 };
29
30 power_green {
31 label = "WAP-5813n:green:power";
32 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
33 default-state = "on";
34 };
35
36 wps_green {
37 label = "WAP-5813n:green:wps";
38 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
39 };
40
41 power_red {
42 label = "WAP-5813n:red:power";
43 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
44 };
45
46 inet_red {
47 label = "WAP-5813n:red:inet";
48 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
49 };
50 };
51};
52
Álvaro Fernández Rojas02ca1bd2018-02-04 21:10:15 +010053&ehci {
54 status = "okay";
55};
56
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +010057&gpio0 {
58 status = "okay";
59};
60
Álvaro Fernández Rojas02ca1bd2018-02-04 21:10:15 +010061&ohci {
62 status = "okay";
63};
64
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +010065&pflash {
66 status = "okay";
67};
68
69&uart0 {
70 u-boot,dm-pre-reloc;
71 status = "okay";
72};
Álvaro Fernández Rojas02ca1bd2018-02-04 21:10:15 +010073
74&usbh {
75 status = "okay";
76};