blob: b098ad8cd93a7622b02198ee4bf2b06422af941a [file] [log] [blame]
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001/*
2 * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
3 *
4 * Copyright (C) 2012 Atmel,
5 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9
10/ {
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020011 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010012 reg = <0x20000000 0x8000000>;
13 };
Jean-Christophe PLAGNIOL-VILLARDf75622f2012-02-23 23:09:41 +080014
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080015 clocks {
Alexandre Belloni12dde442014-06-17 15:30:19 +020016 slow_xtal {
17 clock-frequency = <32768>;
18 };
Boris BREZILLON0d04fca2014-05-12 18:23:36 +020019
Alexandre Belloni12dde442014-06-17 15:30:19 +020020 main_xtal {
21 clock-frequency = <12000000>;
22 };
Boris BREZILLON0d04fca2014-05-12 18:23:36 +020023 };
24
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +080025 ahb {
Richard Genoud6901d942013-03-20 12:23:40 +010026 apb {
27 pinctrl@fffff400 {
28 1wire_cm {
29 pinctrl_1wire_cm: 1wire_cm-0 {
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +080030 atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
Richard Genoud6901d942013-03-20 12:23:40 +010031 };
32 };
33 };
Nicolas Ferre59349732015-03-19 17:23:13 +010034
35 rtc@fffffeb0 {
36 status = "okay";
37 };
Richard Genoud6901d942013-03-20 12:23:40 +010038 };
39
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +080040 nand0: nand@40000000 {
41 nand-bus-width = <8>;
Josh Wu5314bc22013-01-23 20:47:09 +080042 nand-ecc-mode = "hw";
43 atmel,has-pmecc; /* Enable PMECC */
44 atmel,pmecc-cap = <2>;
45 atmel,pmecc-sector-size = <512>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +080046 nand-on-flash-bbt;
47 status = "okay";
48
49 at91bootstrap@0 {
50 label = "at91bootstrap";
51 reg = <0x0 0x40000>;
52 };
53
54 uboot@40000 {
55 label = "u-boot";
56 reg = <0x40000 0x80000>;
57 };
58
59 ubootenv@c0000 {
60 label = "U-Boot Env";
61 reg = <0xc0000 0x140000>;
62 };
63
64 kernel@200000 {
65 label = "kernel";
66 reg = <0x200000 0x600000>;
67 };
68
69 rootfs@800000 {
70 label = "rootfs";
71 reg = <0x800000 0x1f800000>;
72 };
73 };
74 };
75
Jean-Christophe PLAGNIOL-VILLARDf75622f2012-02-23 23:09:41 +080076 leds {
77 compatible = "gpio-leds";
78
79 pb18 {
80 label = "pb18";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080081 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
Jean-Christophe PLAGNIOL-VILLARDf75622f2012-02-23 23:09:41 +080082 linux,default-trigger = "heartbeat";
83 };
84
85 pd21 {
86 label = "pd21";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080087 gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
Jean-Christophe PLAGNIOL-VILLARDf75622f2012-02-23 23:09:41 +080088 };
89 };
Richard Genoud6901d942013-03-20 12:23:40 +010090
91 1wire_cm {
92 compatible = "w1-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080093 gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
Richard Genoud6901d942013-03-20 12:23:40 +010094 linux,open-drain;
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_1wire_cm>;
97 status = "okay";
98 };
99
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100100};