Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
Andrew Lunn | d1d0c04 | 2012-11-17 17:00:52 +0100 | [diff] [blame] | 4 | /include/ "kirkwood-6281.dtsi" |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)"; |
Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 8 | 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] | 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x10000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 17 | }; |
| 18 | |
| 19 | ocp@f1000000 { |
Andrew Lunn | d1d0c04 | 2012-11-17 17:00:52 +0100 | [diff] [blame] | 20 | pinctrl: pinctrl@10000 { |
| 21 | |
| 22 | pinctrl-0 = < &pmx_nand |
| 23 | &pmx_led_os_red &pmx_power_off |
| 24 | &pmx_led_os_green &pmx_led_usb_transfer |
| 25 | &pmx_button_reset &pmx_button_usb_copy >; |
| 26 | pinctrl-names = "default"; |
| 27 | |
| 28 | pmx_led_os_red: pmx-led-os-red { |
| 29 | marvell,pins = "mpp22"; |
| 30 | marvell,function = "gpio"; |
| 31 | }; |
| 32 | pmx_power_off: pmx-power-off { |
| 33 | marvell,pins = "mpp24"; |
| 34 | marvell,function = "gpio"; |
| 35 | }; |
| 36 | pmx_led_os_green: pmx-led-os-green { |
| 37 | marvell,pins = "mpp25"; |
| 38 | marvell,function = "gpio"; |
| 39 | }; |
| 40 | pmx_led_usb_transfer: pmx-led-usb-transfer { |
| 41 | marvell,pins = "mpp27"; |
| 42 | marvell,function = "gpio"; |
| 43 | }; |
| 44 | pmx_button_reset: pmx-button-reset { |
| 45 | marvell,pins = "mpp28"; |
| 46 | marvell,function = "gpio"; |
| 47 | }; |
| 48 | pmx_button_usb_copy: pmx-button-usb-copy { |
| 49 | marvell,pins = "mpp29"; |
| 50 | marvell,function = "gpio"; |
| 51 | }; |
| 52 | }; |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 53 | serial@12000 { |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 54 | status = "okay"; |
| 55 | }; |
| 56 | |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 57 | sata@80000 { |
| 58 | status = "okay"; |
| 59 | nr-ports = <2>; |
| 60 | }; |
| 61 | |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 62 | nand@3000000 { |
| 63 | status = "okay"; |
| 64 | |
| 65 | partition@0 { |
| 66 | label = "u-boot"; |
| 67 | reg = <0x0000000 0x100000>; |
| 68 | }; |
| 69 | |
| 70 | partition@100000 { |
| 71 | label = "uImage"; |
| 72 | reg = <0x0100000 0x600000>; |
| 73 | }; |
| 74 | |
| 75 | partition@700000 { |
| 76 | label = "root"; |
| 77 | reg = <0x0700000 0xf900000>; |
| 78 | }; |
| 79 | |
| 80 | }; |
| 81 | }; |
Andrew Lunn | c06c7ca | 2012-07-16 12:48:20 +0200 | [diff] [blame] | 82 | |
| 83 | gpio_keys { |
| 84 | compatible = "gpio-keys"; |
| 85 | #address-cells = <1>; |
| 86 | #size-cells = <0>; |
| 87 | button@1 { |
| 88 | label = "USB Copy"; |
| 89 | linux,code = <133>; |
| 90 | gpios = <&gpio0 29 1>; |
| 91 | }; |
| 92 | button@2 { |
| 93 | label = "Reset"; |
| 94 | linux,code = <0x198>; |
| 95 | gpios = <&gpio0 28 1>; |
| 96 | }; |
| 97 | }; |
Andrew Lunn | 157727d | 2012-07-17 08:14:19 +0200 | [diff] [blame] | 98 | gpio-leds { |
| 99 | compatible = "gpio-leds"; |
| 100 | |
| 101 | green-os { |
| 102 | label = "ib62x0:green:os"; |
| 103 | gpios = <&gpio0 25 0>; |
| 104 | linux,default-trigger = "default-on"; |
| 105 | }; |
| 106 | red-os { |
| 107 | label = "ib62x0:red:os"; |
| 108 | gpios = <&gpio0 22 0>; |
| 109 | }; |
| 110 | usb-copy { |
| 111 | label = "ib62x0:red:usb_copy"; |
| 112 | gpios = <&gpio0 27 0>; |
| 113 | }; |
| 114 | }; |
Andrew Lunn | 2104035 | 2012-11-17 09:51:06 +0100 | [diff] [blame] | 115 | gpio_poweroff { |
| 116 | compatible = "gpio-poweroff"; |
| 117 | gpios = <&gpio0 24 0>; |
| 118 | }; |
| 119 | |
| 120 | |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 121 | }; |