/openbmc/qemu/hw/ppc/ |
H A D | pegasos2.c | 653 qemu_fdt_setprop_cell(fi->fdt, fi->path, "#size-cells", 0); in dt_usb() 654 qemu_fdt_setprop_cell(fi->fdt, fi->path, "#address-cells", 1); in dt_usb() 663 qemu_fdt_setprop_cell(fi->fdt, fi->path, "#size-cells", 1); in dt_isa() 664 qemu_fdt_setprop_cell(fi->fdt, fi->path, "#address-cells", 2); in dt_isa() 671 qemu_fdt_setprop_cell(fi->fdt, name->str, "clock-frequency", 0); in dt_isa() 685 qemu_fdt_setprop_cell(fi->fdt, name->str, "clock-frequency", 0); in dt_isa() 699 qemu_fdt_setprop_cell(fi->fdt, name->str, "clock-frequency", 0); in dt_isa() 710 qemu_fdt_setprop_cell(fi->fdt, name->str, "clock-frequency", 0); in dt_isa() 737 qemu_fdt_setprop_cell(fi->fdt, name->str, "#interrupt-cells", 2); in dt_isa() 738 qemu_fdt_setprop_cell(fi->fdt, name->str, "#size-cells", 0); in dt_isa() [all …]
|
H A D | e500.c | 132 qemu_fdt_setprop_cell(fdt, ser, "cell-index", idx); in dt_serial_create() 133 qemu_fdt_setprop_cell(fdt, ser, "clock-frequency", PLATFORM_CLK_FREQ_HZ); in dt_serial_create() 167 qemu_fdt_setprop_cell(fdt, node, "phandle", gpio_ph); in create_dt_mpc8xxx_gpio() 168 qemu_fdt_setprop_cell(fdt, node, "linux,phandle", gpio_ph); in create_dt_mpc8xxx_gpio() 206 qemu_fdt_setprop_cell(fdt, i2c, "#size-cells", 0); in dt_i2c_create() 207 qemu_fdt_setprop_cell(fdt, i2c, "#address-cells", 1); in dt_i2c_create() 317 qemu_fdt_setprop_cell(fdt, name, "bank-width", bank_width); in create_devtree_flash() 432 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 2); in ppce500_load_device_tree() 433 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 2); in ppce500_load_device_tree() 442 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in ppce500_load_device_tree() [all …]
|
H A D | sam460ex.c | 166 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", initrd_base); in sam460ex_load_device_tree() 168 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in sam460ex_load_device_tree() 182 qemu_fdt_setprop_cell(fdt, "/cpus/cpu@0", "clock-frequency", in sam460ex_load_device_tree() 184 qemu_fdt_setprop_cell(fdt, "/cpus/cpu@0", "timebase-frequency", in sam460ex_load_device_tree() 201 qemu_fdt_setprop_cell(fdt, "/plb", "clock-frequency", in sam460ex_load_device_tree() 203 qemu_fdt_setprop_cell(fdt, "/plb/opb", "clock-frequency", in sam460ex_load_device_tree() 205 qemu_fdt_setprop_cell(fdt, "/plb/opb/ebc", "clock-frequency", in sam460ex_load_device_tree()
|
H A D | ppc440_bamboo.c | 84 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in bamboo_load_device_tree() 89 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in bamboo_load_device_tree() 100 qemu_fdt_setprop_cell(fdt, "/cpus/cpu@0", "clock-frequency", in bamboo_load_device_tree() 102 qemu_fdt_setprop_cell(fdt, "/cpus/cpu@0", "timebase-frequency", in bamboo_load_device_tree()
|
H A D | virtex_ml507.c | 160 r = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in xilinx_load_device_tree() 166 r = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in xilinx_load_device_tree()
|
/openbmc/qemu/hw/riscv/ |
H A D | sifive_u.c | 123 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x2); in create_fdt() 124 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x2); in create_fdt() 129 qemu_fdt_setprop_cell(fdt, "/soc", "#size-cells", 0x2); in create_fdt() 130 qemu_fdt_setprop_cell(fdt, "/soc", "#address-cells", 0x2); in create_fdt() 135 qemu_fdt_setprop_cell(fdt, nodename, "phandle", hfclk_phandle); in create_fdt() 137 qemu_fdt_setprop_cell(fdt, nodename, "clock-frequency", in create_fdt() 140 qemu_fdt_setprop_cell(fdt, nodename, "#clock-cells", 0x0); in create_fdt() 146 qemu_fdt_setprop_cell(fdt, nodename, "phandle", rtcclk_phandle); in create_fdt() 148 qemu_fdt_setprop_cell(fdt, nodename, "clock-frequency", in create_fdt() 151 qemu_fdt_setprop_cell(fdt, nodename, "#clock-cells", 0x0); in create_fdt() [all …]
|
H A D | virt.c | 253 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cbom-block-size", in create_fdt_socket_cpus() 258 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cboz-block-size", in create_fdt_socket_cpus() 263 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cbop-block-size", in create_fdt_socket_cpus() 269 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "reg", in create_fdt_socket_cpus() 273 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "phandle", cpu_phandle); in create_fdt_socket_cpus() 279 qemu_fdt_setprop_cell(ms->fdt, intc_name, "phandle", in create_fdt_socket_cpus() 284 qemu_fdt_setprop_cell(ms->fdt, intc_name, "#interrupt-cells", 1); in create_fdt_socket_cpus() 288 qemu_fdt_setprop_cell(ms->fdt, core_name, "cpu", cpu_phandle); in create_fdt_socket_cpus() 382 qemu_fdt_setprop_cell(ms->fdt, name, "#interrupt-cells", 0); in create_fdt_socket_aclint() 422 qemu_fdt_setprop_cell(ms->fdt, name, "#interrupt-cells", 0); in create_fdt_socket_aclint() [all …]
|
H A D | spike.c | 76 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x2); in create_fdt() 77 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x2); in create_fdt() 89 qemu_fdt_setprop_cell(fdt, "/soc", "#size-cells", 0x2); in create_fdt() 90 qemu_fdt_setprop_cell(fdt, "/soc", "#address-cells", 0x2); in create_fdt() 93 qemu_fdt_setprop_cell(fdt, "/cpus", "timebase-frequency", in create_fdt() 95 qemu_fdt_setprop_cell(fdt, "/cpus", "#size-cells", 0x0); in create_fdt() 96 qemu_fdt_setprop_cell(fdt, "/cpus", "#address-cells", 0x1); in create_fdt() 119 qemu_fdt_setprop_cell(fdt, cpu_name, "reg", in create_fdt() 123 qemu_fdt_setprop_cell(fdt, cpu_name, "phandle", cpu_phandle); in create_fdt() 128 qemu_fdt_setprop_cell(fdt, intc_name, "phandle", intc_phandle); in create_fdt() [all …]
|
H A D | numa.c | 163 qemu_fdt_setprop_cell(ms->fdt, node_name, "numa-node-id", socket_id); in riscv_socket_fdt_write_id()
|
/openbmc/qemu/hw/openrisc/ |
H A D | virt.c | 143 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x1); in openrisc_create_fdt() 144 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x1); in openrisc_create_fdt() 149 qemu_fdt_setprop_cell(fdt, "/soc", "#address-cells", 0x1); in openrisc_create_fdt() 150 qemu_fdt_setprop_cell(fdt, "/soc", "#size-cells", 0x1); in openrisc_create_fdt() 161 qemu_fdt_setprop_cell(fdt, "/cpus", "#size-cells", 0x0); in openrisc_create_fdt() 162 qemu_fdt_setprop_cell(fdt, "/cpus", "#address-cells", 0x1); in openrisc_create_fdt() 169 qemu_fdt_setprop_cell(fdt, nodename, "reg", cpu); in openrisc_create_fdt() 170 qemu_fdt_setprop_cell(fdt, nodename, "clock-frequency", in openrisc_create_fdt() 180 qemu_fdt_setprop_cell(fdt, nodename, "#interrupt-cells", 1); in openrisc_create_fdt() 182 qemu_fdt_setprop_cell(fdt, nodename, "phandle", *pic_phandle); in openrisc_create_fdt() [all …]
|
H A D | openrisc_sim.c | 125 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x1); in openrisc_create_fdt() 126 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x1); in openrisc_create_fdt() 137 qemu_fdt_setprop_cell(fdt, "/cpus", "#size-cells", 0x0); in openrisc_create_fdt() 138 qemu_fdt_setprop_cell(fdt, "/cpus", "#address-cells", 0x1); in openrisc_create_fdt() 145 qemu_fdt_setprop_cell(fdt, nodename, "reg", cpu); in openrisc_create_fdt() 146 qemu_fdt_setprop_cell(fdt, nodename, "clock-frequency", in openrisc_create_fdt() 156 qemu_fdt_setprop_cell(fdt, nodename, "#interrupt-cells", 1); in openrisc_create_fdt() 158 qemu_fdt_setprop_cell(fdt, nodename, "phandle", pic_ph); in openrisc_create_fdt() 160 qemu_fdt_setprop_cell(fdt, "/", "interrupt-parent", pic_ph); in openrisc_create_fdt() 207 qemu_fdt_setprop_cell(fdt, nodename, "interrupts", irq_pin); in openrisc_sim_net_init() [all …]
|
H A D | boot.c | 84 qemu_fdt_setprop_cell(fdt, "/chosen", in openrisc_load_initrd() 86 qemu_fdt_setprop_cell(fdt, "/chosen", in openrisc_load_initrd()
|
/openbmc/qemu/hw/mips/ |
H A D | boston.c | 474 qemu_fdt_setprop_cell(fdt, name, "#address-cells", 3); in fdt_create_pcie() 475 qemu_fdt_setprop_cell(fdt, name, "#size-cells", 2); in fdt_create_pcie() 476 qemu_fdt_setprop_cell(fdt, name, "#interrupt-cells", 1); in fdt_create_pcie() 478 qemu_fdt_setprop_cell(fdt, name, "interrupt-parent", gic_ph); in fdt_create_pcie() 491 qemu_fdt_setprop_cell(fdt, intc_name, "#address-cells", 0); in fdt_create_pcie() 492 qemu_fdt_setprop_cell(fdt, intc_name, "#interrupt-cells", 1); in fdt_create_pcie() 493 qemu_fdt_setprop_cell(fdt, intc_name, "phandle", intc_ph); in fdt_create_pcie() 537 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x1); in create_fdt() 538 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x1); in create_fdt() 542 qemu_fdt_setprop_cell(fdt, "/cpus", "#size-cells", 0x0); in create_fdt() [all …]
|
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 147 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", *cpuintc_phandle); in fdt_add_cpuic_node() 151 qemu_fdt_setprop_cell(ms->fdt, nodename, "#interrupt-cells", 1); in fdt_add_cpuic_node() 167 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", *eiointc_phandle); in fdt_add_eiointc_node() 171 qemu_fdt_setprop_cell(ms->fdt, nodename, "#interrupt-cells", 1); in fdt_add_eiointc_node() 172 qemu_fdt_setprop_cell(ms->fdt, nodename, "interrupt-parent", in fdt_add_eiointc_node() 174 qemu_fdt_setprop_cell(ms->fdt, nodename, "interrupts", 3); in fdt_add_eiointc_node() 192 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", *pch_pic_phandle); in fdt_add_pch_pic_node() 198 qemu_fdt_setprop_cell(ms->fdt, nodename, "#interrupt-cells", 2); in fdt_add_pch_pic_node() 199 qemu_fdt_setprop_cell(ms->fdt, nodename, "interrupt-parent", in fdt_add_pch_pic_node() 201 qemu_fdt_setprop_cell(ms->fdt, nodename, "loongson,pic-base-vec", 0); in fdt_add_pch_pic_node() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal-virt.c | 81 qemu_fdt_setprop_cell(s->fdt, "/", "interrupt-parent", s->phandle.gic); in fdt_create() 82 qemu_fdt_setprop_cell(s->fdt, "/", "#size-cells", 0x2); in fdt_create() 83 qemu_fdt_setprop_cell(s->fdt, "/", "#address-cells", 0x2); in fdt_create() 92 qemu_fdt_setprop_cell(s->fdt, name, "phandle", phandle); in fdt_add_clk_node() 93 qemu_fdt_setprop_cell(s->fdt, name, "clock-frequency", freq_hz); in fdt_add_clk_node() 94 qemu_fdt_setprop_cell(s->fdt, name, "#clock-cells", 0x0); in fdt_add_clk_node() 104 qemu_fdt_setprop_cell(s->fdt, "/cpus", "#size-cells", 0x0); in fdt_add_cpu_nodes() 105 qemu_fdt_setprop_cell(s->fdt, "/cpus", "#address-cells", 1); in fdt_add_cpu_nodes() 112 qemu_fdt_setprop_cell(s->fdt, name, "reg", in fdt_add_cpu_nodes() 130 qemu_fdt_setprop_cell(s->fdt, nodename, "phandle", s->phandle.gic); in fdt_add_gic_nodes() [all …]
|
H A D | sbsa-ref.c | 204 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x2); in create_fdt() 205 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x2); in create_fdt() 218 qemu_fdt_setprop_cell(fdt, "/", "machine-version-major", 0); in create_fdt() 219 qemu_fdt_setprop_cell(fdt, "/", "machine-version-minor", 4); in create_fdt() 256 qemu_fdt_setprop_cell(sms->fdt, "/cpus", "#address-cells", 2); in create_fdt() 257 qemu_fdt_setprop_cell(sms->fdt, "/cpus", "#size-cells", 0x0); in create_fdt() 269 qemu_fdt_setprop_cell(sms->fdt, nodename, "numa-node-id", in create_fdt() 279 qemu_fdt_setprop_cell(sms->fdt, "/cpus/topology", "sockets", ms->smp.sockets); in create_fdt() 280 qemu_fdt_setprop_cell(sms->fdt, "/cpus/topology", "clusters", ms->smp.clusters); in create_fdt() 281 qemu_fdt_setprop_cell(sms->fdt, "/cpus/topology", "cores", ms->smp.cores); in create_fdt() [all …]
|
H A D | virt.c | 275 qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x2); in create_fdt() 276 qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x2); in create_fdt() 313 qemu_fdt_setprop_cell(fdt, "/apb-pclk", "#clock-cells", 0x0); in create_fdt() 314 qemu_fdt_setprop_cell(fdt, "/apb-pclk", "clock-frequency", 24000000); in create_fdt() 317 qemu_fdt_setprop_cell(fdt, "/apb-pclk", "phandle", vms->clock_phandle); in create_fdt() 446 qemu_fdt_setprop_cell(ms->fdt, "/cpus", "#address-cells", addr_cells); in fdt_add_cpu_nodes() 447 qemu_fdt_setprop_cell(ms->fdt, "/cpus", "#size-cells", 0x0); in fdt_add_cpu_nodes() 468 qemu_fdt_setprop_cell(ms->fdt, nodename, "reg", in fdt_add_cpu_nodes() 473 qemu_fdt_setprop_cell(ms->fdt, nodename, "numa-node-id", in fdt_add_cpu_nodes() 478 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", in fdt_add_cpu_nodes() [all …]
|
H A D | boot.c | 427 ret = qemu_fdt_setprop_cell(fdt, nodename, in fdt_add_memory_node() 508 qemu_fdt_setprop_cell(fdt, "/psci", "cpu_suspend", cpu_suspend_fn); in fdt_add_psci_node() 509 qemu_fdt_setprop_cell(fdt, "/psci", "cpu_off", cpu_off_fn); in fdt_add_psci_node() 510 qemu_fdt_setprop_cell(fdt, "/psci", "cpu_on", cpu_on_fn); in fdt_add_psci_node() 511 qemu_fdt_setprop_cell(fdt, "/psci", "migrate", migrate_fn); in fdt_add_psci_node()
|
/openbmc/qemu/hw/i386/ |
H A D | microvm-dt.c | 58 qemu_fdt_setprop_cell(mms->fdt, nodename, "interrupt-parent", in dt_add_microvm_irq() 116 qemu_fdt_setprop_cell(mms->fdt, nodename, "#address-cells", 3); in dt_add_pcie() 117 qemu_fdt_setprop_cell(mms->fdt, nodename, "#size-cells", 2); in dt_add_pcie() 118 qemu_fdt_setprop_cell(mms->fdt, nodename, "linux,pci-domain", 0); in dt_add_pcie() 175 qemu_fdt_setprop_cell(mms->fdt, nodename, "#interrupt-cells", 0x2); in dt_add_ioapic() 176 qemu_fdt_setprop_cell(mms->fdt, nodename, "#address-cells", 0x2); in dt_add_ioapic() 181 qemu_fdt_setprop_cell(mms->fdt, nodename, "phandle", ph); in dt_add_ioapic() 182 qemu_fdt_setprop_cell(mms->fdt, nodename, "linux,phandle", ph); in dt_add_ioapic() 326 qemu_fdt_setprop_cell(mms->fdt, "/", "#address-cells", 0x2); in dt_setup_microvm() 327 qemu_fdt_setprop_cell(mms->fdt, "/", "#size-cells", 0x2); in dt_setup_microvm()
|
/openbmc/qemu/hw/microblaze/ |
H A D | boot.c | 100 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in microblaze_load_dtb() 103 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in microblaze_load_dtb()
|
/openbmc/qemu/include/sysemu/ |
H A D | device_tree.h | 67 int qemu_fdt_setprop_cell(void *fdt, const char *node_path,
|
/openbmc/qemu/system/ |
H A D | device_tree.c | 369 int qemu_fdt_setprop_cell(void *fdt, const char *node_path, in qemu_fdt_setprop_cell() function 488 return qemu_fdt_setprop_cell(fdt, node_path, property, phandle); in qemu_fdt_setprop_phandle()
|
/openbmc/qemu/hw/core/ |
H A D | sysbus-fdt.c | 178 qemu_fdt_setprop_cell(guest_fdt, nodename, "phandle", guest_phandle); in fdt_build_clock_node()
|