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 | / { |
| 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 | |
Boris BREZILLON | 221bfd0 | 2014-04-22 15:12:35 +0200 | [diff] [blame] | 21 | slow_xtal { |
| 22 | clock-frequency = <32768>; |
| 23 | }; |
| 24 | |
| 25 | main_xtal { |
| 26 | clock-frequency = <12000000>; |
| 27 | }; |
| 28 | |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 29 | ahb { |
| 30 | apb { |
Ludovic Desroches | 3f811272 | 2013-04-24 15:56:48 +0200 | [diff] [blame] | 31 | spi0: spi@f0004000 { |
| 32 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; |
| 33 | }; |
| 34 | |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 35 | macb0: ethernet@f0028000 { |
| 36 | phy-mode = "rgmii"; |
| 37 | }; |
Boris BREZILLON | 72163e5 | 2013-10-11 14:43:34 +0200 | [diff] [blame] | 38 | |
| 39 | pmc: pmc@fffffc00 { |
| 40 | main: mainck { |
| 41 | clock-frequency = <12000000>; |
| 42 | }; |
| 43 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | nand0: nand@60000000 { |
| 47 | nand-bus-width = <8>; |
| 48 | nand-ecc-mode = "hw"; |
| 49 | atmel,has-pmecc; |
| 50 | atmel,pmecc-cap = <4>; |
| 51 | atmel,pmecc-sector-size = <512>; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 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"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 92 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 93 | }; |
| 94 | }; |
| 95 | }; |