0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit
0004 *
0005 * Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com>
0006 */
0007 /dts-v1/;
0008 #include "at91rm9200.dtsi"
0009
0010 / {
0011 model = "Atmel AT91RM9200 evaluation kit";
0012 compatible = "atmel,at91rm9200ek", "atmel,at91rm9200";
0013
0014 chosen {
0015 stdout-path = "serial0:115200n8";
0016 };
0017
0018 memory@20000000 {
0019 reg = <0x20000000 0x4000000>;
0020 };
0021
0022 clocks {
0023 slow_xtal {
0024 clock-frequency = <32768>;
0025 };
0026
0027 main_xtal {
0028 clock-frequency = <18432000>;
0029 };
0030 };
0031
0032 ahb {
0033 apb {
0034 tcb0: timer@fffa0000 {
0035 timer@0 {
0036 compatible = "atmel,tcb-timer";
0037 reg = <0>, <1>;
0038 };
0039
0040 timer@2 {
0041 compatible = "atmel,tcb-timer";
0042 reg = <2>;
0043 };
0044 };
0045
0046 usb1: gadget@fffb0000 {
0047 atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
0048 atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>;
0049 status = "okay";
0050 };
0051
0052 macb0: ethernet@fffbc000 {
0053 phy-mode = "rmii";
0054 status = "okay";
0055
0056 phy0: ethernet-phy {
0057 interrupt-parent = <&pioC>;
0058 interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
0059 };
0060 };
0061
0062 usart1: serial@fffc4000 {
0063 pinctrl-0 =
0064 <&pinctrl_uart1
0065 &pinctrl_uart1_rts
0066 &pinctrl_uart1_cts
0067 &pinctrl_uart1_dtr_dsr
0068 &pinctrl_uart1_dcd
0069 &pinctrl_uart1_ri>;
0070 status = "okay";
0071 };
0072
0073 spi0: spi@fffe0000 {
0074 status = "okay";
0075 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
0076 flash@0 {
0077 compatible = "atmel,at45", "atmel,dataflash";
0078 spi-max-frequency = <15000000>;
0079 reg = <0>;
0080 };
0081 };
0082
0083 dbgu: serial@fffff200 {
0084 status = "okay";
0085 };
0086
0087 rtc: rtc@fffffe00 {
0088 status = "okay";
0089 };
0090 };
0091
0092 usb0: ohci@300000 {
0093 num-ports = <2>;
0094 status = "okay";
0095 };
0096
0097 flash@10000000 {
0098 compatible = "cfi-flash";
0099 reg = <0x10000000 0x800000>;
0100 linux,mtd-name = "physmap-flash.0";
0101 bank-width = <2>;
0102 #address-cells = <1>;
0103 #size-cells = <1>;
0104
0105 barebox@0 {
0106 label = "barebox";
0107 reg = <0x00000 0x40000>;
0108 };
0109
0110 bareboxenv@40000 {
0111 label = "bareboxenv";
0112 reg = <0x40000 0x10000>;
0113 };
0114
0115 kernel@50000 {
0116 label = "kernel";
0117 reg = <0x50000 0x300000>;
0118 };
0119
0120 root@350000 {
0121 label = "root";
0122 reg = <0x350000 0x4B0000>;
0123 };
0124 };
0125 };
0126
0127 leds {
0128 compatible = "gpio-leds";
0129
0130 ds2 {
0131 label = "green";
0132 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
0133 linux,default-trigger = "mmc0";
0134 };
0135
0136 ds4 {
0137 label = "yellow";
0138 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
0139 linux,default-trigger = "heartbeat";
0140 };
0141
0142 ds6 {
0143 label = "red";
0144 gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
0145 };
0146 };
0147 };