/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal-virt.c | 96 qemu_fdt_setprop(s->fdt, name, "u-boot,dm-pre-reloc", NULL, 0); in fdt_add_clk_node() 134 qemu_fdt_setprop(s->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_gic_nodes() 156 qemu_fdt_setprop(s->fdt, "/timer", "compatible", in fdt_add_timer_nodes() 169 qemu_fdt_setprop(s->fdt, name, "compatible", in fdt_add_usb_xhci_nodes() 174 qemu_fdt_setprop(s->fdt, name, "clock-names", in fdt_add_usb_xhci_nodes() 178 qemu_fdt_setprop(s->fdt, name, "ranges", NULL, 0); in fdt_add_usb_xhci_nodes() 187 qemu_fdt_setprop(s->fdt, name, "compatible", in fdt_add_usb_xhci_nodes() 191 qemu_fdt_setprop(s->fdt, name, "interrupt-names", in fdt_add_usb_xhci_nodes() 201 qemu_fdt_setprop(s->fdt, name, "snps,dis_u2_susphy_quirk", NULL, 0); in fdt_add_usb_xhci_nodes() 202 qemu_fdt_setprop(s->fdt, name, "snps,dis_u3_susphy_quirk", NULL, 0); in fdt_add_usb_xhci_nodes() [all …]
|
H A D | virt.c | 243 qemu_fdt_setprop(ms->fdt, node, "rng-seed", seed.rng, sizeof(seed.rng)); in create_randomness() 288 qemu_fdt_setprop(fdt, "/", "dma-coherent", NULL, 0); in create_fdt() 337 qemu_fdt_setprop(fdt, "/distance-map", "distance-matrix", in create_fdt() 383 qemu_fdt_setprop(ms->fdt, "/timer", "compatible", in fdt_add_timer_nodes() 389 qemu_fdt_setprop(ms->fdt, "/timer", "always-on", NULL, 0); in fdt_add_timer_nodes() 542 qemu_fdt_setprop(ms->fdt, nodename, "msi-controller", NULL, 0); in fdt_add_its_gic_node() 562 qemu_fdt_setprop(ms->fdt, nodename, "msi-controller", NULL, 0); in fdt_add_v2m_gic_node() 582 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_gic_node() 585 qemu_fdt_setprop(ms->fdt, nodename, "ranges", NULL, 0); in fdt_add_gic_node() 668 qemu_fdt_setprop(ms->fdt, "/pmu", "compatible", in fdt_add_pmu_nodes() [all …]
|
H A D | boot.c | 476 qemu_fdt_setprop(fdt, "/psci", "compatible", comp, sizeof(comp)); in fdt_add_psci_node() 479 qemu_fdt_setprop(fdt, "/psci", "compatible", comp, sizeof(comp)); in fdt_add_psci_node()
|
/openbmc/qemu/hw/ppc/ |
H A D | pegasos2.c | 418 qemu_fdt_setprop(fdt, "/chosen", "qemu,boot-kernel", d, sizeof(d)); in pegasos2_machine_reset() 674 qemu_fdt_setprop(fi->fdt, name->str, "interrupts", in dt_isa() 679 qemu_fdt_setprop(fi->fdt, name->str, "reg", cells, 3 * sizeof(cells[0])); in dt_isa() 688 qemu_fdt_setprop(fi->fdt, name->str, "interrupts", in dt_isa() 693 qemu_fdt_setprop(fi->fdt, name->str, "reg", cells, 3 * sizeof(cells[0])); in dt_isa() 703 qemu_fdt_setprop(fi->fdt, name->str, "reg", cells, 3 * sizeof(cells[0])); in dt_isa() 713 qemu_fdt_setprop(fi->fdt, name->str, "interrupts", in dt_isa() 718 qemu_fdt_setprop(fi->fdt, name->str, "reg", cells, 3 * sizeof(cells[0])); in dt_isa() 726 qemu_fdt_setprop(fi->fdt, name->str, "interrupts", in dt_isa() 731 qemu_fdt_setprop(fi->fdt, name->str, "reg", cells, 3 * sizeof(cells[0])); in dt_isa() [all …]
|
H A D | e500.c | 165 qemu_fdt_setprop(fdt, node, "gpio-controller", NULL, 0); in create_dt_mpc8xxx_gpio() 222 qemu_fdt_setprop(fdt, name, "sdhci,auto-cmd12", NULL, 0); in dt_sdhc_create() 256 qemu_fdt_setprop(fdt, node, "ranges", NULL, 0); in create_devtree_etsec() 260 qemu_fdt_setprop(fdt, node, "local-mac-address", etsec->conf.macaddr.a, 6); in create_devtree_etsec() 335 qemu_fdt_setprop(fdt, node, "compatible", platcomp, sizeof(platcomp)); in platform_bus_create_devtree() 437 qemu_fdt_setprop(fdt, "/memory", "reg", mem_reg_property, in ppce500_load_device_tree() 468 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in ppce500_load_device_tree() 480 qemu_fdt_setprop(fdt, "/hypervisor", "hcall-instructions", in ppce500_load_device_tree() 484 qemu_fdt_setprop(fdt, "/hypervisor", "has-idle", NULL, 0); in ppce500_load_device_tree() 536 qemu_fdt_setprop(fdt, soc, "compatible", compatible_sb, in ppce500_load_device_tree() [all …]
|
H A D | mpc8544ds.c | 25 qemu_fdt_setprop(fdt, "/", "model", model, sizeof(model)); in mpc8544ds_fixup_devtree() 26 qemu_fdt_setprop(fdt, "/", "compatible", compatible, in mpc8544ds_fixup_devtree()
|
H A D | e500plat.c | 28 qemu_fdt_setprop(fdt, "/", "model", model, sizeof(model)); in e500plat_fixup_devtree() 29 qemu_fdt_setprop(fdt, "/", "compatible", compatible, in e500plat_fixup_devtree()
|
H A D | ppc440_bamboo.c | 79 ret = qemu_fdt_setprop(fdt, "/memory", "reg", mem_reg_property, in bamboo_load_device_tree()
|
H A D | sam460ex.c | 160 qemu_fdt_setprop(fdt, "/memory", "reg", mem_reg_property, in sam460ex_load_device_tree()
|
/openbmc/qemu/hw/core/ |
H A D | sysbus-fdt.c | 98 qemu_fdt_setprop(guest_fdt, nodename, in copy_properties_from_host() 232 qemu_fdt_setprop(fdt, nodename, "compatible", in add_calxeda_midway_xgmac_fdt_node() 235 qemu_fdt_setprop(fdt, nodename, "dma-coherent", "", 0); in add_calxeda_midway_xgmac_fdt_node() 244 qemu_fdt_setprop(fdt, nodename, "reg", reg_attr, in add_calxeda_midway_xgmac_fdt_node() 255 qemu_fdt_setprop(fdt, nodename, "interrupts", in add_calxeda_midway_xgmac_fdt_node() 382 qemu_fdt_setprop(guest_fdt, nodename, "reg", reg_attr, in add_amd_xgbe_fdt_node() 407 qemu_fdt_setprop(guest_fdt, nodename, "interrupts", in add_amd_xgbe_fdt_node() 467 qemu_fdt_setprop(fdt, nodename, "reg", reg_attr, 2 * sizeof(uint32_t)); in add_tpm_tis_fdt_node() 547 qemu_fdt_setprop(fdt, node, "compatible", platcomp, sizeof(platcomp)); in platform_bus_add_all_fdt_nodes()
|
H A D | guest-loader.c | 56 qemu_fdt_setprop(fdt, node, "reg", ®_attr, sizeof(reg_attr)); in loader_insert_platform_data()
|
/openbmc/qemu/hw/i386/ |
H A D | microvm-dt.c | 83 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_virtio() 98 qemu_fdt_setprop(mms->fdt, nodename, "compatible", compat, sizeof(compat)); in dt_add_xhci() 100 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_xhci() 119 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_pcie() 174 qemu_fdt_setprop(mms->fdt, nodename, "interrupt-controller", NULL, 0); in dt_add_ioapic() 198 qemu_fdt_setprop(mms->fdt, nodename, "compatible", compat, sizeof(compat)); in dt_add_isa_serial() 219 qemu_fdt_setprop(mms->fdt, nodename, "compatible", compat, sizeof(compat)); in dt_add_isa_rtc()
|
/openbmc/qemu/hw/openrisc/ |
H A D | virt.c | 147 qemu_fdt_setprop(fdt, "/soc", "ranges", NULL, 0); in openrisc_create_fdt() 181 qemu_fdt_setprop(fdt, nodename, "interrupt-controller", NULL, 0); in openrisc_create_fdt() 193 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in openrisc_create_fdt() 224 qemu_fdt_setprop(fdt, nodename, "interrupt-controller", NULL, 0); in openrisc_virt_ompic_init() 248 qemu_fdt_setprop(fdt, nodename, "big-endian", NULL, 0); in openrisc_virt_serial_init() 273 qemu_fdt_setprop(fdt, nodename, "big-endian", NULL, 0); in openrisc_virt_test_init() 359 qemu_fdt_setprop(fdt, nodename, "interrupt-map", full_irq_map, in create_pcie_irq_map() 430 qemu_fdt_setprop(fdt, nodename, "dma-coherent", NULL, 0); in openrisc_virt_pcie_init()
|
H A D | openrisc_sim.c | 157 qemu_fdt_setprop(fdt, nodename, "interrupt-controller", NULL, 0); in openrisc_create_fdt() 208 qemu_fdt_setprop(fdt, nodename, "big-endian", NULL, 0); in openrisc_sim_net_init() 239 qemu_fdt_setprop(fdt, nodename, "interrupt-controller", NULL, 0); in openrisc_sim_ompic_init() 278 qemu_fdt_setprop(fdt, nodename, "big-endian", NULL, 0); in openrisc_sim_serial_init()
|
/openbmc/qemu/hw/riscv/ |
H A D | virt.c | 212 qemu_fdt_setprop(fdt, nodename, "interrupt-map", full_irq_map, in create_pcie_irq_map() 283 qemu_fdt_setprop(ms->fdt, intc_name, "interrupt-controller", NULL, 0); in create_fdt_socket_cpus() 339 qemu_fdt_setprop(ms->fdt, clint_name, "interrupts-extended", in create_fdt_socket_clint() 379 qemu_fdt_setprop(ms->fdt, name, "interrupts-extended", in create_fdt_socket_aclint() 381 qemu_fdt_setprop(ms->fdt, name, "interrupt-controller", NULL, 0); in create_fdt_socket_aclint() 405 qemu_fdt_setprop(ms->fdt, name, "interrupts-extended", in create_fdt_socket_aclint() 419 qemu_fdt_setprop(ms->fdt, name, "interrupts-extended", in create_fdt_socket_aclint() 421 qemu_fdt_setprop(ms->fdt, name, "interrupt-controller", NULL, 0); in create_fdt_socket_aclint() 453 qemu_fdt_setprop(ms->fdt, plic_name, "interrupt-controller", NULL, 0); in create_fdt_socket_plic() 463 qemu_fdt_setprop(ms->fdt, plic_name, "interrupts-extended", in create_fdt_socket_plic() [all …]
|
H A D | sifive_u.c | 127 qemu_fdt_setprop(fdt, "/soc", "ranges", NULL, 0); in create_fdt() 192 qemu_fdt_setprop(fdt, intc, "interrupt-controller", NULL, 0); in create_fdt() 217 qemu_fdt_setprop(fdt, nodename, "interrupts-extended", in create_fdt() 272 qemu_fdt_setprop(fdt, nodename, "interrupt-controller", NULL, 0); in create_fdt() 273 qemu_fdt_setprop(fdt, nodename, "interrupts-extended", in create_fdt() 293 qemu_fdt_setprop(fdt, nodename, "interrupt-controller", NULL, 0); in create_fdt() 295 qemu_fdt_setprop(fdt, nodename, "gpio-controller", NULL, 0); in create_fdt() 340 qemu_fdt_setprop(fdt, nodename, "cache-unified", NULL, 0); in create_fdt() 367 qemu_fdt_setprop(fdt, nodename, "disable-wp", NULL, 0); in create_fdt() 394 qemu_fdt_setprop(fdt, nodename, "m25p,fast-read", NULL, 0); in create_fdt() [all …]
|
H A D | spike.c | 87 qemu_fdt_setprop(fdt, "/soc", "ranges", NULL, 0); in create_fdt() 131 qemu_fdt_setprop(fdt, intc_name, "interrupt-controller", NULL, 0); in create_fdt() 166 qemu_fdt_setprop(fdt, clint_name, "interrupts-extended", in create_fdt()
|
H A D | numa.c | 191 qemu_fdt_setprop(ms->fdt, "/distance-map", "distance-matrix", in riscv_socket_fdt_write_distance_matrix()
|
/openbmc/qemu/include/sysemu/ |
H A D | device_tree.h | 65 int qemu_fdt_setprop(void *fdt, const char *node_path, 132 qemu_fdt_setprop(fdt, node_path, property, qdt_tmp, \
|
/openbmc/qemu/system/ |
H A D | device_tree.c | 191 qemu_fdt_setprop(fdt, parent_node, in read_fstree() 194 qemu_fdt_setprop(fdt, "/", de->d_name, val, len); in read_fstree() 354 int qemu_fdt_setprop(void *fdt, const char *node_path, in qemu_fdt_setprop() function 388 return qemu_fdt_setprop(fdt, node_path, property, &val, sizeof(val)); in qemu_fdt_setprop_u64() 426 ret = qemu_fdt_setprop(fdt, node_path, prop, str, total_len); in qemu_fdt_setprop_string_array() 644 ret = qemu_fdt_setprop(fdt, node_path, property, propcells, in qemu_fdt_setprop_sized_cells_from_array()
|
/openbmc/qemu/hw/mips/ |
H A D | boston.c | 380 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in boston_fdt_filter() 490 qemu_fdt_setprop(fdt, intc_name, "interrupt-controller", NULL, 0); in fdt_create_pcie() 506 qemu_fdt_setprop(fdt, name, "interrupt-map", in fdt_create_pcie() 557 qemu_fdt_setprop(fdt, "/soc", "ranges", NULL, 0); in create_fdt() 581 qemu_fdt_setprop(fdt, gic_name, "interrupt-controller", NULL, 0); in create_fdt()
|
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 150 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_cpuic_node() 170 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_eiointc_node() 197 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_pch_pic_node() 223 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_pch_msi_node() 362 qemu_fdt_setprop(ms->fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in create_fdt() 434 qemu_fdt_setprop(ms->fdt, nodename, "dma-coherent", NULL, 0); in fdt_add_fw_cfg_node() 484 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-map", full_irq_map, in fdt_add_pcie_irq_map_node() 516 qemu_fdt_setprop(ms->fdt, nodename, "dma-coherent", NULL, 0); in fdt_add_pcie_node()
|
/openbmc/qemu/hw/rx/ |
H A D | rx-gdbsim.c | 148 qemu_fdt_setprop(dtb, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in rx_gdbsim_init()
|
/openbmc/qemu/hw/microblaze/ |
H A D | boot.c | 89 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in microblaze_load_dtb()
|
/openbmc/qemu/target/riscv/ |
H A D | pmu.c | 78 qemu_fdt_setprop(fdt, pmu_name, "riscv,event-to-mhpmcounters", in riscv_pmu_generate_fdt_node()
|