at91sam9x5ek.dtsi 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board
  3. *
  4. * Copyright (C) 2012 Atmel,
  5. * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
  6. *
  7. * Licensed under GPLv2 or later.
  8. */
  9. /include/ "at91sam9x5cm.dtsi"
  10. / {
  11. model = "Atmel AT91SAM9X5-EK";
  12. compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
  13. chosen {
  14. bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
  15. };
  16. ahb {
  17. apb {
  18. mmc0: mmc@f0008000 {
  19. pinctrl-0 = <
  20. &pinctrl_board_mmc0
  21. &pinctrl_mmc0_slot0_clk_cmd_dat0
  22. &pinctrl_mmc0_slot0_dat1_3>;
  23. status = "okay";
  24. slot@0 {
  25. reg = <0>;
  26. bus-width = <4>;
  27. cd-gpios = <&pioD 15 0>;
  28. };
  29. };
  30. mmc1: mmc@f000c000 {
  31. pinctrl-0 = <
  32. &pinctrl_board_mmc1
  33. &pinctrl_mmc1_slot0_clk_cmd_dat0
  34. &pinctrl_mmc1_slot0_dat1_3>;
  35. status = "okay";
  36. slot@0 {
  37. reg = <0>;
  38. bus-width = <4>;
  39. cd-gpios = <&pioD 14 0>;
  40. };
  41. };
  42. dbgu: serial@fffff200 {
  43. status = "okay";
  44. };
  45. usart0: serial@f801c000 {
  46. status = "okay";
  47. };
  48. i2c0: i2c@f8010000 {
  49. status = "okay";
  50. };
  51. pinctrl@fffff400 {
  52. mmc0 {
  53. pinctrl_board_mmc0: mmc0-board {
  54. atmel,pins =
  55. <3 15 0x0 0x5>; /* PD15 gpio CD pin pull up and deglitch */
  56. };
  57. };
  58. mmc1 {
  59. pinctrl_board_mmc1: mmc1-board {
  60. atmel,pins =
  61. <3 14 0x0 0x5>; /* PD14 gpio CD pin pull up and deglitch */
  62. };
  63. };
  64. };
  65. spi0: spi@f0000000 {
  66. status = "okay";
  67. cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
  68. m25p80@0 {
  69. compatible = "atmel,at25df321a";
  70. spi-max-frequency = <50000000>;
  71. reg = <0>;
  72. };
  73. };
  74. };
  75. usb0: ohci@00600000 {
  76. status = "okay";
  77. num-ports = <2>;
  78. atmel,vbus-gpio = <&pioD 19 1
  79. &pioD 20 1
  80. >;
  81. };
  82. usb1: ehci@00700000 {
  83. status = "okay";
  84. };
  85. };
  86. };