xref: /openbmc/u-boot/arch/arm/dts/at91sam9g20-taurus.dts (revision 0c4b382f9041f9f2f00246c8a0ece90dae5451be)
18e6e8221SHeiko Schocher/*
28e6e8221SHeiko Schocher * at91sam9g20-taurus.dts
38e6e8221SHeiko Schocher * (C) Copyright 2016
48e6e8221SHeiko Schocher * Heiko Schocher, DENX Software Engineering, hs@denx.de.
58e6e8221SHeiko Schocher *
68e6e8221SHeiko Schocher * Based on:
78e6e8221SHeiko Schocher * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board
88e6e8221SHeiko Schocher *
98e6e8221SHeiko Schocher * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
108e6e8221SHeiko Schocher *
118e6e8221SHeiko Schocher * Licensed under GPLv2.
128e6e8221SHeiko Schocher */
138e6e8221SHeiko Schocher/dts-v1/;
148e6e8221SHeiko Schocher#include "at91sam9g20.dtsi"
158e6e8221SHeiko Schocher
168e6e8221SHeiko Schocher/ {
178e6e8221SHeiko Schocher	model = "Siemens taurus";
188e6e8221SHeiko Schocher	compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
198e6e8221SHeiko Schocher
208e6e8221SHeiko Schocher	chosen {
21be2787bfSHeiko Schocher		u-boot,dm-pre-reloc;
228e6e8221SHeiko Schocher		stdout-path = &dbgu;
238e6e8221SHeiko Schocher	};
248e6e8221SHeiko Schocher
258e6e8221SHeiko Schocher	memory {
268e6e8221SHeiko Schocher		reg = <0x20000000 0x4000000>;
278e6e8221SHeiko Schocher	};
288e6e8221SHeiko Schocher
298e6e8221SHeiko Schocher	clocks {
308e6e8221SHeiko Schocher		slow_xtal {
318e6e8221SHeiko Schocher			clock-frequency = <32768>;
328e6e8221SHeiko Schocher		};
338e6e8221SHeiko Schocher
348e6e8221SHeiko Schocher		main_xtal {
358e6e8221SHeiko Schocher			clock-frequency = <18432000>;
368e6e8221SHeiko Schocher		};
378e6e8221SHeiko Schocher	};
388e6e8221SHeiko Schocher
398e6e8221SHeiko Schocher	ahb {
408e6e8221SHeiko Schocher		apb {
418e6e8221SHeiko Schocher			pinctrl@fffff400 {
428e6e8221SHeiko Schocher				board {
438e6e8221SHeiko Schocher					pinctrl_pck0_as_mck: pck0_as_mck {
448e6e8221SHeiko Schocher						atmel,pins =
458e6e8221SHeiko Schocher							<AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PC1 periph B */
468e6e8221SHeiko Schocher					};
478e6e8221SHeiko Schocher
488e6e8221SHeiko Schocher				};
498e6e8221SHeiko Schocher			};
508e6e8221SHeiko Schocher
518e6e8221SHeiko Schocher			dbgu: serial@fffff200 {
52be2787bfSHeiko Schocher				u-boot,dm-pre-reloc;
538e6e8221SHeiko Schocher				status = "okay";
548e6e8221SHeiko Schocher			};
558e6e8221SHeiko Schocher
568e6e8221SHeiko Schocher			usart0: serial@fffb0000 {
578e6e8221SHeiko Schocher				pinctrl-0 =
588e6e8221SHeiko Schocher					<&pinctrl_usart0
598e6e8221SHeiko Schocher					 &pinctrl_usart0_rts
608e6e8221SHeiko Schocher					 &pinctrl_usart0_cts
618e6e8221SHeiko Schocher					 &pinctrl_usart0_dtr_dsr
628e6e8221SHeiko Schocher					 &pinctrl_usart0_dcd
638e6e8221SHeiko Schocher					 &pinctrl_usart0_ri>;
648e6e8221SHeiko Schocher				status = "okay";
658e6e8221SHeiko Schocher			};
668e6e8221SHeiko Schocher
678e6e8221SHeiko Schocher			usart1: serial@fffb4000 {
688e6e8221SHeiko Schocher				status = "okay";
698e6e8221SHeiko Schocher			};
708e6e8221SHeiko Schocher
718e6e8221SHeiko Schocher			macb0: ethernet@fffc4000 {
728e6e8221SHeiko Schocher				phy-mode = "rmii";
738e6e8221SHeiko Schocher				status = "okay";
748e6e8221SHeiko Schocher			};
758e6e8221SHeiko Schocher
768e6e8221SHeiko Schocher			usb1: gadget@fffa4000 {
778e6e8221SHeiko Schocher				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
788e6e8221SHeiko Schocher				status = "okay";
798e6e8221SHeiko Schocher			};
808e6e8221SHeiko Schocher
818e6e8221SHeiko Schocher			ssc0: ssc@fffbc000 {
828e6e8221SHeiko Schocher				status = "okay";
838e6e8221SHeiko Schocher				pinctrl-0 = <&pinctrl_ssc0_tx>;
848e6e8221SHeiko Schocher			};
858e6e8221SHeiko Schocher
868e6e8221SHeiko Schocher			spi0: spi@fffc8000 {
878e6e8221SHeiko Schocher				cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
888e6e8221SHeiko Schocher				mtd_dataflash@0 {
898e6e8221SHeiko Schocher					compatible = "atmel,at45", "atmel,dataflash";
908e6e8221SHeiko Schocher					spi-max-frequency = <50000000>;
918e6e8221SHeiko Schocher					reg = <1>;
928e6e8221SHeiko Schocher				};
938e6e8221SHeiko Schocher			};
948e6e8221SHeiko Schocher
958e6e8221SHeiko Schocher			rtc@fffffd20 {
968e6e8221SHeiko Schocher				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
978e6e8221SHeiko Schocher				status = "okay";
988e6e8221SHeiko Schocher			};
998e6e8221SHeiko Schocher
1008e6e8221SHeiko Schocher			watchdog@fffffd40 {
101*1473f6acSPrasanthi Chellakumar				timeout-sec = <15>;
1028e6e8221SHeiko Schocher				status = "okay";
1038e6e8221SHeiko Schocher			};
1048e6e8221SHeiko Schocher
1058e6e8221SHeiko Schocher			gpbr: syscon@fffffd50 {
1068e6e8221SHeiko Schocher				status = "okay";
1078e6e8221SHeiko Schocher			};
1088e6e8221SHeiko Schocher		};
1098e6e8221SHeiko Schocher
1108e6e8221SHeiko Schocher		nand0: nand@40000000 {
1118e6e8221SHeiko Schocher			nand-bus-width = <8>;
1128e6e8221SHeiko Schocher			nand-ecc-mode = "soft";
1138e6e8221SHeiko Schocher			nand-on-flash-bbt;
1148e6e8221SHeiko Schocher			status = "okay";
1158e6e8221SHeiko Schocher		};
1168e6e8221SHeiko Schocher
1178e6e8221SHeiko Schocher		usb0: ohci@00500000 {
1188e6e8221SHeiko Schocher			num-ports = <2>;
1198e6e8221SHeiko Schocher			status = "okay";
1208e6e8221SHeiko Schocher		};
1218e6e8221SHeiko Schocher	};
1228e6e8221SHeiko Schocher};
123