Merge tag 'arc-4.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / ethernut5.dts
1 /*
2  * ethernut5.dts - Device Tree file for Ethernut 5 board
3  *
4  * Copyright (C) 2012 egnite GmbH <info@egnite.de>
5  *
6  * Licensed under GPLv2.
7  */
8 /dts-v1/;
9 #include "at91sam9xe.dtsi"
10
11 / {
12         model = "Ethernut 5";
13         compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
14
15         chosen {
16                 bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2";
17         };
18
19         memory {
20                 reg = <0x20000000 0x08000000>;
21         };
22
23         clocks {
24                 slow_xtal {
25                         clock-frequency = <32768>;
26                 };
27
28                 main_xtal {
29                         clock-frequency = <18432000>;
30                 };
31         };
32
33         ahb {
34                 apb {
35                         dbgu: serial@fffff200 {
36                                 status = "okay";
37                         };
38
39                         tcb0: timer@fffa0000 {
40                                 timer@0 {
41                                         compatible = "atmel,tcb-timer";
42                                         reg = <0>, <1>;
43                                 };
44
45                                 timer@2 {
46                                         compatible = "atmel,tcb-timer";
47                                         reg = <2>;
48                                 };
49                         };
50
51                         usart0: serial@fffb0000 {
52                                 status = "okay";
53                         };
54
55                         usart1: serial@fffb4000 {
56                                 status = "okay";
57                         };
58
59                         macb0: ethernet@fffc4000 {
60                                 phy-mode = "rmii";
61                                 status = "okay";
62                         };
63
64                         usb1: gadget@fffa4000 {
65                                 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
66                                 status = "okay";
67                         };
68                 };
69
70                 ebi: ebi@10000000 {
71                         status = "okay";
72
73                         nand_controller: nand-controller {
74                                 status = "okay";
75                                 pinctrl-0 = <&pinctrl_nand_cs>;
76                                 pinctrl-names = "default";
77
78                                 nand: nand@3 {
79                                         reg = <0x3 0x0 0x800000>;
80                                         cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
81                                         nand-bus-width = <8>;
82                                         nand-ecc-mode = "soft";
83                                         nand-on-flash-bbt;
84                                         label = "atmel_nand";
85
86                                         partitions {
87                                                 compatible = "fixed-partitions";
88                                                 #address-cells = <1>;
89                                                 #size-cells = <1>;
90
91                                                 root@0 {
92                                                         label = "root";
93                                                         reg = <0x0 0x08000000>;
94                                                 };
95
96                                                 data@20000 {
97                                                         label = "data";
98                                                         reg = <0x08000000 0x38000000>;
99                                                 };
100                                         };
101                                 };
102                         };
103                 };
104
105                 usb0: ohci@500000 {
106                         num-ports = <2>;
107                         status = "okay";
108                 };
109         };
110
111         i2c-gpio-0 {
112                 status = "okay";
113
114                 pcf8563@50 {
115                         compatible = "nxp,pcf8563";
116                         reg = <0x51>;
117                 };
118         };
119 };