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-325 NAS (Rev A1)"; |
Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 7 | 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] | 8 | |
| 9 | memory { |
| 10 | device_type = "memory"; |
| 11 | reg = <0x00000000 0x10000000>; |
| 12 | }; |
| 13 | |
| 14 | chosen { |
| 15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 16 | }; |
| 17 | |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 18 | gpio-leds { |
| 19 | compatible = "gpio-leds"; |
Thomas Petazzoni | 01369fe | 2013-05-24 11:44:39 +0200 | [diff] [blame] | 20 | pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325 |
| 21 | &pmx_led_red_left_hdd &pmx_led_red_right_hdd |
| 22 | &pmx_led_white_usb>; |
| 23 | pinctrl-names = "default"; |
| 24 | |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 25 | white-power { |
| 26 | label = "dns325:white:power"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 27 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |
Jason Cooper | dcdf14c | 2013-10-14 17:37:55 +0000 | [diff] [blame] | 28 | default-state = "keep"; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 29 | }; |
| 30 | white-usb { |
| 31 | label = "dns325:white:usb"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 32 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */ |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 33 | }; |
| 34 | red-l_hdd { |
| 35 | label = "dns325:red:l_hdd"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 36 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 37 | }; |
| 38 | red-r_hdd { |
| 39 | label = "dns325:red:r_hdd"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 40 | gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 41 | }; |
| 42 | red-usb { |
| 43 | label = "dns325:red:usb"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 44 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame] | 45 | }; |
| 46 | }; |
| 47 | |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 48 | ocp@f1000000 { |
Andrew Lunn | 55650d4 | 2012-07-16 12:19:34 +0200 | [diff] [blame] | 49 | i2c@11000 { |
| 50 | status = "okay"; |
| 51 | |
| 52 | lm75: lm75@48 { |
| 53 | compatible = "national,lm75"; |
| 54 | reg = <0x48>; |
| 55 | }; |
| 56 | }; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 57 | serial@12000 { |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 58 | status = "okay"; |
| 59 | }; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 60 | }; |
| 61 | }; |