Merge branch 'nfs-for-next' of git://linux-nfs.org/~trondmy/nfs-2.6 into for-3.10
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / kirkwood-mplcec4.dts
1 /dts-v1/;
2
3 /include/ "kirkwood.dtsi"
4 /include/ "kirkwood-6281.dtsi"
5
6 / {
7         model = "MPL CEC4";
8         compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10         memory {
11                 device_type = "memory";
12                 reg = <0x00000000 0x20000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk";
17         };
18
19         ocp@f1000000 {
20                 pinctrl: pinctrl@10000 {
21
22                         pinctrl-0 = < &pmx_nand &pmx_uart0
23                                       &pmx_led_health
24                                       &pmx_sata0 &pmx_sata1
25                                       &pmx_led_user1o
26                                       &pmx_led_user1g &pmx_led_user0o
27                                       &pmx_led_user0g &pmx_led_misc
28                                     >;
29                         pinctrl-names = "default";
30
31                         pmx_led_health: pmx-led-health {
32                                 marvell,pins = "mpp7";
33                                 marvell,function = "gpo";
34                         };
35
36                         pmx_sata1: pmx-sata1 {
37                                 marvell,pins = "mpp34";
38                                 marvell,function = "sata1";
39                         };
40
41                         pmx_sata0: pmx-sata0 {
42                                 marvell,pins = "mpp35";
43                                 marvell,function = "sata0";
44                         };
45
46                         pmx_led_user1o: pmx-led-user1o {
47                                 marvell,pins = "mpp40";
48                                 marvell,function = "gpio";
49                         };
50
51                         pmx_led_user1g: pmx-led-user1g {
52                                 marvell,pins = "mpp41";
53                                 marvell,function = "gpio";
54                         };
55
56                         pmx_led_user0o: pmx-led-user0o {
57                                 marvell,pins = "mpp44";
58                                 marvell,function = "gpio";
59                         };
60
61                         pmx_led_user0g: pmx-led-user0g {
62                                 marvell,pins = "mpp45";
63                                 marvell,function = "gpio";
64                         };
65
66                         pmx_led_misc: pmx-led-misc {
67                                 marvell,pins = "mpp46";
68                                 marvell,function = "gpio";
69                         };
70
71                         pmx_sdio_cd: pmx-sdio-cd {
72                                 marvell,pins = "mpp47";
73                                 marvell,function = "gpio";
74                         };
75                 };
76
77                 i2c@11000 {
78                         status = "okay";
79
80                         rtc@51 {
81                                 compatible = "nxp,pcf8563";
82                                 reg = <0x51>;
83                         };
84
85                         eeprom@57 {
86                                 compatible = "atmel,24c02";
87                                 reg = <0x57>;
88                         };
89
90                 };
91
92                 serial@12000 {
93                         status = "ok";
94                 };
95
96                 nand@3000000 {
97                         status = "okay";
98
99                         partition@0 {
100                                 label = "uboot";
101                                 reg = <0x0000000 0x100000>;
102                         };
103
104                         partition@100000 {
105                                 label = "env";
106                                 reg = <0x100000 0x80000>;
107                         };
108
109                         partition@180000 {
110                                 label = "fdt";
111                                 reg = <0x180000 0x80000>;
112                         };
113
114                         partition@200000 {
115                                 label = "kernel";
116                                 reg = <0x200000 0x400000>;
117                         };
118
119                         partition@600000 {
120                                 label = "rootfs";
121                                 reg = <0x600000 0x1fa00000>;
122                         };
123                 };
124
125                 rtc@10300 {
126                         status = "disabled";
127                 };
128
129                 sata@80000 {
130                         nr-ports = <2>;
131                         status = "okay";
132
133                 };
134
135                 mvsdio@90000 {
136                         pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
137                         pinctrl-names = "default";
138                         status = "okay";
139                         cd-gpios = <&gpio1 15 0>;
140                         /* No WP GPIO */
141                 };
142         };
143
144         gpio-leds {
145                 compatible = "gpio-leds";
146
147                 health {
148                         label = "status:green:health";
149                         gpios = <&gpio0 7 1>;
150                 };
151
152                 user1o {
153                         label = "user1:orange";
154                         gpios = <&gpio1 8 1>;
155                         default-state = "on";
156                 };
157
158                 user1g {
159                         label = "user1:green";
160                         gpios = <&gpio1 9 1>;
161                         default-state = "on";
162                 };
163
164                 user0o {
165                         label = "user0:orange";
166                         gpios = <&gpio1 12 1>;
167                         default-state = "on";
168                 };
169
170                 user0g {
171                         label = "user0:green";
172                         gpios = <&gpio1 13 1>;
173                         default-state = "on";
174                 };
175
176                 misc {
177                         label = "status:orange:misc";
178                         gpios = <&gpio1 14 1>;
179                         default-state = "on";
180                 };
181
182         };
183 };
184