2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2018-01-20 13:16:56 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/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>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-04 20:10:15 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:00:34 +00:00
|
|
|
&enet {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
port@4 {
|
|
|
|
compatible = "brcm,enetsw-port";
|
|
|
|
reg = <4>;
|
|
|
|
label = "rgmii";
|
|
|
|
brcm,phy-id = <0xff>;
|
|
|
|
speed = <1000>;
|
|
|
|
full-duplex;
|
|
|
|
bypass-link;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-20 13:16:56 +00:00
|
|
|
&gpio0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-02-04 20:10:15 +00:00
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-20 13:16:56 +00:00
|
|
|
&pflash {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2018-01-20 13:16:56 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2018-02-04 20:10:15 +00:00
|
|
|
|
|
|
|
&usbh {
|
|
|
|
status = "okay";
|
|
|
|
};
|