Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 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 | */ |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 9 | |
| 10 | / { |
Peter Rosin | e899dba | 2014-10-23 13:52:03 +0200 | [diff] [blame] | 11 | compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 12 | |
| 13 | chosen { |
Alexandre Belloni | 980853a | 2015-06-03 14:24:14 +0200 | [diff] [blame] | 14 | bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; |
| 15 | stdout-path = "serial0:115200n8"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | memory { |
| 19 | reg = <0x20000000 0x20000000>; |
| 20 | }; |
| 21 | |
Alexandre Belloni | 334394c | 2014-06-17 15:30:20 +0200 | [diff] [blame] | 22 | clocks { |
| 23 | slow_xtal { |
| 24 | clock-frequency = <32768>; |
| 25 | }; |
Boris BREZILLON | 221bfd0 | 2014-04-22 15:12:35 +0200 | [diff] [blame] | 26 | |
Alexandre Belloni | 334394c | 2014-06-17 15:30:20 +0200 | [diff] [blame] | 27 | main_xtal { |
| 28 | clock-frequency = <12000000>; |
| 29 | }; |
Boris BREZILLON | 221bfd0 | 2014-04-22 15:12:35 +0200 | [diff] [blame] | 30 | }; |
| 31 | |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 32 | ahb { |
| 33 | apb { |
Ludovic Desroches | 3f811272 | 2013-04-24 15:56:48 +0200 | [diff] [blame] | 34 | spi0: spi@f0004000 { |
| 35 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; |
| 36 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | nand0: nand@60000000 { |
| 40 | nand-bus-width = <8>; |
| 41 | nand-ecc-mode = "hw"; |
| 42 | atmel,has-pmecc; |
| 43 | atmel,pmecc-cap = <4>; |
| 44 | atmel,pmecc-sector-size = <512>; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 45 | nand-on-flash-bbt; |
| 46 | status = "okay"; |
| 47 | |
| 48 | at91bootstrap@0 { |
| 49 | label = "at91bootstrap"; |
| 50 | reg = <0x0 0x40000>; |
| 51 | }; |
| 52 | |
| 53 | bootloader@40000 { |
| 54 | label = "bootloader"; |
| 55 | reg = <0x40000 0x80000>; |
| 56 | }; |
| 57 | |
| 58 | bootloaderenv@c0000 { |
| 59 | label = "bootloader env"; |
| 60 | reg = <0xc0000 0xc0000>; |
| 61 | }; |
| 62 | |
| 63 | dtb@180000 { |
| 64 | label = "device tree"; |
| 65 | reg = <0x180000 0x80000>; |
| 66 | }; |
| 67 | |
| 68 | kernel@200000 { |
| 69 | label = "kernel"; |
| 70 | reg = <0x200000 0x600000>; |
| 71 | }; |
| 72 | |
| 73 | rootfs@800000 { |
| 74 | label = "rootfs"; |
| 75 | reg = <0x800000 0x0f800000>; |
| 76 | }; |
| 77 | }; |
| 78 | }; |
| 79 | |
| 80 | leds { |
| 81 | compatible = "gpio-leds"; |
| 82 | |
| 83 | d2 { |
| 84 | label = "d2"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 85 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
Josh Wu | ce596f0f | 2014-12-09 18:54:46 +0800 | [diff] [blame] | 86 | linux,default-trigger = "heartbeat"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 87 | }; |
| 88 | }; |
| 89 | }; |