Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
| 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"; |
| 16 | }; |
| 17 | |
Jamie Lentin | 09059e9 | 2012-07-19 21:30:58 +0100 | [diff] [blame^] | 18 | gpio-leds { |
| 19 | compatible = "gpio-leds"; |
| 20 | blue-power { |
| 21 | label = "dns320:blue:power"; |
| 22 | gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */ |
| 23 | linux,default-trigger = "default-on"; |
| 24 | }; |
| 25 | blue-usb { |
| 26 | label = "dns320:blue:usb"; |
| 27 | gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */ |
| 28 | }; |
| 29 | orange-l_hdd { |
| 30 | label = "dns320:orange:l_hdd"; |
| 31 | gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */ |
| 32 | }; |
| 33 | orange-r_hdd { |
| 34 | label = "dns320:orange:r_hdd"; |
| 35 | gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */ |
| 36 | }; |
| 37 | orange-usb { |
| 38 | label = "dns320:orange:usb"; |
| 39 | gpios = <&gpio1 3 1>; /* GPIO 35 Active Low */ |
| 40 | }; |
| 41 | }; |
| 42 | |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 43 | ocp@f1000000 { |
| 44 | serial@12000 { |
| 45 | clock-frequency = <166666667>; |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
| 49 | serial@12100 { |
| 50 | clock-frequency = <166666667>; |
| 51 | status = "okay"; |
| 52 | }; |
Jamie Lentin | ee24876 | 2012-04-18 11:06:43 +0100 | [diff] [blame] | 53 | |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 54 | sata@80000 { |
| 55 | status = "okay"; |
| 56 | nr-ports = <2>; |
| 57 | }; |
| 58 | |
Jamie Lentin | ee24876 | 2012-04-18 11:06:43 +0100 | [diff] [blame] | 59 | nand@3000000 { |
| 60 | status = "okay"; |
| 61 | |
| 62 | partition@0 { |
| 63 | label = "u-boot"; |
| 64 | reg = <0x0000000 0x100000>; |
| 65 | read-only; |
| 66 | }; |
| 67 | |
| 68 | partition@100000 { |
| 69 | label = "uImage"; |
| 70 | reg = <0x0100000 0x500000>; |
| 71 | }; |
| 72 | |
| 73 | partition@600000 { |
| 74 | label = "ramdisk"; |
| 75 | reg = <0x0600000 0x500000>; |
| 76 | }; |
| 77 | |
| 78 | partition@b00000 { |
| 79 | label = "image"; |
| 80 | reg = <0x0b00000 0x6600000>; |
| 81 | }; |
| 82 | |
| 83 | partition@7100000 { |
| 84 | label = "mini firmware"; |
| 85 | reg = <0x7100000 0xa00000>; |
| 86 | }; |
| 87 | |
| 88 | partition@7b00000 { |
| 89 | label = "config"; |
| 90 | reg = <0x7b00000 0x500000>; |
| 91 | }; |
| 92 | }; |
Jamie Lentin | 9007d10 | 2012-04-18 11:06:40 +0100 | [diff] [blame] | 93 | }; |
| 94 | }; |