2016-03-09 05:32:26 +08:00
|
|
|
/*
|
|
|
|
* Device tree source for D-Link DSR-1000N.
|
|
|
|
*
|
|
|
|
* Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2016-09-13 04:39:08 +08:00
|
|
|
/include/ "dlink_dsr-500n-1000n.dtsi"
|
2016-06-05 05:18:19 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2016-03-09 05:32:26 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "dlink,dsr-1000n";
|
|
|
|
|
|
|
|
soc@0 {
|
|
|
|
uart0: serial@1180000000800 {
|
|
|
|
clock-frequency = <500000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
usb1 {
|
|
|
|
label = "usb1";
|
2016-06-05 05:18:19 +08:00
|
|
|
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
|
2016-03-09 05:32:26 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
usb2 {
|
|
|
|
label = "usb2";
|
2016-06-05 05:18:19 +08:00
|
|
|
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
2016-03-09 05:32:26 +08:00
|
|
|
};
|
2016-06-05 05:18:20 +08:00
|
|
|
|
|
|
|
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>;
|
|
|
|
};
|
2016-03-09 05:32:26 +08:00
|
|
|
};
|
|
|
|
};
|