blob: cfa29156eb69df0775af66316f0ffcdfa4e7513d [file] [log] [blame]
Aaro Koskinenfa0a4972016-03-08 23:32:26 +02001/*
2 * Device tree source for D-Link DSR-1000N.
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
Aaro Koskinen1491eaf2016-09-12 23:39:08 +030011/include/ "dlink_dsr-500n-1000n.dtsi"
Aaro Koskinene1b7d0e2016-06-05 00:18:19 +030012#include <dt-bindings/gpio/gpio.h>
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020013
14/ {
15 model = "dlink,dsr-1000n";
16
17 soc@0 {
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020018 uart0: serial@1180000000800 {
19 clock-frequency = <500000000>;
20 };
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020021 };
22
23 leds {
24 compatible = "gpio-leds";
25
26 usb1 {
27 label = "usb1";
Aaro Koskinene1b7d0e2016-06-05 00:18:19 +030028 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020029 };
30
31 usb2 {
32 label = "usb2";
Aaro Koskinene1b7d0e2016-06-05 00:18:19 +030033 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020034 };
Aaro Koskinen5c315e32016-06-05 00:18:20 +030035
36 wps {
37 label = "wps";
38 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
39 };
40
41 wireless1 {
42 label = "5g";
43 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
44 };
45
46 wireless2 {
47 label = "2.4g";
48 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
49 };
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020050 };
Aaro Koskinenfa0a4972016-03-08 23:32:26 +020051};