at91-linea.dtsi 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module.
  4. *
  5. * Copyright (C) 2017 Axentia Technologies AB
  6. *
  7. * Author: Peter Rosin <[email protected]>
  8. */
  9. #include "sama5d31.dtsi"
  10. / {
  11. compatible = "axentia,linea",
  12. "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
  13. memory@20000000 {
  14. reg = <0x20000000 0x4000000>;
  15. };
  16. };
  17. &slow_xtal {
  18. clock-frequency = <32768>;
  19. };
  20. &main_xtal {
  21. clock-frequency = <12000000>;
  22. };
  23. &tcb0 {
  24. timer@0 {
  25. compatible = "atmel,tcb-timer";
  26. reg = <0>;
  27. };
  28. timer@1 {
  29. compatible = "atmel,tcb-timer";
  30. reg = <1>;
  31. };
  32. };
  33. &i2c0 {
  34. status = "okay";
  35. eeprom@51 {
  36. compatible = "st,24c64", "atmel,24c64";
  37. reg = <0x51>;
  38. pagesize = <32>;
  39. };
  40. };
  41. &ebi {
  42. pinctrl-0 = <&pinctrl_ebi_nand_addr>;
  43. pinctrl-names = "default";
  44. status = "okay";
  45. };
  46. &nand_controller {
  47. status = "okay";
  48. nand: nand@3 {
  49. reg = <0x3 0x0 0x2>;
  50. atmel,rb = <0>;
  51. nand-bus-width = <8>;
  52. nand-ecc-mode = "hw";
  53. nand-ecc-strength = <4>;
  54. nand-ecc-step-size = <512>;
  55. nand-on-flash-bbt;
  56. label = "atmel_nand";
  57. };
  58. };