juno-ethosn.dtsi 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. /*
  7. * This device tree is only an example and some properties have been omitted.
  8. *
  9. * Refer to the Arm(R) Ethos(TM)-N driver stack for complete device tree examples.
  10. * https://github.com/ARM-software/ethos-n-driver-stack
  11. */
  12. / {
  13. #address-cells = <2>;
  14. #size-cells = <2>;
  15. smmu_ethosn0: iommu@6f400000 {
  16. compatible = "arm,smmu-v3";
  17. reg = <0 0x6f400000 0 0x80000>;
  18. status = "okay";
  19. /* msi-parent omitted */
  20. #iommu-cells = <0x1>;
  21. };
  22. ethosn0: ethosn@6f300000 {
  23. compatible = "ethosn";
  24. reg = <0 0x6f300000 0 0x00100000>;
  25. status = "okay";
  26. core0 {
  27. compatible = "ethosn-core";
  28. status = "okay";
  29. main_allocator {
  30. compatible = "ethosn-main_allocator";
  31. status = "okay";
  32. firmware {
  33. compatible = "ethosn-memory";
  34. iommus = <&smmu_ethosn0 0>;
  35. };
  36. working_data {
  37. compatible = "ethosn-memory";
  38. iommus = <&smmu_ethosn0 1>;
  39. };
  40. };
  41. };
  42. asset_allocator {
  43. compatible = "ethosn-asset_allocator";
  44. status = "okay";
  45. command_stream {
  46. compatible = "ethosn-memory";
  47. iommus = <&smmu_ethosn0 2>;
  48. };
  49. weight_data {
  50. compatible = "ethosn-memory";
  51. iommus = <&smmu_ethosn0 3>;
  52. };
  53. buffer_data {
  54. compatible = "ethosn-memory";
  55. iommus = <&smmu_ethosn0 4>;
  56. };
  57. intermediate_data {
  58. compatible = "ethosn-memory";
  59. iommus = <&smmu_ethosn0 5>;
  60. };
  61. };
  62. };
  63. };