2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2018-01-20 18:16:05 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "brcm,bcm6318.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Comtrend AR-5315u";
|
|
|
|
compatible = "comtrend,ar5315-un", "brcm,bcm6318";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-04 20:11:17 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:00:42 +00:00
|
|
|
&enet {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
compatible = "brcm,enetsw-port";
|
|
|
|
reg = <0>;
|
|
|
|
label = "fe4";
|
|
|
|
brcm,phy-id = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
compatible = "brcm,enetsw-port";
|
|
|
|
reg = <1>;
|
|
|
|
label = "fe3";
|
|
|
|
brcm,phy-id = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@2 {
|
|
|
|
compatible = "brcm,enetsw-port";
|
|
|
|
reg = <2>;
|
|
|
|
label = "fe2";
|
|
|
|
brcm,phy-id = <3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
compatible = "brcm,enetsw-port";
|
|
|
|
reg = <3>;
|
|
|
|
label = "fe1";
|
|
|
|
brcm,phy-id = <4>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-20 18:16:05 +00:00
|
|
|
&leds {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
led@0 {
|
|
|
|
reg = <0>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:green:wps";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@1 {
|
|
|
|
reg = <1>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:green:power";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@2 {
|
|
|
|
reg = <2>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:green:usb";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@8 {
|
|
|
|
reg = <8>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:green:inet";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@9 {
|
|
|
|
reg = <9>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:red:inet";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@10 {
|
|
|
|
reg = <10>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:green:dsl";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@11 {
|
|
|
|
reg = <11>;
|
|
|
|
active-low;
|
|
|
|
label = "AR-5315u:red:power";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-04 20:11:17 +00:00
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-20 18:16:05 +00:00
|
|
|
&spi {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
spi-flash@0 {
|
2019-02-10 10:16:20 +00:00
|
|
|
compatible = "jedec,spi-nor";
|
2018-01-20 18:16:05 +00:00
|
|
|
reg = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
spi-max-frequency = <62500000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2018-01-20 18:16:05 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2018-02-04 20:11:17 +00:00
|
|
|
|
|
|
|
&usbh {
|
|
|
|
status = "okay";
|
|
|
|
};
|