Merge branch 'master' of git://git.denx.de/u-boot-usb
[oweals/u-boot.git] / arch / arm / dts / at91sam9g45-corvus.dts
1 /*
2  * at91sam9g45-corvus.dts Device Tree file fir Siemens corvus board
3  * (C) Copyright 2016 Heiko Schocher <hs@denx.de>
4  *
5  * based on:
6  * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
7  *
8  *  Copyright (C) 2011 Atmel,
9  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
10  *
11  * SPDX-License-Identifier:     GPL-2.0+
12  */
13 /dts-v1/;
14 #include "at91sam9g45.dtsi"
15
16 / {
17         model = "Siemens corvus";
18         compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
19
20         chosen {
21                 stdout-path = &dbgu;
22         };
23
24         memory {
25                 reg = <0x70000000 0x8000000>;
26         };
27
28         clocks {
29                 slow_xtal {
30                       clock-frequency = <32768>;
31                 };
32
33                 main_xtal {
34                       clock-frequency = <12000000>;
35                 };
36         };
37
38         ahb {
39                 apb {
40                         dbgu: serial@ffffee00 {
41                                 status = "okay";
42                         };
43
44                         usart1: serial@fff90000 {
45                                 pinctrl-0 =
46                                         <&pinctrl_usart1
47                                          &pinctrl_usart1_rts
48                                          &pinctrl_usart1_cts>;
49                                 status = "okay";
50                         };
51
52                         macb0: ethernet@fffbc000 {
53                                 phy-mode = "rmii";
54                                 status = "okay";
55                         };
56
57                         watchdog@fffffd40 {
58                                 status = "okay";
59                         };
60
61                         spi0: spi@fffa4000{
62                                 status = "okay";
63                                 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
64                                 mtd_dataflash@0 {
65                                         compatible = "atmel,at45", "atmel,dataflash";
66                                         spi-max-frequency = <13000000>;
67                                         reg = <0>;
68                                 };
69                         };
70
71                         usb2: gadget@fff78000 {
72                                 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
73                                 status = "okay";
74                         };
75
76                         rtc@fffffd20 {
77                                 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
78                                 status = "okay";
79                         };
80
81                         gpbr: syscon@fffffd60 {
82                                 status = "okay";
83                         };
84
85                         rtc@fffffdb0 {
86                                 status = "okay";
87                         };
88                 };
89
90                 nand0: nand@40000000 {
91                         nand-bus-width = <8>;
92                         nand-ecc-mode = "soft";
93                         nand-on-flash-bbt;
94                         status = "okay";
95                 };
96
97                 usb0: ohci@00700000 {
98                         status = "okay";
99                         num-ports = <2>;
100                         atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
101                                            &pioD 3 GPIO_ACTIVE_LOW>;
102                 };
103
104                 usb1: ehci@00800000 {
105                         status = "okay";
106                 };
107         };
108 };