Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device tree source for D-Link DSR-1000N. |
| 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 | |
Aaro Koskinen | 1491eaf | 2016-09-12 23:39:08 +0300 | [diff] [blame] | 11 | /include/ "dlink_dsr-500n-1000n.dtsi" |
Aaro Koskinen | e1b7d0e | 2016-06-05 00:18:19 +0300 | [diff] [blame] | 12 | #include <dt-bindings/gpio/gpio.h> |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "dlink,dsr-1000n"; |
| 16 | |
| 17 | soc@0 { |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 18 | uart0: serial@1180000000800 { |
| 19 | clock-frequency = <500000000>; |
| 20 | }; |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | leds { |
| 24 | compatible = "gpio-leds"; |
| 25 | |
| 26 | usb1 { |
| 27 | label = "usb1"; |
Aaro Koskinen | e1b7d0e | 2016-06-05 00:18:19 +0300 | [diff] [blame] | 28 | gpios = <&gpio 9 GPIO_ACTIVE_LOW>; |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | usb2 { |
| 32 | label = "usb2"; |
Aaro Koskinen | e1b7d0e | 2016-06-05 00:18:19 +0300 | [diff] [blame] | 33 | gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 34 | }; |
Aaro Koskinen | 5c315e3 | 2016-06-05 00:18:20 +0300 | [diff] [blame] | 35 | |
| 36 | wps { |
| 37 | label = "wps"; |
| 38 | gpios = <&gpio 11 GPIO_ACTIVE_LOW>; |
| 39 | }; |
| 40 | |
| 41 | wireless1 { |
| 42 | label = "5g"; |
| 43 | gpios = <&gpio 17 GPIO_ACTIVE_LOW>; |
| 44 | }; |
| 45 | |
| 46 | wireless2 { |
| 47 | label = "2.4g"; |
| 48 | gpios = <&gpio 18 GPIO_ACTIVE_LOW>; |
| 49 | }; |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 50 | }; |
Aaro Koskinen | fa0a497 | 2016-03-08 23:32:26 +0200 | [diff] [blame] | 51 | }; |