Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
| 3 | * Device tree source for D-Link DSR-1000N. |
| 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-1000n"; |
| 13 | |
| 14 | soc@0 { |
| 15 | uart0: serial@1180000000800 { |
| 16 | clock-frequency = <500000000>; |
| 17 | }; |
| 18 | }; |
| 19 | |
| 20 | leds { |
| 21 | compatible = "gpio-leds"; |
| 22 | |
| 23 | led-usb1 { |
| 24 | label = "usb1"; |
| 25 | gpios = <&gpio 9 GPIO_ACTIVE_LOW>; |
| 26 | }; |
| 27 | |
| 28 | led-usb2 { |
| 29 | label = "usb2"; |
| 30 | gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
| 31 | }; |
| 32 | |
| 33 | led-wps { |
| 34 | label = "wps"; |
| 35 | gpios = <&gpio 11 GPIO_ACTIVE_LOW>; |
| 36 | }; |
| 37 | |
| 38 | led-wireless1 { |
| 39 | label = "5g"; |
| 40 | gpios = <&gpio 17 GPIO_ACTIVE_LOW>; |
| 41 | }; |
| 42 | |
| 43 | led-wireless2 { |
| 44 | label = "2.4g"; |
| 45 | gpios = <&gpio 18 GPIO_ACTIVE_LOW>; |
| 46 | }; |
| 47 | }; |
| 48 | }; |