/* Configure the internal clock of both SIO HS-UARTs, if they are enabled via FSP  */
int arch_cpu_init_dm(void)
/* Configure the internal clock of both SIO HS-UARTs, if they are enabled via FSP  */
int arch_cpu_init_dm(void)
{
	struct udevice *dev;
	void *base;
	int ret;
	int i;
	for (i = 0; i < 2; i++) {
		ret = dm_pci_bus_find_bdf(PCI_BDF(0, 0x1e, 3 + i), &dev);
		if (!ret) {
			base = dm_pci_map_bar(dev, PCI_BASE_ADDRESS_0,
					      PCI_REGION_MEM);
			hsuart_clock_set(base);
		}
	}
	return 0;
}