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 { |
| 14 | bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; |
| 15 | }; |
| 16 | |
| 17 | memory { |
| 18 | reg = <0x20000000 0x20000000>; |
| 19 | }; |
| 20 | |
Alexandre Belloni | 334394c | 2014-06-17 15:30:20 +0200 | [diff] [blame] | 21 | clocks { |
| 22 | slow_xtal { |
| 23 | clock-frequency = <32768>; |
| 24 | }; |
Boris BREZILLON | 221bfd0 | 2014-04-22 15:12:35 +0200 | [diff] [blame] | 25 | |
Alexandre Belloni | 334394c | 2014-06-17 15:30:20 +0200 | [diff] [blame] | 26 | main_xtal { |
| 27 | clock-frequency = <12000000>; |
| 28 | }; |
Boris BREZILLON | 221bfd0 | 2014-04-22 15:12:35 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 31 | ahb { |
| 32 | apb { |
Ludovic Desroches | 3f811272 | 2013-04-24 15:56:48 +0200 | [diff] [blame] | 33 | spi0: spi@f0004000 { |
| 34 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; |
| 35 | }; |
| 36 | |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 37 | macb0: ethernet@f0028000 { |
| 38 | phy-mode = "rgmii"; |
Boris BREZILLON | 71e8a32 | 2014-07-10 21:59:53 +0200 | [diff] [blame] | 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
| 41 | |
| 42 | ethernet-phy@1 { |
| 43 | reg = <0x1>; |
| 44 | interrupt-parent = <&pioB>; |
| 45 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
| 46 | txen-skew-ps = <800>; |
| 47 | txc-skew-ps = <3000>; |
| 48 | rxdv-skew-ps = <400>; |
| 49 | rxc-skew-ps = <3000>; |
| 50 | rxd0-skew-ps = <400>; |
| 51 | rxd1-skew-ps = <400>; |
| 52 | rxd2-skew-ps = <400>; |
| 53 | rxd3-skew-ps = <400>; |
| 54 | }; |
| 55 | |
| 56 | ethernet-phy@7 { |
| 57 | reg = <0x7>; |
| 58 | interrupt-parent = <&pioB>; |
| 59 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
| 60 | txen-skew-ps = <800>; |
| 61 | txc-skew-ps = <3000>; |
| 62 | rxdv-skew-ps = <400>; |
| 63 | rxc-skew-ps = <3000>; |
| 64 | rxd0-skew-ps = <400>; |
| 65 | rxd1-skew-ps = <400>; |
| 66 | rxd2-skew-ps = <400>; |
| 67 | rxd3-skew-ps = <400>; |
| 68 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 69 | }; |
Boris BREZILLON | 72163e5 | 2013-10-11 14:43:34 +0200 | [diff] [blame] | 70 | |
| 71 | pmc: pmc@fffffc00 { |
| 72 | main: mainck { |
| 73 | clock-frequency = <12000000>; |
| 74 | }; |
| 75 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 76 | }; |
| 77 | |
| 78 | nand0: nand@60000000 { |
| 79 | nand-bus-width = <8>; |
| 80 | nand-ecc-mode = "hw"; |
| 81 | atmel,has-pmecc; |
| 82 | atmel,pmecc-cap = <4>; |
| 83 | atmel,pmecc-sector-size = <512>; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 84 | nand-on-flash-bbt; |
| 85 | status = "okay"; |
| 86 | |
| 87 | at91bootstrap@0 { |
| 88 | label = "at91bootstrap"; |
| 89 | reg = <0x0 0x40000>; |
| 90 | }; |
| 91 | |
| 92 | bootloader@40000 { |
| 93 | label = "bootloader"; |
| 94 | reg = <0x40000 0x80000>; |
| 95 | }; |
| 96 | |
| 97 | bootloaderenv@c0000 { |
| 98 | label = "bootloader env"; |
| 99 | reg = <0xc0000 0xc0000>; |
| 100 | }; |
| 101 | |
| 102 | dtb@180000 { |
| 103 | label = "device tree"; |
| 104 | reg = <0x180000 0x80000>; |
| 105 | }; |
| 106 | |
| 107 | kernel@200000 { |
| 108 | label = "kernel"; |
| 109 | reg = <0x200000 0x600000>; |
| 110 | }; |
| 111 | |
| 112 | rootfs@800000 { |
| 113 | label = "rootfs"; |
| 114 | reg = <0x800000 0x0f800000>; |
| 115 | }; |
| 116 | }; |
| 117 | }; |
| 118 | |
| 119 | leds { |
| 120 | compatible = "gpio-leds"; |
| 121 | |
| 122 | d2 { |
| 123 | label = "d2"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 124 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
Josh Wu | ce596f0f | 2014-12-09 18:54:46 +0800 | [diff] [blame] | 125 | linux,default-trigger = "heartbeat"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 126 | }; |
| 127 | }; |
| 128 | }; |