aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2016-09-12 16:39:09 -0400
committerRalf Baechle <ralf@linux-mips.org>2016-10-04 10:13:57 -0400
commit6fcdc71735a5537931f3155e86540c47df18b9f3 (patch)
tree7f76b5ffe32d7a3b8bde6033a8150f551b974d2b /arch/mips/boot
parent1491eaf970eeb5b1285d88592706217a1c60ed85 (diff)
MIPS: Octeon: Add DTS for D-Link DSR-500N.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14249/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r--arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts b/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts
new file mode 100644
index 000000000000..78886e172c48
--- /dev/null
+++ b/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts
@@ -0,0 +1,40 @@
1/*
2 * Device tree source for D-Link DSR-500N.
3 *
4 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11/include/ "dlink_dsr-500n-1000n.dtsi"
12#include <dt-bindings/gpio/gpio.h>
13
14/ {
15 model = "dlink,dsr-500n";
16 compatible = "dlink,dsr-500n", "cavium,octeon-3860";
17
18 soc@0 {
19 uart0: serial@1180000000800 {
20 clock-frequency = <300000000>;
21 };
22 };
23
24 leds {
25 compatible = "gpio-leds";
26
27 usb {
28 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
29 };
30
31 wps {
32 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
33 };
34
35 wireless {
36 label = "2.4g";
37 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
38 };
39 };
40};