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 | }; |
| 37 | |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 38 | macb0: ethernet@f0028000 { |
| 39 | phy-mode = "rgmii"; |
Boris BREZILLON | 71e8a32 | 2014-07-10 21:59:53 +0200 | [diff] [blame] | 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | |
| 43 | ethernet-phy@1 { |
| 44 | reg = <0x1>; |
| 45 | interrupt-parent = <&pioB>; |
| 46 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
| 47 | txen-skew-ps = <800>; |
| 48 | txc-skew-ps = <3000>; |
| 49 | rxdv-skew-ps = <400>; |
| 50 | rxc-skew-ps = <3000>; |
| 51 | rxd0-skew-ps = <400>; |
| 52 | rxd1-skew-ps = <400>; |
| 53 | rxd2-skew-ps = <400>; |
| 54 | rxd3-skew-ps = <400>; |
| 55 | }; |
| 56 | |
| 57 | ethernet-phy@7 { |
| 58 | reg = <0x7>; |
| 59 | interrupt-parent = <&pioB>; |
| 60 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
| 61 | txen-skew-ps = <800>; |
| 62 | txc-skew-ps = <3000>; |
| 63 | rxdv-skew-ps = <400>; |
| 64 | rxc-skew-ps = <3000>; |
| 65 | rxd0-skew-ps = <400>; |
| 66 | rxd1-skew-ps = <400>; |
| 67 | rxd2-skew-ps = <400>; |
| 68 | rxd3-skew-ps = <400>; |
| 69 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 70 | }; |
| 71 | }; |
| 72 | |
| 73 | nand0: nand@60000000 { |
| 74 | nand-bus-width = <8>; |
| 75 | nand-ecc-mode = "hw"; |
| 76 | atmel,has-pmecc; |
| 77 | atmel,pmecc-cap = <4>; |
| 78 | atmel,pmecc-sector-size = <512>; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 79 | nand-on-flash-bbt; |
| 80 | status = "okay"; |
| 81 | |
| 82 | at91bootstrap@0 { |
| 83 | label = "at91bootstrap"; |
| 84 | reg = <0x0 0x40000>; |
| 85 | }; |
| 86 | |
| 87 | bootloader@40000 { |
| 88 | label = "bootloader"; |
| 89 | reg = <0x40000 0x80000>; |
| 90 | }; |
| 91 | |
| 92 | bootloaderenv@c0000 { |
| 93 | label = "bootloader env"; |
| 94 | reg = <0xc0000 0xc0000>; |
| 95 | }; |
| 96 | |
| 97 | dtb@180000 { |
| 98 | label = "device tree"; |
| 99 | reg = <0x180000 0x80000>; |
| 100 | }; |
| 101 | |
| 102 | kernel@200000 { |
| 103 | label = "kernel"; |
| 104 | reg = <0x200000 0x600000>; |
| 105 | }; |
| 106 | |
| 107 | rootfs@800000 { |
| 108 | label = "rootfs"; |
| 109 | reg = <0x800000 0x0f800000>; |
| 110 | }; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | leds { |
| 115 | compatible = "gpio-leds"; |
| 116 | |
| 117 | d2 { |
| 118 | label = "d2"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 119 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
Josh Wu | ce596f0f | 2014-12-09 18:54:46 +0800 | [diff] [blame] | 120 | linux,default-trigger = "heartbeat"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 121 | }; |
| 122 | }; |
| 123 | }; |