1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * at91-sama5d3_xplained.dts - Device Tree fil 4 * 5 * Copyright (C) 2014 Atmel, 6 * 2014 Nicolas Ferre <nicolas.f 7 */ 8 /dts-v1/; 9 #include "sama5d36.dtsi" 10 #include <dt-bindings/input/input.h> 11 12 / { 13 model = "SAMA5D3 Xplained"; 14 compatible = "atmel,sama5d3-xplained", 15 16 chosen { 17 stdout-path = "serial0:115200n 18 }; 19 20 memory@20000000 { 21 reg = <0x20000000 0x10000000>; 22 }; 23 24 clocks { 25 slow_xtal { 26 clock-frequency = <327 27 }; 28 29 main_xtal { 30 clock-frequency = <120 31 }; 32 }; 33 34 ahb { 35 apb { 36 mmc0: mmc@f0000000 { 37 pinctrl-0 = <& 38 vmmc-supply = 39 vqmmc-supply = 40 status = "okay 41 slot@0 { 42 reg = 43 bus-wi 44 cd-gpi 45 }; 46 }; 47 48 mmc1: mmc@f8000000 { 49 vmmc-supply = 50 vqmmc-supply = 51 status = "disa 52 slot@0 { 53 reg = 54 bus-wi 55 cd-gpi 56 }; 57 }; 58 59 spi0: spi@f0004000 { 60 pinctrl-names 61 pinctrl-1 = <& 62 cs-gpios = <&p 63 status = "okay 64 }; 65 66 can0: can@f000c000 { 67 status = "okay 68 }; 69 70 tcb0: timer@f0010000 { 71 timer0: timer@ 72 compat 73 reg = 74 }; 75 76 timer1: timer@ 77 compat 78 reg = 79 }; 80 }; 81 82 i2c0: i2c@f0014000 { 83 pinctrl-0 = <& 84 status = "okay 85 }; 86 87 i2c1: i2c@f0018000 { 88 status = "okay 89 90 pmic: act8865@ 91 compat 92 reg = 93 status 94 95 regula 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 }; 130 }; 131 }; 132 133 macb0: ethernet@f00280 134 phy-mode = "rg 135 #address-cells 136 #size-cells = 137 status = "okay 138 139 ethernet-phy@7 140 reg = 141 }; 142 }; 143 144 pwm0: pwm@f002c000 { 145 pinctrl-names 146 pinctrl-0 = <& 147 status = "okay 148 }; 149 150 usart0: serial@f001c00 151 status = "okay 152 }; 153 154 usart1: serial@f002000 155 pinctrl-0 = <& 156 status = "okay 157 }; 158 159 uart0: serial@f0024000 160 status = "okay 161 }; 162 163 mmc1: mmc@f8000000 { 164 pinctrl-0 = <& 165 status = "okay 166 slot@0 { 167 reg = 168 bus-wi 169 cd-gpi 170 }; 171 }; 172 173 spi1: spi@f8008000 { 174 pinctrl-names 175 pinctrl-1 = <& 176 cs-gpios = <&p 177 status = "okay 178 }; 179 180 adc0: adc@f8018000 { 181 atmel,adc-vref 182 atmel,adc-chan 183 pinctrl-0 = < 184 &pinct 185 &pinct 186 &pinct 187 &pinct 188 &pinct 189 &pinct 190 &pinct 191 &pinct 192 >; 193 status = "okay 194 }; 195 196 i2c2: i2c@f801c000 { 197 dmas = <0>, <0 198 pinctrl-0 = <& 199 status = "okay 200 }; 201 202 macb1: ethernet@f802c0 203 phy-mode = "rm 204 #address-cells 205 #size-cells = 206 status = "okay 207 208 ethernet-phy@1 209 reg = 210 }; 211 }; 212 213 dbgu: serial@ffffee00 214 status = "okay 215 }; 216 217 pinctrl@fffff200 { 218 board { 219 pinctr 220 221 222 223 }; 224 225 pinctr 226 227 228 229 }; 230 231 pinctr 232 233 234 }; 235 236 pinctr 237 238 239 }; 240 241 pinctr 242 243 244 }; 245 246 pinctr 247 248 249 }; 250 pinctr 251 252 253 254 }; 255 256 pinctr 257 258 259 260 }; 261 262 pinctr 263 264 265 266 }; 267 268 pinctr 269 270 }; 271 272 pinctr 273 274 }; 275 }; 276 }; 277 }; 278 279 usb0: gadget@500000 { 280 atmel,vbus-gpio = <&pi 281 pinctrl-names = "defau 282 pinctrl-0 = <&pinctrl_ 283 status = "okay"; 284 }; 285 286 usb1: ohci@600000 { 287 num-ports = <3>; 288 atmel,vbus-gpio = <0 289 &pi 290 &pi 291 >; 292 pinctrl-names = "defau 293 pinctrl-0 = <&pinctrl_ 294 status = "okay"; 295 }; 296 297 usb2: ehci@700000 { 298 status = "okay"; 299 }; 300 301 ebi: ebi@10000000 { 302 pinctrl-0 = <&pinctrl_ 303 pinctrl-names = "defau 304 status = "okay"; 305 306 nand_controller: nand- 307 status = "okay 308 309 nand@3 { 310 reg = 311 atmel, 312 nand-b 313 nand-e 314 nand-e 315 nand-e 316 nand-o 317 label 318 319 partit 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 }; 359 }; 360 }; 361 }; 362 }; 363 364 vcc_mmc0_reg: fixedregulator_mmc0 { 365 compatible = "regulator-fixed" 366 pinctrl-names = "default"; 367 pinctrl-0 = <&pinctrl_vcc_mmc0 368 gpio = <&pioE 2 GPIO_ACTIVE_LO 369 regulator-name = "mmc0-card-su 370 regulator-min-microvolt = <330 371 regulator-max-microvolt = <330 372 regulator-always-on; 373 }; 374 375 gpio-keys { 376 compatible = "gpio-keys"; 377 378 pinctrl-names = "default"; 379 pinctrl-0 = <&pinctrl_key_gpio 380 381 button { 382 label = "PB_USER"; 383 gpios = <&pioE 29 GPIO 384 linux,code = <KEY_PROG 385 wakeup-source; 386 }; 387 }; 388 389 leds { 390 compatible = "gpio-leds"; 391 pinctrl-names = "default"; 392 pinctrl-0 = <&pinctrl_gpio_led 393 status = "okay"; 394 395 led-d2 { 396 label = "d2"; 397 gpios = <&pioE 23 GPIO 398 linux,default-trigger 399 }; 400 401 led-d3 { 402 label = "d3"; /* Confl 403 gpios = <&pioE 24 GPIO 404 }; 405 }; 406 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.