[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] i2c pass-through in mpsoc


I am trying to pass the I2C peripherial in an mpsoc. I have been following the example to pass the mac but I keep getting the following error:

(XEN) XEN_DOMCTL_assign_dt_device: assign "/amba/i2c@ff030000" to dom1 failed (-22) libxl: error: libxl_create.c:1424:libxl__add_dtdevs: xc_assign_dtdevice failed: -1 libxl: error: libxl_create.c:1461:domcreate_attach_devices: unable to add dtdev devices

Attached I send the config file as well as the pass-through device tree.

In the main device tree I have modified the I2C to:

i2c@ff030000 {
  compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
  status = "disabled";
  xen,passthrough = "1";
  interrupt-parent = <0x4>;
  interrupts = <0x0 0x12 0x4>;
  reg = <0x0 0xff030000 0x0 0x1000>;
  #address-cells = <0x1>;
  #size-cells = <0x0>;
  power-domains = <0x12>;
  clocks = <0x3 0x3e>;
  clock-frequency = <0x61a80>;

Any hints on where the problem is?



Attachment: Debian.cfg
Description: Text document

Attachment: i2c_pass.dts
Description: audio/vnd.dts

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.