Searched refs:i2c_offset (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | pnv_i2c.c | 473 int i2c_offset; in pnv_i2c_dt_xscom() local 484 i2c_offset = fdt_add_subnode(fdt, offset, name); in pnv_i2c_dt_xscom() 485 _FDT(i2c_offset); in pnv_i2c_dt_xscom() 487 _FDT(fdt_setprop(fdt, i2c_offset, "reg", reg, sizeof(reg))); in pnv_i2c_dt_xscom() 489 _FDT((fdt_setprop_cell(fdt, i2c_offset, "#address-cells", 1))); in pnv_i2c_dt_xscom() 490 _FDT((fdt_setprop_cell(fdt, i2c_offset, "#size-cells", 0))); in pnv_i2c_dt_xscom() 491 _FDT(fdt_setprop(fdt, i2c_offset, "compatible", i2c_compat, in pnv_i2c_dt_xscom() 493 _FDT((fdt_setprop_cell(fdt, i2c_offset, "chip-engine#", i2c->engine))); in pnv_i2c_dt_xscom() 494 _FDT((fdt_setprop_cell(fdt, i2c_offset, "clock-frequency", in pnv_i2c_dt_xscom() 498 pnv_i2c_bus_dt_xscom(i2c, fdt, i2c_offset, i); in pnv_i2c_dt_xscom()
|