xref: /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/dlink_dsr-1000n.dts (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device tree source for D-Link DSR-1000N.
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
6c66ec88fSEmmanuel Vadot */
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot/include/ "dlink_dsr-500n-1000n.dtsi"
9c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel Vadot/ {
12c66ec88fSEmmanuel Vadot	model = "dlink,dsr-1000n";
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadot	soc@0 {
15c66ec88fSEmmanuel Vadot		uart0: serial@1180000000800 {
16c66ec88fSEmmanuel Vadot			clock-frequency = <500000000>;
17c66ec88fSEmmanuel Vadot		};
18c66ec88fSEmmanuel Vadot	};
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot	leds {
21c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
22c66ec88fSEmmanuel Vadot
23*cb7aa33aSEmmanuel Vadot		led-usb1 {
24c66ec88fSEmmanuel Vadot			label = "usb1";
25c66ec88fSEmmanuel Vadot			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
26c66ec88fSEmmanuel Vadot		};
27c66ec88fSEmmanuel Vadot
28*cb7aa33aSEmmanuel Vadot		led-usb2 {
29c66ec88fSEmmanuel Vadot			label = "usb2";
30c66ec88fSEmmanuel Vadot			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
31c66ec88fSEmmanuel Vadot		};
32c66ec88fSEmmanuel Vadot
33*cb7aa33aSEmmanuel Vadot		led-wps {
34c66ec88fSEmmanuel Vadot			label = "wps";
35c66ec88fSEmmanuel Vadot			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
36c66ec88fSEmmanuel Vadot		};
37c66ec88fSEmmanuel Vadot
38*cb7aa33aSEmmanuel Vadot		led-wireless1 {
39c66ec88fSEmmanuel Vadot			label = "5g";
40c66ec88fSEmmanuel Vadot			gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
41c66ec88fSEmmanuel Vadot		};
42c66ec88fSEmmanuel Vadot
43*cb7aa33aSEmmanuel Vadot		led-wireless2 {
44c66ec88fSEmmanuel Vadot			label = "2.4g";
45c66ec88fSEmmanuel Vadot			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
46c66ec88fSEmmanuel Vadot		};
47c66ec88fSEmmanuel Vadot	};
48c66ec88fSEmmanuel Vadot};
49