Commit | Line | Data |
---|---|---|
655ff266 LD |
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 | */ | |
655ff266 LD |
9 | |
10 | / { | |
e899dbaf | 11 | compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5"; |
655ff266 LD |
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 | ||
334394c0 AB |
21 | clocks { |
22 | slow_xtal { | |
23 | clock-frequency = <32768>; | |
24 | }; | |
221bfd05 | 25 | |
334394c0 AB |
26 | main_xtal { |
27 | clock-frequency = <12000000>; | |
28 | }; | |
221bfd05 BB |
29 | }; |
30 | ||
655ff266 LD |
31 | ahb { |
32 | apb { | |
3f811272 LD |
33 | spi0: spi@f0004000 { |
34 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; | |
35 | }; | |
36 | ||
655ff266 LD |
37 | macb0: ethernet@f0028000 { |
38 | phy-mode = "rgmii"; | |
71e8a328 BB |
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 | }; | |
655ff266 | 69 | }; |
72163e5a BB |
70 | |
71 | pmc: pmc@fffffc00 { | |
72 | main: mainck { | |
73 | clock-frequency = <12000000>; | |
74 | }; | |
75 | }; | |
655ff266 LD |
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>; | |
655ff266 LD |
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"; | |
92f8629b | 124 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
ce596f0f | 125 | linux,default-trigger = "heartbeat"; |
655ff266 LD |
126 | }; |
127 | }; | |
128 | }; |