Home
last modified time | relevance | path

Searched +full:ar9330 +full:- +full:uart (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/serial/
H A Dqca,ar9330-uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/qca,ar9330-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Atheros AR9330 High-Speed UART
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 - $ref: /schemas/serial.yaml#
17 const: qca,ar9330-uart
28 clock-names:
29 const: uart
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/serial/
H A Dqca,ar9330-uart.txt1 * Qualcomm Atheros AR9330 High-Speed UART
5 - compatible: Must be "qca,ar9330-uart"
7 - reg: Specifies the physical base address of the controller and
12 Each UART port must have an alias correctly numbered in "aliases"
21 uart0: uart@18020000 {
22 compatible = "qca,ar9330-uart";
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/qca/
H A Dar9331.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ath79-clk.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
11 #address-cells = <1>;
12 #size-cells = <0>;
22 cpuintc: interrupt-controller {
23 compatible = "qca,ar7100-cpu-intc";
25 interrupt-controller;
26 #interrupt-cells = <1>;
[all …]
/OK3568_Linux_fs/u-boot/arch/mips/dts/
H A Dar933x.dtsi2 * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
4 * SPDX-License-Identifier: GPL-2.0+
7 #include <dt-bindings/interrupt-controller/irq.h>
13 #address-cells = <1>;
14 #size-cells = <1>;
17 #address-cells = <1>;
18 #size-cells = <0>;
28 #address-cells = <1>;
29 #size-cells = <1>;
33 #clock-cells = <0>;
[all …]
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial_ar933x.c2 * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
4 * SPDX-License-Identifier: GPL-2.0+
80 diff = abs(baudrate - baud); in ar933x_serial_get_scale_step()
101 writel(val, priv->regs + AR933X_UART_CLK_REG); in ar933x_serial_setbrg()
111 data = readl(priv->regs + AR933X_UART_DATA_REG); in ar933x_serial_putc()
113 return -EAGAIN; in ar933x_serial_putc()
116 writel(data, priv->regs + AR933X_UART_DATA_REG); in ar933x_serial_putc()
126 data = readl(priv->regs + AR933X_UART_DATA_REG); in ar933x_serial_getc()
128 return -EAGAIN; in ar933x_serial_getc()
130 writel(AR933X_UART_DATA_RX_CSR, priv->regs + AR933X_UART_DATA_REG); in ar933x_serial_getc()
[all …]
H A DKconfig11 Select a default baudrate, where "default" has a driver-specific
12 meaning of either setting the baudrate for the early debug UART
19 # non-dm serial code
32 In very space-constrained devices even the full UART driver is too
33 large. In this case the debug UART can still be used in some cases.
34 This option enables the full UART in U-Boot, so if is it disabled,
35 the full UART driver will be omitted, thus saving space.
42 In very space-constrained devices even the full UART driver is too
43 large. In this case the debug UART can still be used in some cases.
44 This option enables the full UART in SPL, so if is it disabled,
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dar933x_uart.c1 // SPDX-License-Identifier: GPL-2.0
3 * Atheros AR933X SoC built-in UART driver
31 #include <asm/mach-ath79/ar933x_uart.h>
35 #define DRIVER_NAME "ar933x-uart"
60 return readl(up->port.membase + offset); in ar933x_uart_read()
66 writel(value, up->port.membase + offset); in ar933x_uart_write()
98 up->ier |= AR933X_UART_INT_TX_EMPTY; in ar933x_uart_start_tx_interrupt()
99 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_start_tx_interrupt()
104 up->ier &= ~AR933X_UART_INT_TX_EMPTY; in ar933x_uart_stop_tx_interrupt()
105 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_stop_tx_interrupt()
[all …]
/OK3568_Linux_fs/buildroot/dl/uboot-tools/
HDu-boot-2021.07.tar.bz2 ... -boot-2021.07/.readthedocs.yml u-boot-2021.07/Kbuild u-boot-2021.07 ...