]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/mips/dts/comtrend,ar-5315u.dts
MIPS: add BMIPS Comtrend AR-5315u board
[people/ms/u-boot.git] / arch / mips / dts / comtrend,ar-5315u.dts
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 &leds {
25 status = "okay";
26
27 led@0 {
28 reg = <0>;
29 active-low;
30 label = "AR-5315u:green:wps";
31 };
32
33 led@1 {
34 reg = <1>;
35 active-low;
36 label = "AR-5315u:green:power";
37 };
38
39 led@2 {
40 reg = <2>;
41 active-low;
42 label = "AR-5315u:green:usb";
43 };
44
45 led@8 {
46 reg = <8>;
47 active-low;
48 label = "AR-5315u:green:inet";
49 };
50
51 led@9 {
52 reg = <9>;
53 active-low;
54 label = "AR-5315u:red:inet";
55 };
56
57 led@10 {
58 reg = <10>;
59 active-low;
60 label = "AR-5315u:green:dsl";
61 };
62
63 led@11 {
64 reg = <11>;
65 active-low;
66 label = "AR-5315u:red:power";
67 };
68 };
69
70 &spi {
71 status = "okay";
72
73 spi-flash@0 {
74 compatible = "spi-flash";
75 reg = <0>;
76 #address-cells = <1>;
77 #size-cells = <1>;
78 spi-max-frequency = <62500000>;
79 };
80 };
81
82 &uart0 {
83 u-boot,dm-pre-reloc;
84 status = "okay";
85 };