blob: c30ad886b16dec3caf7cafa0225ed45629e13fd9 [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 {
Simon Glass8c103c32023-02-13 08:56:33 -070021 bootph-all;
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 {
Simon Glass8c103c32023-02-13 08:56:33 -070061 bootph-all;
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020062 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>;
Eugen Hristevf56a0ca2020-10-26 10:39:48 +020079 mtd_dataflash@1 {
Heiko Schocher0cac0fb2019-04-29 16:36:10 +020080 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 {
Simon Glass8c103c32023-02-13 08:56:33 -0700117 bootph-all;
Heiko Schocher0cac0fb2019-04-29 16:36:10 +0200118 timeout-sec = <15>;
119 status = "okay";
120};