summaryrefslogtreecommitdiff
path: root/arch/mips/dts/netgear,dgnd3700v2.dts
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-02-03 10:30:28 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-03-21 23:23:13 +0100
commit9d466f2fe11a88da9f31f260296be042ed378b9d (patch)
tree02a98eebb5c4f9c80f82dbf2e2f287dc06f44354 /arch/mips/dts/netgear,dgnd3700v2.dts
parent8f240a3b45d6b6cf51c69c3ae7e1b0f1774671a7 (diff)
MIPS: add BMIPS Netgear DGND3700v2 board
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'arch/mips/dts/netgear,dgnd3700v2.dts')
-rw-r--r--arch/mips/dts/netgear,dgnd3700v2.dts121
1 files changed, 121 insertions, 0 deletions
diff --git a/arch/mips/dts/netgear,dgnd3700v2.dts b/arch/mips/dts/netgear,dgnd3700v2.dts
new file mode 100644
index 0000000000..9792e06ed3
--- /dev/null
+++ b/arch/mips/dts/netgear,dgnd3700v2.dts
@@ -0,0 +1,121 @@
+/*
+ * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+/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>;
+ };
+ };
+};
+
+&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";
+ };
+};
+
+&uart0 {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+};