Lines Matching +full:ebu +full:- +full:xway
1 // SPDX-License-Identifier: GPL-2.0-only
25 #include "pci-lantiq.h"
88 bar11mask = (0x0ffffff0 & ~((1 << (fls(mem) - 1)) - 1)) | 8; in ltq_calc_bar11mask()
95 struct device_node *node = pdev->dev.of_node; in ltq_pci_startup()
101 clk_pci = clk_get(&pdev->dev, NULL); in ltq_pci_startup()
103 dev_err(&pdev->dev, "failed to get pci clock\n"); in ltq_pci_startup()
107 clk_external = clk_get(&pdev->dev, "external"); in ltq_pci_startup()
110 dev_err(&pdev->dev, "failed to get external pci clock\n"); in ltq_pci_startup()
115 bus_clk = of_get_property(node, "lantiq,bus-clock", NULL); in ltq_pci_startup()
121 if (of_property_read_bool(node, "lantiq,external-clock")) in ltq_pci_startup()
127 reset_gpio = devm_gpiod_get_optional(&pdev->dev, "reset", in ltq_pci_startup()
131 dev_err(&pdev->dev, "failed to request gpio: %d\n", error); in ltq_pci_startup()
136 /* enable auto-switching between PCI and EBU */ in ltq_pci_startup()
148 req_mask = of_get_property(node, "req-mask", NULL); in ltq_pci_startup()
158 /* enable EBU request */ in ltq_pci_startup()
219 pci_load_of_ranges(&pci_controller, pdev->dev.of_node); in ltq_pci_probe()
225 { .compatible = "lantiq,pci-xway" },
232 .name = "pci-xway",
241 pr_info("pci-xway: Error registering platform driver!"); in pcibios_init()