Linux Audio

Check our new training course

Loading...
v6.13.7
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * Device tree source for D-Link DSR-500N.
 4 *
 5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
 
 
 
 
 6 */
 7
 8/include/ "dlink_dsr-500n-1000n.dtsi"
 9#include <dt-bindings/gpio/gpio.h>
10
11/ {
12	model = "dlink,dsr-500n";
13	compatible = "dlink,dsr-500n", "cavium,octeon-3860";
14
15	soc@0 {
16		uart0: serial@1180000000800 {
17			clock-frequency = <300000000>;
18		};
19	};
20
21	leds {
22		compatible = "gpio-leds";
23
24		led-usb {
25			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
26		};
27
28		led-wps {
29			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30		};
31
32		led-wireless {
33			label = "2.4g";
34			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
35		};
36	};
37};
v4.17
 
 1/*
 2 * Device tree source for D-Link DSR-500N.
 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
11/include/ "dlink_dsr-500n-1000n.dtsi"
12#include <dt-bindings/gpio/gpio.h>
13
14/ {
15	model = "dlink,dsr-500n";
16	compatible = "dlink,dsr-500n", "cavium,octeon-3860";
17
18	soc@0 {
19		uart0: serial@1180000000800 {
20			clock-frequency = <300000000>;
21		};
22	};
23
24	leds {
25		compatible = "gpio-leds";
26
27		usb {
28			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
29		};
30
31		wps {
32			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
33		};
34
35		wireless {
36			label = "2.4g";
37			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
38		};
39	};
40};