1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * at91rm9200ek.dts - Device Tree file for Atm 3 * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit 4 * 4 * 5 * Copyright (C) 2012 Joachim Eastwood <manabi 5 * Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com> 6 */ 6 */ 7 /dts-v1/; 7 /dts-v1/; 8 #include "at91rm9200.dtsi" 8 #include "at91rm9200.dtsi" 9 9 10 / { 10 / { 11 model = "Atmel AT91RM9200 evaluation k 11 model = "Atmel AT91RM9200 evaluation kit"; 12 compatible = "atmel,at91rm9200ek", "at 12 compatible = "atmel,at91rm9200ek", "atmel,at91rm9200"; 13 13 14 chosen { 14 chosen { 15 stdout-path = "serial0:115200n 15 stdout-path = "serial0:115200n8"; 16 }; 16 }; 17 17 18 memory@20000000 { 18 memory@20000000 { 19 reg = <0x20000000 0x4000000>; 19 reg = <0x20000000 0x4000000>; 20 }; 20 }; 21 21 22 clocks { 22 clocks { 23 slow_xtal { 23 slow_xtal { 24 clock-frequency = <327 24 clock-frequency = <32768>; 25 }; 25 }; 26 26 27 main_xtal { 27 main_xtal { 28 clock-frequency = <184 28 clock-frequency = <18432000>; 29 }; 29 }; 30 }; 30 }; 31 31 32 ahb { 32 ahb { 33 apb { 33 apb { 34 tcb0: timer@fffa0000 { 34 tcb0: timer@fffa0000 { 35 timer@0 { 35 timer@0 { 36 compat 36 compatible = "atmel,tcb-timer"; 37 reg = 37 reg = <0>, <1>; 38 }; 38 }; 39 39 40 timer@2 { 40 timer@2 { 41 compat 41 compatible = "atmel,tcb-timer"; 42 reg = 42 reg = <2>; 43 }; 43 }; 44 }; 44 }; 45 45 46 usb1: gadget@fffb0000 46 usb1: gadget@fffb0000 { 47 atmel,vbus-gpi 47 atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; 48 atmel,pullup-g 48 atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; 49 status = "okay 49 status = "okay"; 50 }; 50 }; 51 51 52 macb0: ethernet@fffbc0 52 macb0: ethernet@fffbc000 { 53 phy-mode = "rm 53 phy-mode = "rmii"; 54 status = "okay 54 status = "okay"; 55 55 56 phy0: ethernet 56 phy0: ethernet-phy { 57 interr 57 interrupt-parent = <&pioC>; 58 interr 58 interrupts = <4 IRQ_TYPE_EDGE_BOTH>; 59 }; 59 }; 60 }; 60 }; 61 61 62 usart1: serial@fffc400 62 usart1: serial@fffc4000 { 63 pinctrl-0 = 63 pinctrl-0 = 64 64 <&pinctrl_uart1 65 65 &pinctrl_uart1_rts 66 66 &pinctrl_uart1_cts 67 67 &pinctrl_uart1_dtr_dsr 68 68 &pinctrl_uart1_dcd 69 69 &pinctrl_uart1_ri>; 70 status = "okay 70 status = "okay"; 71 }; 71 }; 72 72 73 spi0: spi@fffe0000 { 73 spi0: spi@fffe0000 { 74 status = "okay 74 status = "okay"; 75 cs-gpios = <&p 75 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>; 76 flash@0 { 76 flash@0 { 77 compat 77 compatible = "atmel,at45", "atmel,dataflash"; 78 spi-ma 78 spi-max-frequency = <15000000>; 79 reg = 79 reg = <0>; 80 }; 80 }; 81 }; 81 }; 82 82 83 dbgu: serial@fffff200 83 dbgu: serial@fffff200 { 84 status = "okay 84 status = "okay"; 85 }; 85 }; 86 86 87 rtc: rtc@fffffe00 { 87 rtc: rtc@fffffe00 { 88 status = "okay 88 status = "okay"; 89 }; 89 }; 90 }; 90 }; 91 91 92 usb0: ohci@300000 { 92 usb0: ohci@300000 { 93 num-ports = <2>; 93 num-ports = <2>; 94 status = "okay"; 94 status = "okay"; 95 }; 95 }; 96 96 97 flash@10000000 { 97 flash@10000000 { 98 compatible = "cfi-flas 98 compatible = "cfi-flash"; 99 reg = <0x10000000 0x80 99 reg = <0x10000000 0x800000>; 100 linux,mtd-name = "phys 100 linux,mtd-name = "physmap-flash.0"; 101 bank-width = <2>; 101 bank-width = <2>; 102 #address-cells = <1>; 102 #address-cells = <1>; 103 #size-cells = <1>; 103 #size-cells = <1>; 104 104 105 barebox@0 { 105 barebox@0 { 106 label = "bareb 106 label = "barebox"; 107 reg = <0x00000 107 reg = <0x00000 0x40000>; 108 }; 108 }; 109 109 110 bareboxenv@40000 { 110 bareboxenv@40000 { 111 label = "bareb 111 label = "bareboxenv"; 112 reg = <0x40000 112 reg = <0x40000 0x10000>; 113 }; 113 }; 114 114 115 kernel@50000 { 115 kernel@50000 { 116 label = "kerne 116 label = "kernel"; 117 reg = <0x50000 117 reg = <0x50000 0x300000>; 118 }; 118 }; 119 119 120 root@350000 { 120 root@350000 { 121 label = "root" 121 label = "root"; 122 reg = <0x35000 122 reg = <0x350000 0x4B0000>; 123 }; 123 }; 124 }; 124 }; 125 }; 125 }; 126 126 127 leds { 127 leds { 128 compatible = "gpio-leds"; 128 compatible = "gpio-leds"; 129 129 130 ds2 { 130 ds2 { 131 label = "green"; 131 label = "green"; 132 gpios = <&pioB 0 GPIO_ 132 gpios = <&pioB 0 GPIO_ACTIVE_LOW>; 133 linux,default-trigger 133 linux,default-trigger = "mmc0"; 134 }; 134 }; 135 135 136 ds4 { 136 ds4 { 137 label = "yellow"; 137 label = "yellow"; 138 gpios = <&pioB 1 GPIO_ 138 gpios = <&pioB 1 GPIO_ACTIVE_LOW>; 139 linux,default-trigger 139 linux,default-trigger = "heartbeat"; 140 }; 140 }; 141 141 142 ds6 { 142 ds6 { 143 label = "red"; 143 label = "red"; 144 gpios = <&pioB 2 GPIO_ 144 gpios = <&pioB 2 GPIO_ACTIVE_LOW>; 145 }; 145 }; 146 }; 146 }; 147 }; 147 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.