1/*
2 * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
3 *
4 * SPDX-License-Identifier:	GPL-2.0+
5 */
6
7/dts-v1/;
8
9#include "brcm,bcm6318.dtsi"
10
11/ {
12	model = "Comtrend AR-5315u";
13	compatible = "comtrend,ar5315-un", "brcm,bcm6318";
14
15	aliases {
16		serial0 = &uart0;
17	};
18
19	chosen {
20		stdout-path = "serial0:115200n8";
21	};
22};
23
24&ehci {
25	status = "okay";
26};
27
28&leds {
29	status = "okay";
30
31	led@0 {
32		reg = <0>;
33		active-low;
34		label = "AR-5315u:green:wps";
35	};
36
37	led@1 {
38		reg = <1>;
39		active-low;
40		label = "AR-5315u:green:power";
41	};
42
43	led@2 {
44		reg = <2>;
45		active-low;
46		label = "AR-5315u:green:usb";
47	};
48
49	led@8 {
50		reg = <8>;
51		active-low;
52		label = "AR-5315u:green:inet";
53	};
54
55	led@9 {
56		reg = <9>;
57		active-low;
58		label = "AR-5315u:red:inet";
59	};
60
61	led@10 {
62		reg = <10>;
63		active-low;
64		label = "AR-5315u:green:dsl";
65	};
66
67	led@11 {
68		reg = <11>;
69		active-low;
70		label = "AR-5315u:red:power";
71	};
72};
73
74&ohci {
75	status = "okay";
76};
77
78&spi {
79	status = "okay";
80
81	spi-flash@0 {
82		compatible = "spi-flash";
83		reg = <0>;
84		#address-cells = <1>;
85		#size-cells = <1>;
86		spi-max-frequency = <62500000>;
87	};
88};
89
90&uart0 {
91	u-boot,dm-pre-reloc;
92	status = "okay";
93};
94
95&usbh {
96	status = "okay";
97};
98