blob: 7931c0af7b49c8295aedcf8a95f0bb581af7f6fa [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";
18 compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
19
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 };
38
39 ahb {
40 apb {
41 pinctrl@fffff400 {
42 board {
43 pinctrl_pck0_as_mck: pck0_as_mck {
44 atmel,pins =
45 <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC1 periph B */
46 };
47
48 };
49 };
50
51 dbgu: serial@fffff200 {
Heiko Schocherbe2787b2017-06-28 11:24:58 +020052 u-boot,dm-pre-reloc;
Heiko Schocher8e6e8222016-05-25 07:23:48 +020053 status = "okay";
54 };
55
56 usart0: serial@fffb0000 {
57 pinctrl-0 =
58 <&pinctrl_usart0
59 &pinctrl_usart0_rts
60 &pinctrl_usart0_cts
61 &pinctrl_usart0_dtr_dsr
62 &pinctrl_usart0_dcd
63 &pinctrl_usart0_ri>;
64 status = "okay";
65 };
66
67 usart1: serial@fffb4000 {
68 status = "okay";
69 };
70
71 macb0: ethernet@fffc4000 {
72 phy-mode = "rmii";
73 status = "okay";
74 };
75
76 usb1: gadget@fffa4000 {
77 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
78 status = "okay";
79 };
80
81 ssc0: ssc@fffbc000 {
82 status = "okay";
83 pinctrl-0 = <&pinctrl_ssc0_tx>;
84 };
85
86 spi0: spi@fffc8000 {
87 cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
88 mtd_dataflash@0 {
89 compatible = "atmel,at45", "atmel,dataflash";
90 spi-max-frequency = <50000000>;
91 reg = <1>;
92 };
93 };
94
95 rtc@fffffd20 {
96 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
97 status = "okay";
98 };
99
100 watchdog@fffffd40 {
101 status = "okay";
102 };
103
104 gpbr: syscon@fffffd50 {
105 status = "okay";
106 };
107 };
108
109 nand0: nand@40000000 {
110 nand-bus-width = <8>;
111 nand-ecc-mode = "soft";
112 nand-on-flash-bbt;
113 status = "okay";
114 };
115
116 usb0: ohci@00500000 {
117 num-ports = <2>;
118 status = "okay";
119 };
120 };
121};