ethernut5.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * ethernut5.dts - Device Tree file for Ethernut 5 board
  4. *
  5. * Copyright (C) 2012 egnite GmbH <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "at91sam9xe.dtsi"
  9. / {
  10. model = "Ethernut 5";
  11. compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
  12. chosen {
  13. bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2";
  14. };
  15. memory@20000000 {
  16. reg = <0x20000000 0x08000000>;
  17. };
  18. clocks {
  19. slow_xtal {
  20. clock-frequency = <32768>;
  21. };
  22. main_xtal {
  23. clock-frequency = <18432000>;
  24. };
  25. };
  26. ahb {
  27. apb {
  28. dbgu: serial@fffff200 {
  29. status = "okay";
  30. };
  31. tcb0: timer@fffa0000 {
  32. timer@0 {
  33. compatible = "atmel,tcb-timer";
  34. reg = <0>, <1>;
  35. };
  36. timer@2 {
  37. compatible = "atmel,tcb-timer";
  38. reg = <2>;
  39. };
  40. };
  41. usart0: serial@fffb0000 {
  42. status = "okay";
  43. };
  44. usart1: serial@fffb4000 {
  45. status = "okay";
  46. };
  47. macb0: ethernet@fffc4000 {
  48. phy-mode = "rmii";
  49. status = "okay";
  50. };
  51. usb1: gadget@fffa4000 {
  52. atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
  53. status = "okay";
  54. };
  55. };
  56. ebi: ebi@10000000 {
  57. status = "okay";
  58. nand_controller: nand-controller {
  59. status = "okay";
  60. pinctrl-0 = <&pinctrl_nand_cs>;
  61. pinctrl-names = "default";
  62. nand: nand@3 {
  63. reg = <0x3 0x0 0x800000>;
  64. cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
  65. nand-bus-width = <8>;
  66. nand-ecc-mode = "soft";
  67. nand-on-flash-bbt;
  68. label = "atmel_nand";
  69. partitions {
  70. compatible = "fixed-partitions";
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. root@0 {
  74. label = "root";
  75. reg = <0x0 0x08000000>;
  76. };
  77. data@20000 {
  78. label = "data";
  79. reg = <0x08000000 0x38000000>;
  80. };
  81. };
  82. };
  83. };
  84. };
  85. usb0: ohci@500000 {
  86. num-ports = <2>;
  87. status = "okay";
  88. };
  89. };
  90. i2c-gpio-0 {
  91. status = "okay";
  92. pcf8563@50 {
  93. compatible = "nxp,pcf8563";
  94. reg = <0x51>;
  95. };
  96. };
  97. };