blob: c30ad886b16dec3caf7cafa0225ed45629e13fd9 [file] [log] [blame]
Heiko Schocher649d8102016-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 Schocher1af10bb2019-04-29 16:36:10 +020018 compatible = "atmel,at91sam9g20", "atmel,at91sam9";
Heiko Schocher649d8102016-05-25 07:23:48 +020019
20 chosen {
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-all;
Heiko Schocher649d8102016-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 Schocher1af10bb2019-04-29 16:36:10 +020038};
Heiko Schocher649d8102016-05-25 07:23:48 +020039
Heiko Schocher1af10bb2019-04-29 16:36:10 +020040&dbgu {
41 status = "okay";
42};
Heiko Schocher649d8102016-05-25 07:23:48 +020043
Heiko Schocher1af10bb2019-04-29 16:36:10 +020044&gpbr {
45 status = "okay";
46};
Heiko Schocher649d8102016-05-25 07:23:48 +020047
Heiko Schocher1af10bb2019-04-29 16:36:10 +020048&macb0 {
49 phy-mode = "rmii";
50 status = "okay";
51};
Heiko Schocher649d8102016-05-25 07:23:48 +020052
Heiko Schocher1af10bb2019-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 Schocher649d8102016-05-25 07:23:48 +020059
Heiko Schocher1af10bb2019-04-29 16:36:10 +020060&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-all;
Heiko Schocher1af10bb2019-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>;
67 };
Heiko Schocher649d8102016-05-25 07:23:48 +020068
Heiko Schocher1af10bb2019-04-29 16:36:10 +020069 };
70};
Heiko Schocher649d8102016-05-25 07:23:48 +020071
Heiko Schocher1af10bb2019-04-29 16:36:10 +020072&rtc {
73 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
74 status = "okay";
75};
Heiko Schocher649d8102016-05-25 07:23:48 +020076
Heiko Schocher1af10bb2019-04-29 16:36:10 +020077&spi0 {
78 cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
Eugen Hristevcde3e5e2020-10-26 10:39:48 +020079 mtd_dataflash@1 {
Heiko Schocher1af10bb2019-04-29 16:36:10 +020080 compatible = "atmel,at45", "atmel,dataflash";
81 spi-max-frequency = <50000000>;
82 reg = <1>;
83 };
84};
Heiko Schocher649d8102016-05-25 07:23:48 +020085
Heiko Schocher1af10bb2019-04-29 16:36:10 +020086&ssc0 {
87 status = "okay";
88 pinctrl-0 = <&pinctrl_ssc0_tx>;
89};
Heiko Schocher649d8102016-05-25 07:23:48 +020090
Heiko Schocher1af10bb2019-04-29 16:36:10 +020091&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};
Heiko Schocher649d8102016-05-25 07:23:48 +0200101
Heiko Schocher1af10bb2019-04-29 16:36:10 +0200102&usart1 {
103 status = "okay";
104};
Heiko Schocher649d8102016-05-25 07:23:48 +0200105
Heiko Schocher1af10bb2019-04-29 16:36:10 +0200106&usb0 {
107 num-ports = <2>;
108 status = "okay";
109};
Heiko Schocher649d8102016-05-25 07:23:48 +0200110
Heiko Schocher1af10bb2019-04-29 16:36:10 +0200111&usb1 {
112 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
113 status = "okay";
114};
Heiko Schocher649d8102016-05-25 07:23:48 +0200115
Heiko Schocher1af10bb2019-04-29 16:36:10 +0200116&watchdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-all;
Heiko Schocher1af10bb2019-04-29 16:36:10 +0200118 timeout-sec = <15>;
119 status = "okay";
Heiko Schocher649d8102016-05-25 07:23:48 +0200120};