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		u-boot,dm-pre-reloc;
22		stdout-path = &dbgu;
23	};
24
25	memory {
26		reg = <0x70000000 0x8000000>;
27	};
28
29	clocks {
30		slow_xtal {
31		      clock-frequency = <32768>;
32		};
33
34		main_xtal {
35		      clock-frequency = <12000000>;
36		};
37	};
38
39	ahb {
40		apb {
41			dbgu: serial@ffffee00 {
42				u-boot,dm-pre-reloc;
43				status = "okay";
44			};
45
46			usart1: serial@fff90000 {
47				pinctrl-0 =
48					<&pinctrl_usart1
49					 &pinctrl_usart1_rts
50					 &pinctrl_usart1_cts>;
51				status = "okay";
52			};
53
54			macb0: ethernet@fffbc000 {
55				phy-mode = "rmii";
56				status = "okay";
57			};
58
59			watchdog@fffffd40 {
60				status = "okay";
61			};
62
63			spi0: spi@fffa4000{
64				status = "okay";
65				cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
66				mtd_dataflash@0 {
67					compatible = "atmel,at45", "atmel,dataflash";
68					spi-max-frequency = <13000000>;
69					reg = <0>;
70				};
71			};
72
73			usb2: gadget@fff78000 {
74				atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
75				status = "okay";
76			};
77
78			rtc@fffffd20 {
79				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
80				status = "okay";
81			};
82
83			gpbr: syscon@fffffd60 {
84				status = "okay";
85			};
86
87			rtc@fffffdb0 {
88				status = "okay";
89			};
90		};
91
92		nand0: nand@40000000 {
93			nand-bus-width = <8>;
94			nand-ecc-mode = "soft";
95			nand-on-flash-bbt;
96			status = "okay";
97		};
98
99		usb0: ohci@00700000 {
100			status = "okay";
101			num-ports = <2>;
102			atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
103					   &pioD 3 GPIO_ACTIVE_LOW>;
104		};
105
106		usb1: ehci@00800000 {
107			status = "okay";
108		};
109	};
110};
111