at91sam9g20-taurus.dts 2.1 KB

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