Merge tag 'hwspinlock-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / sama5d3xcm.dtsi
1 /*
2  * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
3  *
4  *  Copyright (C) 2013 Atmel,
5  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6  *
7  * Licensed under GPLv2 or later.
8  */
9
10 / {
11         compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5";
12
13         chosen {
14                 bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
15         };
16
17         memory {
18                 reg = <0x20000000 0x20000000>;
19         };
20
21         clocks {
22                 slow_xtal {
23                         clock-frequency = <32768>;
24                 };
25
26                 main_xtal {
27                         clock-frequency = <12000000>;
28                 };
29         };
30
31         ahb {
32                 apb {
33                         spi0: spi@f0004000 {
34                                 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
35                         };
36
37                         macb0: ethernet@f0028000 {
38                                 phy-mode = "rgmii";
39                         };
40
41                         pmc: pmc@fffffc00 {
42                                 main: mainck {
43                                         clock-frequency = <12000000>;
44                                 };
45                         };
46                 };
47
48                 nand0: nand@60000000 {
49                         nand-bus-width = <8>;
50                         nand-ecc-mode = "hw";
51                         atmel,has-pmecc;
52                         atmel,pmecc-cap = <4>;
53                         atmel,pmecc-sector-size = <512>;
54                         nand-on-flash-bbt;
55                         status = "okay";
56
57                         at91bootstrap@0 {
58                                 label = "at91bootstrap";
59                                 reg = <0x0 0x40000>;
60                         };
61
62                         bootloader@40000 {
63                                 label = "bootloader";
64                                 reg = <0x40000 0x80000>;
65                         };
66
67                         bootloaderenv@c0000 {
68                                 label = "bootloader env";
69                                 reg = <0xc0000 0xc0000>;
70                         };
71
72                         dtb@180000 {
73                                 label = "device tree";
74                                 reg = <0x180000 0x80000>;
75                         };
76
77                         kernel@200000 {
78                                 label = "kernel";
79                                 reg = <0x200000 0x600000>;
80                         };
81
82                         rootfs@800000 {
83                                 label = "rootfs";
84                                 reg = <0x800000 0x0f800000>;
85                         };
86                 };
87         };
88
89         leds {
90                 compatible = "gpio-leds";
91
92                 d2 {
93                         label = "d2";
94                         gpios = <&pioE 25 GPIO_ACTIVE_LOW>;     /* PE25, conflicts with A25, RXD2 */
95                 };
96         };
97 };