Merge tag 'efi-2020-07-rc6' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[oweals/u-boot.git] / arch / mips / dts / comtrend,wap-5813n.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
4  */
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
53 &ehci {
54         status = "okay";
55 };
56
57 &enet {
58         status = "okay";
59
60         port@4 {
61                 compatible = "brcm,enetsw-port";
62                 reg = <4>;
63                 label = "rgmii";
64                 brcm,phy-id = <0xff>;
65                 speed = <1000>;
66                 full-duplex;
67                 bypass-link;
68         };
69 };
70
71 &gpio0 {
72         status = "okay";
73 };
74
75 &ohci {
76         status = "okay";
77 };
78
79 &pflash {
80         status = "okay";
81 };
82
83 &uart0 {
84         u-boot,dm-pre-reloc;
85         status = "okay";
86 };
87
88 &usbh {
89         status = "okay";
90 };