Advertisement
ayankh

Zephyr passthrough device tree for first domU

Jun 16th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. Passthrough for the first domU
  2.  
  3. /dts-v1/;
  4.  
  5. / {
  6. #address-cells = <0x02>;
  7. #size-cells = <0x02>;
  8.  
  9. gic {
  10. #interrupt-cells = <0x03>;
  11. interrupt-controller;
  12. phandle = <0x01>;
  13. };
  14.  
  15. passthrough {
  16. compatible = "simple-bus";
  17. ranges;
  18. #address-cells = <0x02>;
  19. #size-cells = <0x02>;
  20.  
  21. clk1 {
  22. u-boot,dm-pre-reloc;
  23. compatible = "fixed-clock";
  24. #clock-cells = <0x00>;
  25. clock-frequency = <0xf4240>;
  26. phandle = <0x11>;
  27. };
  28.  
  29. timer@f1dc0000 {
  30. compatible = "cdns,ttc\0xlnx,ttcps";
  31. interrupt-parent = <0x01>;
  32. interrupts = <0x00 0x2b 0x04 0x00 0x2c 0x04 0x00 0x2d 0x04>;
  33. reg = <0x00 0xf1dc0000 0x00 0x1000>;
  34. clocks = <0x11 0x11>;
  35. phandle = <0x33>;
  36. status = "okay";
  37. xen,reg = <0x00 0xf1dc0000 0x00 0x1000 0x00 0xf1dc0000>;
  38. xen,force-assign-without-iommu = "/timer@f1dc0000";
  39. xen,path = "/timer@f1dc0000";
  40. };
  41. };
  42. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement