summaryrefslogtreecommitdiff
path: root/arch/mips/dts/comtrend,wap-5813n.dts
blob: f1f5430b42292b816ee32dde6f2169731e7b9190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

/dts-v1/;

#include "brcm,bcm6368.dtsi"

/ {
	model = "Comtrend WAP-5813n";
	compatible = "comtrend,wap-5813n", "brcm,bcm6368";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	gpio-leds {
		compatible = "gpio-leds";

		inet_green {
			label = "WAP-5813n:green:inet";
			gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
		};

		power_green {
			label = "WAP-5813n:green:power";
			gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		wps_green {
			label = "WAP-5813n:green:wps";
			gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
		};

		power_red {
			label = "WAP-5813n:red:power";
			gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
		};

		inet_red {
			label = "WAP-5813n:red:inet";
			gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
		};
	};
};

&ehci {
	status = "okay";
};

&gpio0 {
	status = "okay";
};

&ohci {
	status = "okay";
};

&pflash {
	status = "okay";
};

&uart0 {
	u-boot,dm-pre-reloc;
	status = "okay";
};

&usbh {
	status = "okay";
};