Lines Matching +full:serial +full:- +full:clk +full:- +full:low

1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/dma-mapping.h>
13 #include <linux/serial.h>
24 #include <linux/clk.h>
27 #include <asm/mach-ar7/ar7.h>
28 #include <asm/mach-ar7/prom.h>
42 struct plat_vlynq_data *pdata = dev->dev.platform_data; in vlynq_on()
44 ret = gpio_request(pdata->gpio_bit, "vlynq"); in vlynq_on()
48 ar7_device_reset(pdata->reset_bit); in vlynq_on()
50 ret = ar7_gpio_disable(pdata->gpio_bit); in vlynq_on()
54 ret = ar7_gpio_enable(pdata->gpio_bit); in vlynq_on()
58 ret = gpio_direction_output(pdata->gpio_bit, 0); in vlynq_on()
64 gpio_set_value(pdata->gpio_bit, 1); in vlynq_on()
71 ar7_gpio_disable(pdata->gpio_bit); in vlynq_on()
73 ar7_device_disable(pdata->reset_bit); in vlynq_on()
74 gpio_free(pdata->gpio_bit); in vlynq_on()
81 struct plat_vlynq_data *pdata = dev->dev.platform_data; in vlynq_off()
83 ar7_gpio_disable(pdata->gpio_bit); in vlynq_off()
84 gpio_free(pdata->gpio_bit); in vlynq_off()
85 ar7_device_disable(pdata->reset_bit); in vlynq_off()
198 .name = "physmap-flash",
392 .default_trigger = "default-on",
474 .default_trigger = "default-on",
486 .name = "leds-gpio",
515 && usb_prod != NULL && strstr(usb_prod, "DSL-502T")) { in detect_leds()
536 .start = -1, /* Filled at runtime */
537 .end = -1, /* Filled at runtime */
553 struct clk *bus_clk; in ar7_register_uarts()
560 panic("unable to get bus clk"); in ar7_register_uarts()
577 /* Only TNETD73xx have a second serial port */ in ar7_register_uarts()
654 pr_warn("unable to register physmap-flash: %d\n", res); in ar7_register_devices()
662 pr_warn("unable to register vlynq-low: %d\n", res); in ar7_register_devices()
668 pr_warn("unable to register vlynq-high: %d\n", res); in ar7_register_devices()
679 pr_warn("unable to register cpmac-high: %d\n", in ar7_register_devices()
682 pr_warn("unable to add cpmac-high phy: %d\n", res); in ar7_register_devices()
691 pr_warn("unable to register cpmac-low: %d\n", res); in ar7_register_devices()
693 pr_warn("unable to add cpmac-low phy: %d\n", res); in ar7_register_devices()