Thomas Gleixner | a636cd6 | 2019-05-19 15:51:34 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 2 | /* |
| 3 | * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module |
| 4 | * |
| 5 | * Copyright (C) 2013 Atmel, |
| 6 | * 2013 Ludovic Desroches <ludovic.desroches@atmel.com> |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 7 | */ |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 8 | |
| 9 | / { |
Peter Rosin | e899dba | 2014-10-23 13:52:03 +0200 | [diff] [blame] | 10 | compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 11 | |
| 12 | chosen { |
Alexandre Belloni | 980853a | 2015-06-03 14:24:14 +0200 | [diff] [blame] | 13 | bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; |
| 14 | stdout-path = "serial0:115200n8"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 15 | }; |
| 16 | |
Alexandre Belloni | 996710a | 2020-08-31 19:11:28 +0200 | [diff] [blame] | 17 | memory@20000000 { |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 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 | }; |
Alexandre Belloni | 0d57b8e | 2016-06-08 01:46:49 +0200 | [diff] [blame] | 36 | |
| 37 | tcb0: timer@f0010000 { |
| 38 | timer@0 { |
| 39 | compatible = "atmel,tcb-timer"; |
| 40 | reg = <0>; |
| 41 | }; |
| 42 | |
| 43 | timer@1 { |
| 44 | compatible = "atmel,tcb-timer"; |
| 45 | reg = <1>; |
| 46 | }; |
| 47 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 48 | }; |
| 49 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 50 | ebi@10000000 { |
Boris Brezillon | 07c0986 | 2017-05-30 11:20:54 +0200 | [diff] [blame] | 51 | pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>; |
| 52 | pinctr-name = "default"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 53 | status = "okay"; |
| 54 | |
Boris Brezillon | 07c0986 | 2017-05-30 11:20:54 +0200 | [diff] [blame] | 55 | nor: flash@0,0 { |
| 56 | compatible = "cfi-flash"; |
| 57 | linux,mtd-name = "physmap-flash.0"; |
| 58 | #address-cells = <1>; |
| 59 | #size-cells = <1>; |
| 60 | reg = <0x0 0x0 0x1000000>; |
| 61 | bank-width = <2>; |
| 62 | atmel,smc-read-mode = "nrd"; |
| 63 | atmel,smc-write-mode = "nwe"; |
| 64 | atmel,smc-bus-width = <16>; |
| 65 | atmel,smc-ncs-rd-setup-ns = <0>; |
| 66 | atmel,smc-ncs-wr-setup-ns = <0>; |
| 67 | atmel,smc-nwe-setup-ns = <8>; |
| 68 | atmel,smc-nrd-setup-ns = <16>; |
| 69 | atmel,smc-ncs-rd-pulse-ns = <84>; |
| 70 | atmel,smc-ncs-wr-pulse-ns = <84>; |
| 71 | atmel,smc-nrd-pulse-ns = <76>; |
| 72 | atmel,smc-nwe-pulse-ns = <76>; |
| 73 | atmel,smc-nrd-cycle-ns = <107>; |
| 74 | atmel,smc-nwe-cycle-ns = <84>; |
| 75 | atmel,smc-tdf-ns = <16>; |
| 76 | }; |
| 77 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 78 | nand_controller: nand-controller { |
| 79 | status = "okay"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 80 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 81 | nand@3 { |
| 82 | reg = <0x3 0x0 0x2>; |
| 83 | atmel,rb = <0>; |
| 84 | nand-ecc-mode = "hw"; |
| 85 | nand-ecc-strength = <4>; |
| 86 | nand-ecc-step-size = <512>; |
| 87 | nand-on-flash-bbt; |
| 88 | label = "atmel_nand"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 89 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 90 | partitions { |
| 91 | compatible = "fixed-partitions"; |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <1>; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 94 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 95 | at91bootstrap@0 { |
| 96 | label = "at91bootstrap"; |
| 97 | reg = <0x0 0x40000>; |
| 98 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 99 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 100 | bootloader@40000 { |
| 101 | label = "bootloader"; |
| 102 | reg = <0x40000 0x80000>; |
| 103 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 104 | |
Boris Brezillon | 1004a29 | 2017-05-30 11:20:53 +0200 | [diff] [blame] | 105 | bootloaderenv@c0000 { |
| 106 | label = "bootloader env"; |
| 107 | reg = <0xc0000 0xc0000>; |
| 108 | }; |
| 109 | |
| 110 | dtb@180000 { |
| 111 | label = "device tree"; |
| 112 | reg = <0x180000 0x80000>; |
| 113 | }; |
| 114 | |
| 115 | kernel@200000 { |
| 116 | label = "kernel"; |
| 117 | reg = <0x200000 0x600000>; |
| 118 | }; |
| 119 | |
| 120 | rootfs@800000 { |
| 121 | label = "rootfs"; |
| 122 | reg = <0x800000 0x0f800000>; |
| 123 | }; |
| 124 | }; |
| 125 | }; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 126 | }; |
| 127 | }; |
| 128 | }; |
| 129 | |
| 130 | leds { |
| 131 | compatible = "gpio-leds"; |
| 132 | |
| 133 | d2 { |
| 134 | label = "d2"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 135 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
Josh Wu | ce596f0f | 2014-12-09 18:54:46 +0800 | [diff] [blame] | 136 | linux,default-trigger = "heartbeat"; |
Ludovic Desroches | 655ff266 | 2013-03-22 13:24:13 +0000 | [diff] [blame] | 137 | }; |
| 138 | }; |
| 139 | }; |