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"; |
Jamie Lentin | f4a0013 | 2012-11-01 21:57:01 +0000 | [diff] [blame] | 46 | chip-delay = <35>; |
Jamie Lentin | 5b60c14 | 2012-07-19 21:30:59 +0100 | [diff] [blame] | 47 | |
| 48 | partition@0 { |
| 49 | label = "u-boot"; |
| 50 | reg = <0x0000000 0x100000>; |
| 51 | read-only; |
| 52 | }; |
| 53 | |
| 54 | partition@100000 { |
| 55 | label = "uImage"; |
| 56 | reg = <0x0100000 0x500000>; |
| 57 | }; |
| 58 | |
| 59 | partition@600000 { |
| 60 | label = "ramdisk"; |
| 61 | reg = <0x0600000 0x500000>; |
| 62 | }; |
| 63 | |
| 64 | partition@b00000 { |
| 65 | label = "image"; |
| 66 | reg = <0x0b00000 0x6600000>; |
| 67 | }; |
| 68 | |
| 69 | partition@7100000 { |
| 70 | label = "mini firmware"; |
| 71 | reg = <0x7100000 0xa00000>; |
| 72 | }; |
| 73 | |
| 74 | partition@7b00000 { |
| 75 | label = "config"; |
| 76 | reg = <0x7b00000 0x500000>; |
| 77 | }; |
| 78 | }; |
| 79 | }; |
| 80 | }; |