blob: c00c5a8b8dda6ba65384496bc962151aaf5fa2a1 [file] [log] [blame]
Heiko Schocher8e6e8222016-05-25 07:23:48 +02001/*
2 * at91sam9g20-taurus.dts
3 * (C) Copyright 2016
4 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
5 *
6 * Based on:
7 * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board
8 *
9 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
10 *
11 * Licensed under GPLv2.
12 */
13/dts-v1/;
14#include "at91sam9g20.dtsi"
15
16/ {
17 model = "Siemens taurus";
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020018 compatible = "atmel,at91sam9g20", "atmel,at91sam9";
Heiko Schocher8e6e8222016-05-25 07:23:48 +020019
20 chosen {
Heiko Schocherbe2787b2017-06-28 11:24:58 +020021 u-boot,dm-pre-reloc;
Heiko Schocher8e6e8222016-05-25 07:23:48 +020022 stdout-path = &dbgu;
23 };
24
25 memory {
26 reg = <0x20000000 0x4000000>;
27 };
28
29 clocks {
30 slow_xtal {
31 clock-frequency = <32768>;
32 };
33
34 main_xtal {
35 clock-frequency = <18432000>;
36 };
37 };
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020038};
Heiko Schocher8e6e8222016-05-25 07:23:48 +020039
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020040&dbgu {
41 status = "okay";
42};
Heiko Schocher8e6e8222016-05-25 07:23:48 +020043
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020044&gpbr {
45 status = "okay";
46};
Heiko Schocher8e6e8222016-05-25 07:23:48 +020047
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020048&macb0 {
49 phy-mode = "rmii";
50 status = "okay";
51};
Heiko Schocher8e6e8222016-05-25 07:23:48 +020052
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020053&nand0 {
54 nand-bus-width = <8>;
55 nand-ecc-mode = "soft";
56 nand-on-flash-bbt;
57 status = "okay";
58};
Heiko Schocher8e6e8222016-05-25 07:23:48 +020059
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020060&pinctrl {
61 u-boot,dm-pre-reloc;
62 board {
63 pinctrl_pck0_as_mck: pck0_as_mck {
64 atmel,pins =
65 /* PC1 periph B */
66 <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
Heiko Schocher8e6e8222016-05-25 07:23:48 +020067 };
68
Heiko Schocher8e6e8222016-05-25 07:23:48 +020069 };
70};
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020071
72&rtc {
73 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
74 status = "okay";
75};
76
77&spi0 {
78 cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
79 mtd_dataflash@0 {
80 compatible = "atmel,at45", "atmel,dataflash";
81 spi-max-frequency = <50000000>;
82 reg = <1>;
83 };
84};
85
86&ssc0 {
87 status = "okay";
88 pinctrl-0 = <&pinctrl_ssc0_tx>;
89};
90
91&usart0 {
92 pinctrl-0 =
93 <&pinctrl_usart0
94 &pinctrl_usart0_rts
95 &pinctrl_usart0_cts
96 &pinctrl_usart0_dtr_dsr
97 &pinctrl_usart0_dcd
98 &pinctrl_usart0_ri>;
99 status = "okay";
100};
101
102&usart1 {
103 status = "okay";
104};
105
106&usb0 {
107 num-ports = <2>;
108 status = "okay";
109};
110
111&usb1 {
112 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
113 status = "okay";
114};
115
116&watchdog {
117 u-boot,dm-pre-reloc;
118 timeout-sec = <15>;
119 status = "okay";
120};