blob: f1f5430b42292b816ee32dde6f2169731e7b9190 [file] [log] [blame]
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +01001/*
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,bcm6368.dtsi"
10
11/ {
12 model = "Comtrend WAP-5813n";
13 compatible = "comtrend,wap-5813n", "brcm,bcm6368";
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 inet_green {
27 label = "WAP-5813n:green:inet";
28 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
29 };
30
31 power_green {
32 label = "WAP-5813n:green:power";
33 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
34 default-state = "on";
35 };
36
37 wps_green {
38 label = "WAP-5813n:green:wps";
39 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
40 };
41
42 power_red {
43 label = "WAP-5813n:red:power";
44 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
45 };
46
47 inet_red {
48 label = "WAP-5813n:red:inet";
49 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
50 };
51 };
52};
53
Álvaro Fernández Rojasb8841ce2018-02-04 21:10:15 +010054&ehci {
55 status = "okay";
56};
57
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +010058&gpio0 {
59 status = "okay";
60};
61
Álvaro Fernández Rojasb8841ce2018-02-04 21:10:15 +010062&ohci {
63 status = "okay";
64};
65
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +010066&pflash {
67 status = "okay";
68};
69
70&uart0 {
71 u-boot,dm-pre-reloc;
72 status = "okay";
73};
Álvaro Fernández Rojasb8841ce2018-02-04 21:10:15 +010074
75&usbh {
76 status = "okay";
77};