static int __devinit ltq_pci_startup(struct platform_device *pdev)
{
struct device_node *node = pdev->dev.of_node;
- const __be32 *req_mask, *bus_clk;
+ const __be32 *req_mask, *bus_clk, *delay;
u32 temp_buffer;
/* get our clocks */
else
clk_disable(clk_external);
+ /* pci ckl delay is a 6 bit value */
+ delay = of_get_property(node, "lantiq,delay", NULL);
+ if (delay)
+ ltq_pci_set_delay(*delay);
+
/* setup reset gpio used by pci */
reset_gpio = of_get_named_gpio(node, "gpio-reset", 0);
if (gpio_is_valid(reset_gpio))