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 = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; 15 }; 16 17 memory { 18 reg = <0x20000000 0x20000000>; 19 }; 20 21 clocks { 22 slow_xtal { 23 clock-frequency = <32768>; 24 }; 25 26 main_xtal { 27 clock-frequency = <12000000>; 28 }; 29 }; 30 31 ahb { 32 apb { 33 spi0: spi@f0004000 { 34 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 35 }; 36 37 macb0: ethernet@f0028000 { 38 phy-mode = "rgmii"; 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 }; 69 }; 70 71 pmc: pmc@fffffc00 { 72 main: mainck { 73 clock-frequency = <12000000>; 74 }; 75 }; 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>; 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"; 124 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ 125 linux,default-trigger = "heartbeat"; 126 }; 127 }; 128}; 129