sama5d3xcm.dtsi revision 262569
1262569Simp/*
2262569Simp * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
3262569Simp *
4262569Simp *  Copyright (C) 2013 Atmel,
5262569Simp *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6262569Simp *
7262569Simp * Licensed under GPLv2 or later.
8262569Simp */
9262569Simp
10262569Simp/ {
11262569Simp	compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5";
12262569Simp
13262569Simp	chosen {
14262569Simp		bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
15262569Simp	};
16262569Simp
17262569Simp	memory {
18262569Simp		reg = <0x20000000 0x20000000>;
19262569Simp	};
20262569Simp
21262569Simp	ahb {
22262569Simp		apb {
23262569Simp			spi0: spi@f0004000 {
24262569Simp				cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
25262569Simp			};
26262569Simp
27262569Simp			macb0: ethernet@f0028000 {
28262569Simp				phy-mode = "rgmii";
29262569Simp			};
30262569Simp
31262569Simp			pmc: pmc@fffffc00 {
32262569Simp				main: mainck {
33262569Simp					clock-frequency = <12000000>;
34262569Simp				};
35262569Simp			};
36262569Simp		};
37262569Simp
38262569Simp		nand0: nand@60000000 {
39262569Simp			nand-bus-width = <8>;
40262569Simp			nand-ecc-mode = "hw";
41262569Simp			atmel,has-pmecc;
42262569Simp			atmel,pmecc-cap = <4>;
43262569Simp			atmel,pmecc-sector-size = <512>;
44262569Simp			nand-on-flash-bbt;
45262569Simp			status = "okay";
46262569Simp
47262569Simp			at91bootstrap@0 {
48262569Simp				label = "at91bootstrap";
49262569Simp				reg = <0x0 0x40000>;
50262569Simp			};
51262569Simp
52262569Simp			bootloader@40000 {
53262569Simp				label = "bootloader";
54262569Simp				reg = <0x40000 0x80000>;
55262569Simp			};
56262569Simp
57262569Simp			bootloaderenv@c0000 {
58262569Simp				label = "bootloader env";
59262569Simp				reg = <0xc0000 0xc0000>;
60262569Simp			};
61262569Simp
62262569Simp			dtb@180000 {
63262569Simp				label = "device tree";
64262569Simp				reg = <0x180000 0x80000>;
65262569Simp			};
66262569Simp
67262569Simp			kernel@200000 {
68262569Simp				label = "kernel";
69262569Simp				reg = <0x200000 0x600000>;
70262569Simp			};
71262569Simp
72262569Simp			rootfs@800000 {
73262569Simp				label = "rootfs";
74262569Simp				reg = <0x800000 0x0f800000>;
75262569Simp			};
76262569Simp		};
77262569Simp	};
78262569Simp
79262569Simp	leds {
80262569Simp		compatible = "gpio-leds";
81262569Simp
82262569Simp		d2 {
83262569Simp			label = "d2";
84262569Simp			gpios = <&pioE 25 GPIO_ACTIVE_LOW>;	/* PE25, conflicts with A25, RXD2 */
85262569Simp		};
86262569Simp	};
87262569Simp};
88