Jamie Lentin | 5b60c14 | 2012-07-19 21:30:59 +0100 | [diff] [blame] | 1 | /include/ "kirkwood.dtsi" |
| 2 | |
| 3 | / { |
| 4 | model = "D-Link DNS NASes (kirkwood-based)"; |
Andrew Lunn | f39c110 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 5 | compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
Jamie Lentin | 5b60c14 | 2012-07-19 21:30:59 +0100 | [diff] [blame] | 6 | |
Jamie Lentin | bb53d82 | 2012-07-19 21:31:00 +0100 | [diff] [blame] | 7 | gpio_keys { |
| 8 | compatible = "gpio-keys"; |
| 9 | #address-cells = <1>; |
| 10 | #size-cells = <0>; |
| 11 | button@1 { |
| 12 | label = "Power button"; |
| 13 | linux,code = <116>; |
| 14 | gpios = <&gpio1 2 1>; |
| 15 | }; |
| 16 | button@2 { |
| 17 | label = "USB unmount button"; |
| 18 | linux,code = <161>; |
| 19 | gpios = <&gpio1 15 1>; |
| 20 | }; |
| 21 | button@3 { |
| 22 | label = "Reset button"; |
| 23 | linux,code = <0x198>; |
| 24 | gpios = <&gpio1 16 1>; |
| 25 | }; |
| 26 | }; |
| 27 | |
Jamie Lentin | 1b90e06 | 2012-09-10 14:51:52 +0100 | [diff] [blame] | 28 | gpio_fan { |
| 29 | /* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */ |
| 30 | compatible = "gpio-fan"; |
| 31 | gpios = <&gpio1 14 1 |
| 32 | &gpio1 13 1>; |
| 33 | gpio-fan,speed-map = <0 0 |
| 34 | 3000 1 |
| 35 | 6000 2>; |
| 36 | }; |
| 37 | |
Jamie Lentin | 5b60c14 | 2012-07-19 21:30:59 +0100 | [diff] [blame] | 38 | ocp@f1000000 { |
| 39 | sata@80000 { |
| 40 | status = "okay"; |
| 41 | nr-ports = <2>; |
| 42 | }; |
| 43 | |
| 44 | nand@3000000 { |
| 45 | status = "okay"; |
| 46 | |
| 47 | partition@0 { |
| 48 | label = "u-boot"; |
| 49 | reg = <0x0000000 0x100000>; |
| 50 | read-only; |
| 51 | }; |
| 52 | |
| 53 | partition@100000 { |
| 54 | label = "uImage"; |
| 55 | reg = <0x0100000 0x500000>; |
| 56 | }; |
| 57 | |
| 58 | partition@600000 { |
| 59 | label = "ramdisk"; |
| 60 | reg = <0x0600000 0x500000>; |
| 61 | }; |
| 62 | |
| 63 | partition@b00000 { |
| 64 | label = "image"; |
| 65 | reg = <0x0b00000 0x6600000>; |
| 66 | }; |
| 67 | |
| 68 | partition@7100000 { |
| 69 | label = "mini firmware"; |
| 70 | reg = <0x7100000 0xa00000>; |
| 71 | }; |
| 72 | |
| 73 | partition@7b00000 { |
| 74 | label = "config"; |
| 75 | reg = <0x7b00000 0x500000>; |
| 76 | }; |
| 77 | }; |
| 78 | }; |
| 79 | }; |