ethernut5.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * ethernut5.dts - Device Tree file for Ethernut 5 board
  3. *
  4. * Copyright (C) 2012 egnite GmbH <info@egnite.de>
  5. *
  6. * Licensed under GPLv2.
  7. */
  8. /dts-v1/;
  9. #include "at91sam9260.dtsi"
  10. / {
  11. model = "Ethernut 5";
  12. compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
  13. chosen {
  14. bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2";
  15. };
  16. memory {
  17. reg = <0x20000000 0x08000000>;
  18. };
  19. clocks {
  20. slow_xtal {
  21. clock-frequency = <32768>;
  22. };
  23. main_xtal {
  24. clock-frequency = <18432000>;
  25. };
  26. };
  27. ahb {
  28. apb {
  29. dbgu: serial@fffff200 {
  30. status = "okay";
  31. };
  32. usart0: serial@fffb0000 {
  33. status = "okay";
  34. };
  35. usart1: serial@fffb4000 {
  36. status = "okay";
  37. };
  38. macb0: ethernet@fffc4000 {
  39. phy-mode = "rmii";
  40. status = "okay";
  41. };
  42. usb1: gadget@fffa4000 {
  43. atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
  44. status = "okay";
  45. };
  46. };
  47. nand0: nand@40000000 {
  48. nand-bus-width = <8>;
  49. nand-ecc-mode = "soft";
  50. nand-on-flash-bbt;
  51. status = "okay";
  52. gpios = <0
  53. &pioC 14 GPIO_ACTIVE_HIGH
  54. 0
  55. >;
  56. root@0 {
  57. label = "root";
  58. reg = <0x0 0x08000000>;
  59. };
  60. data@20000 {
  61. label = "data";
  62. reg = <0x08000000 0x38000000>;
  63. };
  64. };
  65. usb0: ohci@00500000 {
  66. num-ports = <2>;
  67. status = "okay";
  68. };
  69. };
  70. i2c@0 {
  71. status = "okay";
  72. pcf8563@50 {
  73. compatible = "nxp,pcf8563";
  74. reg = <0x51>;
  75. };
  76. };
  77. };