[PATCH 4/4] hw/riscv/atlantis: Document QEMU-only I2C device tree nodes
Joel Stanley <[email protected]>
| Newsgroups | org.nongnu.qemu-riscv,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
The QEMU only I2C devices have a comment next to them, do the same for the corresponding device tree entries. Suggested-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Joel Stanley <[email protected]> --- hw/riscv/tt_atlantis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/riscv/tt_atlantis.c b/hw/riscv/tt_atlantis.c index d808bcc11c34..82f087c836da 100644 --- a/hw/riscv/tt_atlantis.c +++ b/hw/riscv/tt_atlantis.c @@ -356,6 +356,7 @@ static void finalize_fdt(TTAtlantisState *s) aplic_s_phandle, periph_clk_phandle); } + /* I2C peripherals: qemu specific */ create_fdt_i2c_device(s, 0, "dallas,ds1338", 0x6f); create_fdt_i2c_device(s, 4, "ti,tmp105", 0x48); } -- 2.47.3