blob: 5335b1aa8601309f1ce9dc1a75a21243be1364f0 [file] [log] [blame]
Simon Baatzf5520362012-04-30 23:55:17 +02001/dts-v1/;
2
3/include/ "kirkwood.dtsi"
Andrew Lunnd1d0c042012-11-17 17:00:52 +01004/include/ "kirkwood-6281.dtsi"
Simon Baatzf5520362012-04-30 23:55:17 +02005
6/ {
7 model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
Andrew Lunn77843502012-07-18 19:22:54 +02008 compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Simon Baatzf5520362012-04-30 23:55:17 +02009
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 Lunnd1d0c042012-11-17 17:00:52 +010020 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 Baatzf5520362012-04-30 23:55:17 +020053 serial@12000 {
Simon Baatzf5520362012-04-30 23:55:17 +020054 status = "okay";
55 };
56
Andrew Lunn2cef1a22012-06-10 16:58:11 +020057 sata@80000 {
58 status = "okay";
59 nr-ports = <2>;
60 };
61
Simon Baatzf5520362012-04-30 23:55:17 +020062 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 Lunnc06c7ca2012-07-16 12:48:20 +020082
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 Lunn157727d2012-07-17 08:14:19 +020098 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 Lunn21040352012-11-17 09:51:06 +0100115 gpio_poweroff {
116 compatible = "gpio-poweroff";
117 gpios = <&gpio0 24 0>;
118 };
119
120
Simon Baatzf5520362012-04-30 23:55:17 +0200121};