Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 2 | /dts-v1/; |
| 3 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 4 | #include "kirkwood-dnskw.dtsi" |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "D-Link DNS-325 NAS (Rev A1)"; |
Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 8 | compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x10000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 17 | stdout-path = &uart0; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 18 | }; |
| 19 | |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 20 | gpio-leds { |
| 21 | compatible = "gpio-leds"; |
Thomas Petazzoni | 01369fe | 2013-05-24 11:44:39 +0200 | [diff] [blame] | 22 | pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325 |
| 23 | &pmx_led_red_left_hdd &pmx_led_red_right_hdd |
| 24 | &pmx_led_white_usb>; |
| 25 | pinctrl-names = "default"; |
| 26 | |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 27 | white-power { |
| 28 | label = "dns325:white:power"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 29 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |
Jason Cooper | dcdf14c | 2013-10-14 17:37:55 +0000 | [diff] [blame] | 30 | default-state = "keep"; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 31 | }; |
| 32 | white-usb { |
| 33 | label = "dns325:white:usb"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 34 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */ |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 35 | }; |
| 36 | red-l_hdd { |
| 37 | label = "dns325:red:l_hdd"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 38 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 39 | }; |
| 40 | red-r_hdd { |
| 41 | label = "dns325:red:r_hdd"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 42 | gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 43 | }; |
| 44 | red-usb { |
| 45 | label = "dns325:red:usb"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 46 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 47 | }; |
| 48 | }; |
| 49 | |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 50 | ocp@f1000000 { |
Andrew Lunn | 55650d4 | 2012-07-16 12:19:34 +0200 | [diff] [blame] | 51 | i2c@11000 { |
| 52 | status = "okay"; |
| 53 | |
| 54 | lm75: lm75@48 { |
| 55 | compatible = "national,lm75"; |
| 56 | reg = <0x48>; |
| 57 | }; |
| 58 | }; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 59 | serial@12000 { |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 60 | status = "okay"; |
| 61 | }; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 62 | }; |
| 63 | }; |