Lines Matching refs:ser
125 char *ser; in dt_serial_create() local
127 ser = g_strdup_printf("%s/serial@%llx", soc, offset); in dt_serial_create()
128 qemu_fdt_add_subnode(fdt, ser); in dt_serial_create()
129 qemu_fdt_setprop_string(fdt, ser, "device_type", "serial"); in dt_serial_create()
130 qemu_fdt_setprop_string(fdt, ser, "compatible", "ns16550"); in dt_serial_create()
131 qemu_fdt_setprop_cells(fdt, ser, "reg", offset, 0x100); in dt_serial_create()
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()
134 qemu_fdt_setprop_cells(fdt, ser, "interrupts", 42, 2); in dt_serial_create()
135 qemu_fdt_setprop_phandle(fdt, ser, "interrupt-parent", mpic); in dt_serial_create()
136 qemu_fdt_setprop_string(fdt, "/aliases", alias, ser); in dt_serial_create()
145 qemu_fdt_setprop_string(fdt, "/chosen", "linux,stdout-path", ser); in dt_serial_create()
146 qemu_fdt_setprop_string(fdt, "/chosen", "stdout-path", ser); in dt_serial_create()
148 g_free(ser); in dt_serial_create()