summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts
blob: 2fdb4baad19ca634d46ae99c98a17ebadf061696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Device tree source for D-Link DSR-1000N.
 *
 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
 */

/include/ "dlink_dsr-500n-1000n.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "dlink,dsr-1000n";

	soc@0 {
		uart0: serial@1180000000800 {
			clock-frequency = <500000000>;
		};
	};

	leds {
		compatible = "gpio-leds";

		usb1 {
			label = "usb1";
			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
		};

		usb2 {
			label = "usb2";
			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
		};

		wps {
			label = "wps";
			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
		};

		wireless1 {
			label = "5g";
			gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
		};

		wireless2 {
			label = "2.4g";
			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
		};
	};
};