2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2018-02-03 09:30:28 +00:00
|
|
|
/*
|
2019-08-30 10:00:42 +00:00
|
|
|
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
2018-02-03 09:30:28 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "brcm,bcm6362.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Netgear DGND3700v2";
|
|
|
|
compatible = "netgear,dgnd3700v2", "brcm,bcm6362";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
inet_green {
|
|
|
|
label = "DGND3700v2:green:inet";
|
|
|
|
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dsl_green {
|
|
|
|
label = "DGND3700v2:green:dsl";
|
|
|
|
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
power_amber {
|
|
|
|
label = "DGND3700v2:red:power";
|
|
|
|
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-04 20:10:19 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:00:38 +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-02-03 09:30:28 +00:00
|
|
|
&gpio0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&leds {
|
|
|
|
status = "okay";
|
|
|
|
brcm,serial-leds;
|
|
|
|
brcm,serial-dat-low;
|
|
|
|
brcm,serial-shift-inv;
|
|
|
|
brcm,serial-mux;
|
|
|
|
|
|
|
|
led@8 {
|
|
|
|
reg = <8>;
|
|
|
|
label = "DGND3700v2:green:power";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@9 {
|
|
|
|
reg = <9>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:green:wps";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@10 {
|
|
|
|
reg = <10>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:green:usb1";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@11 {
|
|
|
|
reg = <11>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:green:usb2";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@12 {
|
|
|
|
reg = <12>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:amber:inet";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@13 {
|
|
|
|
reg = <13>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:green:ethernet";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@14 {
|
|
|
|
reg = <14>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:amber:dsl";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@16 {
|
|
|
|
reg = <16>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:amber:usb1";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@17 {
|
|
|
|
reg = <17>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:amber:usb2";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@18 {
|
|
|
|
reg = <18>;
|
|
|
|
active-low;
|
|
|
|
label = "DGND3700v2:amber:ethernet";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-04 20:10:19 +00:00
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-02-03 09:30:28 +00:00
|
|
|
&uart0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2018-02-03 09:30:28 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2018-02-04 20:10:19 +00:00
|
|
|
|
|
|
|
&usbh {
|
|
|
|
status = "okay";
|
|
|
|
};
|