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