u-boot/arch/mips/dts/netgear,dgnd3700v2.dts
Álvaro Fernández Rojas ba329fd1f2 bmips: enable dgnd3700v2 enet support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2018-12-19 15:23:01 +01:00

146 lines
1.9 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
*/
/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>;
};
};
};
&ehci {
status = "okay";
};
&enet {
status = "okay";
port@4 {
compatible = "brcm,enetsw-port";
reg = <4>;
label = "rgmii";
brcm,phy-id = <0xff>;
speed = <1000>;
full-duplex;
bypass-link;
};
};
&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";
};
};
&ohci {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
status = "okay";
};
&usbh {
status = "okay";
};