Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[linux-drm-fsl-dcu.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                 #address-cells = <1>;
23                 #size-cells = <1>;
24                 ranges;
25
26                 main_clock: clock@0 {
27                         compatible = "atmel,osc", "fixed-clock";
28                         clock-frequency = <12000000>;
29                 };
30         };
31
32         ahb {
33                 apb {
34                         spi0: spi@f0004000 {
35                                 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
36                         };
37
38                         macb0: ethernet@f0028000 {
39                                 phy-mode = "rgmii";
40                         };
41                 };
42
43                 nand0: nand@60000000 {
44                         nand-bus-width = <8>;
45                         nand-ecc-mode = "hw";
46                         atmel,has-pmecc;
47                         atmel,pmecc-cap = <4>;
48                         atmel,pmecc-sector-size = <512>;
49                         nand-on-flash-bbt;
50                         status = "okay";
51
52                         at91bootstrap@0 {
53                                 label = "at91bootstrap";
54                                 reg = <0x0 0x40000>;
55                         };
56
57                         bootloader@40000 {
58                                 label = "bootloader";
59                                 reg = <0x40000 0x80000>;
60                         };
61
62                         bootloaderenv@c0000 {
63                                 label = "bootloader env";
64                                 reg = <0xc0000 0xc0000>;
65                         };
66
67                         dtb@180000 {
68                                 label = "device tree";
69                                 reg = <0x180000 0x80000>;
70                         };
71
72                         kernel@200000 {
73                                 label = "kernel";
74                                 reg = <0x200000 0x600000>;
75                         };
76
77                         rootfs@800000 {
78                                 label = "rootfs";
79                                 reg = <0x800000 0x0f800000>;
80                         };
81                 };
82         };
83
84         leds {
85                 compatible = "gpio-leds";
86
87                 d2 {
88                         label = "d2";
89                         gpios = <&pioE 25 GPIO_ACTIVE_LOW>;     /* PE25, conflicts with A25, RXD2 */
90                 };
91         };
92 };