xref: /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/dlink_dsr-500n.dts (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device tree source for D-Link DSR-500N.
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-500n";
13c66ec88fSEmmanuel Vadot	compatible = "dlink,dsr-500n", "cavium,octeon-3860";
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot	soc@0 {
16c66ec88fSEmmanuel Vadot		uart0: serial@1180000000800 {
17c66ec88fSEmmanuel Vadot			clock-frequency = <300000000>;
18c66ec88fSEmmanuel Vadot		};
19c66ec88fSEmmanuel Vadot	};
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot	leds {
22c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
23c66ec88fSEmmanuel Vadot
24*cb7aa33aSEmmanuel Vadot		led-usb {
25c66ec88fSEmmanuel Vadot			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
26c66ec88fSEmmanuel Vadot		};
27c66ec88fSEmmanuel Vadot
28*cb7aa33aSEmmanuel Vadot		led-wps {
29c66ec88fSEmmanuel Vadot			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30c66ec88fSEmmanuel Vadot		};
31c66ec88fSEmmanuel Vadot
32*cb7aa33aSEmmanuel Vadot		led-wireless {
33c66ec88fSEmmanuel Vadot			label = "2.4g";
34c66ec88fSEmmanuel Vadot			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
35c66ec88fSEmmanuel Vadot		};
36c66ec88fSEmmanuel Vadot	};
37c66ec88fSEmmanuel Vadot};
38