| Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)"; |
| Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 7 | compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [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 | |
| 18 | ocp@f1000000 { |
| 19 | serial@12000 { |
| 20 | clock-frequency = <200000000>; |
| 21 | status = "okay"; |
| 22 | }; |
| 23 | |
| Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 24 | sata@80000 { |
| 25 | status = "okay"; |
| 26 | nr-ports = <2>; |
| 27 | }; |
| 28 | |
| Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 29 | nand@3000000 { |
| 30 | status = "okay"; |
| 31 | |
| 32 | partition@0 { |
| 33 | label = "u-boot"; |
| 34 | reg = <0x0000000 0x100000>; |
| 35 | }; |
| 36 | |
| 37 | partition@100000 { |
| 38 | label = "uImage"; |
| 39 | reg = <0x0100000 0x600000>; |
| 40 | }; |
| 41 | |
| 42 | partition@700000 { |
| 43 | label = "root"; |
| 44 | reg = <0x0700000 0xf900000>; |
| 45 | }; |
| 46 | |
| 47 | }; |
| 48 | }; |
| Andrew Lunn | c06c7ca | 2012-07-16 12:48:20 +0200 | [diff] [blame] | 49 | |
| 50 | gpio_keys { |
| 51 | compatible = "gpio-keys"; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | button@1 { |
| 55 | label = "USB Copy"; |
| 56 | linux,code = <133>; |
| 57 | gpios = <&gpio0 29 1>; |
| 58 | }; |
| 59 | button@2 { |
| 60 | label = "Reset"; |
| 61 | linux,code = <0x198>; |
| 62 | gpios = <&gpio0 28 1>; |
| 63 | }; |
| 64 | }; |
| Andrew Lunn | 157727d | 2012-07-17 08:14:19 +0200 | [diff] [blame] | 65 | gpio-leds { |
| 66 | compatible = "gpio-leds"; |
| 67 | |
| 68 | green-os { |
| 69 | label = "ib62x0:green:os"; |
| 70 | gpios = <&gpio0 25 0>; |
| 71 | linux,default-trigger = "default-on"; |
| 72 | }; |
| 73 | red-os { |
| 74 | label = "ib62x0:red:os"; |
| 75 | gpios = <&gpio0 22 0>; |
| 76 | }; |
| 77 | usb-copy { |
| 78 | label = "ib62x0:red:usb_copy"; |
| 79 | gpios = <&gpio0 27 0>; |
| 80 | }; |
| 81 | }; |
| Andrew Lunn | 2104035 | 2012-11-17 09:51:06 +0100 | [diff] [blame^] | 82 | gpio_poweroff { |
| 83 | compatible = "gpio-poweroff"; |
| 84 | gpios = <&gpio0 24 0>; |
| 85 | }; |
| 86 | |
| 87 | |
| Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 88 | }; |