Lines Matching +full:uart +full:- +full:16550 +full:- +full:compatible
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2011-2016 Zhang, Keguang <keguang.zhang@gmail.com>
7 #include <linux/dma-mapping.h>
22 /* 8250/16550 compatible UART */
53 clk = clk_get(&pdev->dev, pdev->name); in ls1x_serial_set_uartclk()
56 pdev->name, PTR_ERR(clk)); in ls1x_serial_set_uartclk()
61 for (p = pdev->dev.platform_data; p->flags != 0; ++p) in ls1x_serial_set_uartclk()
62 p->uartclk = clk_get_rate(clk); in ls1x_serial_set_uartclk()
74 .name = "ls1x-cpufreq",
97 plat_dat = dev_get_platdata(&pdev->dev); in ls1x_eth_mux_init()
98 if (plat_dat->bus_id) { in ls1x_eth_mux_init()
101 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init()
110 plat_dat->phy_interface); in ls1x_eth_mux_init()
111 return -ENOTSUPP; in ls1x_eth_mux_init()
115 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init()
124 plat_dat->phy_interface); in ls1x_eth_mux_init()
125 return -ENOTSUPP; in ls1x_eth_mux_init()
131 plat_dat = dev_get_platdata(&pdev->dev); in ls1x_eth_mux_init()
134 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) in ls1x_eth_mux_init()
147 .phy_addr = -1,
165 .end = LS1X_GMAC0_BASE + SZ_64K - 1,
188 .phy_addr = -1,
202 .end = LS1X_GMAC1_BASE + SZ_64K - 1,
227 .end = LS1X_GPIO0_BASE + SZ_4 - 1,
233 .name = "ls1x-gpio",
242 .end = LS1X_GPIO1_BASE + SZ_4 - 1,
248 .name = "ls1x-gpio",
260 .end = LS1X_EHCI_BASE + SZ_32K - 1,
273 .name = "ehci-platform",
274 .id = -1,
293 .name = "ls1x-rtc",
294 .id = -1,
301 .end = LS1X_WDT_BASE + SZ_16 - 1,
307 .name = "ls1x-wdt",
308 .id = -1,