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