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 */ 9 10/ { 11 compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5"; 12 13 chosen { 14 bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; 15 stdout-path = "serial0:115200n8"; 16 }; 17 18 memory { 19 reg = <0x20000000 0x20000000>; 20 }; 21 22 clocks { 23 slow_xtal { 24 clock-frequency = <32768>; 25 }; 26 27 main_xtal { 28 clock-frequency = <12000000>; 29 }; 30 }; 31 32 ahb { 33 apb { 34 spi0: spi@f0004000 { 35 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 36 }; 37 }; 38 39 ebi@10000000 { 40 pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>; 41 pinctr-name = "default"; 42 status = "okay"; 43 44 nor: flash@0,0 { 45 compatible = "cfi-flash"; 46 linux,mtd-name = "physmap-flash.0"; 47 #address-cells = <1>; 48 #size-cells = <1>; 49 reg = <0x0 0x0 0x1000000>; 50 bank-width = <2>; 51 atmel,smc-read-mode = "nrd"; 52 atmel,smc-write-mode = "nwe"; 53 atmel,smc-bus-width = <16>; 54 atmel,smc-ncs-rd-setup-ns = <0>; 55 atmel,smc-ncs-wr-setup-ns = <0>; 56 atmel,smc-nwe-setup-ns = <8>; 57 atmel,smc-nrd-setup-ns = <16>; 58 atmel,smc-ncs-rd-pulse-ns = <84>; 59 atmel,smc-ncs-wr-pulse-ns = <84>; 60 atmel,smc-nrd-pulse-ns = <76>; 61 atmel,smc-nwe-pulse-ns = <76>; 62 atmel,smc-nrd-cycle-ns = <107>; 63 atmel,smc-nwe-cycle-ns = <84>; 64 atmel,smc-tdf-ns = <16>; 65 }; 66 67 nand_controller: nand-controller { 68 status = "okay"; 69 70 nand@3 { 71 reg = <0x3 0x0 0x2>; 72 atmel,rb = <0>; 73 nand-ecc-mode = "hw"; 74 nand-ecc-strength = <4>; 75 nand-ecc-step-size = <512>; 76 nand-on-flash-bbt; 77 label = "atmel_nand"; 78 79 partitions { 80 compatible = "fixed-partitions"; 81 #address-cells = <1>; 82 #size-cells = <1>; 83 84 at91bootstrap@0 { 85 label = "at91bootstrap"; 86 reg = <0x0 0x40000>; 87 }; 88 89 bootloader@40000 { 90 label = "bootloader"; 91 reg = <0x40000 0x80000>; 92 }; 93 94 bootloaderenv@c0000 { 95 label = "bootloader env"; 96 reg = <0xc0000 0xc0000>; 97 }; 98 99 dtb@180000 { 100 label = "device tree"; 101 reg = <0x180000 0x80000>; 102 }; 103 104 kernel@200000 { 105 label = "kernel"; 106 reg = <0x200000 0x600000>; 107 }; 108 109 rootfs@800000 { 110 label = "rootfs"; 111 reg = <0x800000 0x0f800000>; 112 }; 113 }; 114 }; 115 }; 116 }; 117 }; 118 119 leds { 120 compatible = "gpio-leds"; 121 122 d2 { 123 label = "d2"; 124 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ 125 linux,default-trigger = "heartbeat"; 126 }; 127 }; 128}; 129