Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[GitHub/mt8127/android_kernel_alcatel_ttab.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 /include/ "sama5d3.dtsi"
10
11 / {
12 compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5";
13
14 chosen {
15 bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
16 };
17
18 memory {
19 reg = <0x20000000 0x20000000>;
20 };
21
22 clocks {
23 #address-cells = <1>;
24 #size-cells = <1>;
25 ranges;
26
27 main_clock: clock@0 {
28 compatible = "atmel,osc", "fixed-clock";
29 clock-frequency = <12000000>;
30 };
31 };
32
33 ahb {
34 apb {
35 spi0: spi@f0004000 {
36 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
37 };
38
39 macb0: ethernet@f0028000 {
40 phy-mode = "rgmii";
41 };
42 };
43
44 nand0: nand@60000000 {
45 nand-bus-width = <8>;
46 nand-ecc-mode = "hw";
47 atmel,has-pmecc;
48 atmel,pmecc-cap = <4>;
49 atmel,pmecc-sector-size = <512>;
50 atmel,has-nfc;
51 atmel,use-nfc-sram;
52 nand-on-flash-bbt;
53 status = "okay";
54
55 at91bootstrap@0 {
56 label = "at91bootstrap";
57 reg = <0x0 0x40000>;
58 };
59
60 bootloader@40000 {
61 label = "bootloader";
62 reg = <0x40000 0x80000>;
63 };
64
65 bootloaderenv@c0000 {
66 label = "bootloader env";
67 reg = <0xc0000 0xc0000>;
68 };
69
70 dtb@180000 {
71 label = "device tree";
72 reg = <0x180000 0x80000>;
73 };
74
75 kernel@200000 {
76 label = "kernel";
77 reg = <0x200000 0x600000>;
78 };
79
80 rootfs@800000 {
81 label = "rootfs";
82 reg = <0x800000 0x0f800000>;
83 };
84 };
85 };
86
87 leds {
88 compatible = "gpio-leds";
89
90 d2 {
91 label = "d2";
92 gpios = <&pioE 25 1>; /* PE25, conflicts with A25, RXD2 */
93 };
94 };
95 };