blob: 67be80bb2b3190cbd7196a5a7675cdafc16e5119 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Heiko Schocher914aff12016-05-25 07:23:45 +02002/*
3 * at91sam9g45-corvus.dts Device Tree file fir Siemens corvus board
4 * (C) Copyright 2016 Heiko Schocher <hs@denx.de>
5 *
6 * based on:
7 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
8 *
9 * Copyright (C) 2011 Atmel,
10 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
Heiko Schocher914aff12016-05-25 07:23:45 +020011 */
12/dts-v1/;
13#include "at91sam9g45.dtsi"
14
15/ {
16 model = "Siemens corvus";
17 compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
18
19 chosen {
Simon Glassd3a98cb2023-02-13 08:56:33 -070020 bootph-all;
Heiko Schocher914aff12016-05-25 07:23:45 +020021 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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-all;
Heiko Schocher914aff12016-05-25 07:23:45 +020042 status = "okay";
43 };
44
45 usart1: serial@fff90000 {
46 pinctrl-0 =
47 <&pinctrl_usart1
48 &pinctrl_usart1_rts
49 &pinctrl_usart1_cts>;
50 status = "okay";
51 };
52
53 macb0: ethernet@fffbc000 {
54 phy-mode = "rmii";
55 status = "okay";
56 };
57
58 watchdog@fffffd40 {
59 status = "okay";
60 };
61
62 spi0: spi@fffa4000{
63 status = "okay";
64 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
65 mtd_dataflash@0 {
66 compatible = "atmel,at45", "atmel,dataflash";
67 spi-max-frequency = <13000000>;
68 reg = <0>;
69 };
70 };
71
72 usb2: gadget@fff78000 {
73 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
74 status = "okay";
75 };
76
77 rtc@fffffd20 {
78 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
79 status = "okay";
80 };
81
82 gpbr: syscon@fffffd60 {
83 status = "okay";
84 };
85
86 rtc@fffffdb0 {
87 status = "okay";
88 };
89 };
90
91 nand0: nand@40000000 {
92 nand-bus-width = <8>;
93 nand-ecc-mode = "soft";
94 nand-on-flash-bbt;
95 status = "okay";
96 };
97
98 usb0: ohci@00700000 {
99 status = "okay";
100 num-ports = <2>;
101 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
102 &pioD 3 GPIO_ACTIVE_LOW>;
103 };
104
105 usb1: ehci@00800000 {
106 status = "okay";
107 };
108 };
109};