1/*
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 {
21		stdout-path = &dbgu;
22	};
23
24	memory {
25		reg = <0x20000000 0x4000000>;
26	};
27
28	clocks {
29		slow_xtal {
30			clock-frequency = <32768>;
31		};
32
33		main_xtal {
34			clock-frequency = <18432000>;
35		};
36	};
37
38	ahb {
39		apb {
40			pinctrl@fffff400 {
41				board {
42					pinctrl_pck0_as_mck: pck0_as_mck {
43						atmel,pins =
44							<AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PC1 periph B */
45					};
46
47				};
48			};
49
50			dbgu: serial@fffff200 {
51				status = "okay";
52			};
53
54			usart0: serial@fffb0000 {
55				pinctrl-0 =
56					<&pinctrl_usart0
57					 &pinctrl_usart0_rts
58					 &pinctrl_usart0_cts
59					 &pinctrl_usart0_dtr_dsr
60					 &pinctrl_usart0_dcd
61					 &pinctrl_usart0_ri>;
62				status = "okay";
63			};
64
65			usart1: serial@fffb4000 {
66				status = "okay";
67			};
68
69			macb0: ethernet@fffc4000 {
70				phy-mode = "rmii";
71				status = "okay";
72			};
73
74			usb1: gadget@fffa4000 {
75				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
76				status = "okay";
77			};
78
79			ssc0: ssc@fffbc000 {
80				status = "okay";
81				pinctrl-0 = <&pinctrl_ssc0_tx>;
82			};
83
84			spi0: spi@fffc8000 {
85				cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
86				mtd_dataflash@0 {
87					compatible = "atmel,at45", "atmel,dataflash";
88					spi-max-frequency = <50000000>;
89					reg = <1>;
90				};
91			};
92
93			rtc@fffffd20 {
94				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
95				status = "okay";
96			};
97
98			watchdog@fffffd40 {
99				status = "okay";
100			};
101
102			gpbr: syscon@fffffd50 {
103				status = "okay";
104			};
105		};
106
107		nand0: nand@40000000 {
108			nand-bus-width = <8>;
109			nand-ecc-mode = "soft";
110			nand-on-flash-bbt;
111			status = "okay";
112		};
113
114		usb0: ohci@00500000 {
115			num-ports = <2>;
116			status = "okay";
117		};
118	};
119};
120