Home
last modified time | relevance | path

Searched refs:uart (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/u-boot/board/astro/mcf5373l/
A Dmcf5373l.c94 uart_t *uart; in rs_serial_init() local
99 uart = (uart_t *)(MMAP_UART0); in rs_serial_init()
120 writeb(0, &uart->uimr); in rs_serial_init()
144 uart_t *uart; in astro_put_char() local
147 uart = (uart_t *)(MMAP_UART0); in astro_put_char()
157 writeb(ch, &uart->utb); in astro_put_char()
164 uart_t *uart; in astro_is_char() local
166 uart = (uart_t *)(MMAP_UART0); in astro_is_char()
172 uart_t *uart; in astro_get_char() local
174 uart = (uart_t *)(MMAP_UART0); in astro_get_char()
[all …]
/u-boot/drivers/serial/
A Dserial_mcf.c38 writeb(UART_UCR_RESET_RX, &uart->ucr); in mcf_serial_init_common()
39 writeb(UART_UCR_RESET_TX, &uart->ucr); in mcf_serial_init_common()
41 writeb(UART_UCR_RESET_MR, &uart->ucr); in mcf_serial_init_common()
44 writeb(0, &uart->uimr); in mcf_serial_init_common()
79 writeb(UART_UCR_RESET_RX, &uart->ucr); in mcf_serial_setbrg_common()
80 writeb(UART_UCR_RESET_TX, &uart->ucr); in mcf_serial_setbrg_common()
98 uart_t *uart = (uart_t *)plat->base; in coldfire_serial_putc() local
104 writeb(ch, &uart->utb); in coldfire_serial_putc()
112 uart_t *uart = (uart_t *)(plat->base); in coldfire_serial_getc() local
118 return readb(&uart->urb); in coldfire_serial_getc()
[all …]
A Dserial_s5p.c87 writel(0x3, &uart->ufcon); in s5p_serial_init()
88 writel(0, &uart->umcon); in s5p_serial_init()
90 writel(0x3, &uart->ulcon); in s5p_serial_init()
92 writel(0x245, &uart->ucon); in s5p_serial_init()
141 s5p_serial_init(uart); in s5p_serial_probe()
173 serial_err_check(uart, 0); in s5p_serial_getc()
189 writel(ch, &uart->utxh); in s5p_serial_putc()
191 writeb(ch, &uart->utxh); in s5p_serial_putc()
281 s5p_serial_init(uart); in _debug_uart_init()
295 writel(ch, &uart->utxh); in _debug_uart_putc()
[all …]
A Dserial_npcm.c48 struct npcm_uart *uart = plat->reg; in npcm_serial_pending() local
59 struct npcm_uart *uart = plat->reg; in npcm_serial_putc() local
64 writeb(ch, &uart->thr); in npcm_serial_putc()
72 struct npcm_uart *uart = plat->reg; in npcm_serial_getc() local
77 return readb(&uart->rbr); in npcm_serial_getc()
83 struct npcm_uart *uart = plat->reg; in npcm_serial_setbrg() local
89 setbits_8(&uart->lcr, LCR_DLAB); in npcm_serial_setbrg()
91 writeb(divisor >> 8, &uart->dlm); in npcm_serial_setbrg()
92 clrbits_8(&uart->lcr, LCR_DLAB); in npcm_serial_setbrg()
125 writeb(0, &uart->ier); in npcm_serial_probe()
[all …]
A Dserial_meson.c74 writel(val, &uart->reg5); in meson_serial_set_baud()
81 val = readl(&uart->control); in meson_serial_init()
83 writel(val, &uart->control); in meson_serial_init()
85 writel(val, &uart->control); in meson_serial_init()
87 writel(val, &uart->control); in meson_serial_init()
102 meson_serial_init(uart); in meson_serial_probe()
111 u32 val = readl(&uart->control); in meson_serial_rx_error()
115 writel(val, &uart->control); in meson_serial_rx_error()
117 writel(val, &uart->control); in meson_serial_rx_error()
120 readl(&uart->rfifo); in meson_serial_rx_error()
[all …]
A Dserial_sti_asc.c73 struct sti_asc_uart *const uart = priv->regs; in sti_asc_pending() local
76 status = readl(&uart->status); in sti_asc_pending()
111 val = readl(&uart->control); in _sti_asc_serial_setbrg()
112 writel(val & ~RUN, &uart->control); in _sti_asc_serial_setbrg()
115 writel(t, &uart->baudrate); in _sti_asc_serial_setbrg()
117 writel(1, &uart->txreset); in _sti_asc_serial_setbrg()
118 writel(1, &uart->rxreset); in _sti_asc_serial_setbrg()
125 writel(val, &uart->control); in _sti_asc_serial_setbrg()
134 struct sti_asc_uart *const uart = priv->regs; in sti_asc_serial_setbrg() local
149 return readl(&uart->rxbuf); in sti_asc_serial_getc()
[all …]
/u-boot/arch/arm/mach-uniphier/debug-uart/
A DMakefile4 obj-$(CONFIG_ARCH_UNIPHIER_LD4) += debug-uart-ld4.o
5 obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += debug-uart-pro4.o
6 obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += debug-uart-sld8.o
7 obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += debug-uart-pro5.o
8 obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += debug-uart-pxs2.o
9 obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += debug-uart-ld6b.o
12 obj-y += debug-uart.o
/u-boot/doc/device-tree-bindings/serial/
A Domap_serial.txt4 - compatible : should be "ti,omap2-uart" for OMAP2 controllers
5 - compatible : should be "ti,omap3-uart" for OMAP3 controllers
6 - compatible : should be "ti,omap4-uart" for OMAP4 controllers
7 - compatible : should be "ti,am4372-uart" for AM437x controllers
8 - compatible : should be "ti,am3352-uart" for AM335x controllers
9 - compatible : should be "ti,dra742-uart" for DRA7x controllers
11 - interrupts or interrupts-extended : Should contain the uart interrupt
15 - ti,hwmods : Must be "uart<n>", n being the instance number (1-based)
26 compatible = "ti,omap3-uart";
A Dmcf-uart.txt4 - compatible : should be "fsl,mcf-uart"
14 uart0: uart@fc060000 {
15 compatible = "fsl,mcf-uart";
A Dsnps-dw-apb-uart.txt4 - compatible : "snps,dw-apb-uart"
6 - interrupts : should contain uart interrupt.
18 - snps,uart-16550-compatible : reflects the value of UART_16550_COMPATIBLE
42 uart@80230000 {
43 compatible = "snps,dw-apb-uart";
57 uart@80230000 {
58 compatible = "snps,dw-apb-uart";
68 uart@80230000 {
69 compatible = "snps,dw-apb-uart";
/u-boot/arch/m68k/dts/
A Dmcf5208.dtsi19 uart0: uart@fc060000 {
20 compatible = "fsl,mcf-uart";
25 uart1: uart@fc064000 {
26 compatible = "fsl,mcf-uart";
31 uart2: uart@fc068000 {
32 compatible = "fsl,mcf-uart";
A Dmcf5329.dtsi19 uart0: uart@fc060000 {
20 compatible = "fsl,mcf-uart";
25 uart1: uart@fc064000 {
26 compatible = "fsl,mcf-uart";
31 uart2: uart@fc068000 {
32 compatible = "fsl,mcf-uart";
A Dmcf537x.dtsi19 uart0: uart@fc060000 {
20 compatible = "fsl,mcf-uart";
25 uart1: uart@fc064000 {
26 compatible = "fsl,mcf-uart";
31 uart2: uart@fc068000 {
32 compatible = "fsl,mcf-uart";
A Dmcf5271.dtsi26 uart0: uart@200 {
27 compatible = "fsl,mcf-uart";
32 uart1: uart@240 {
33 compatible = "fsl,mcf-uart";
38 uart2: uart@280 {
39 compatible = "fsl,mcf-uart";
A Dmcf5282.dtsi26 uart0: uart@200 {
27 compatible = "fsl,mcf-uart";
32 uart1: uart@240 {
33 compatible = "fsl,mcf-uart";
38 uart2: uart@280 {
39 compatible = "fsl,mcf-uart";
A Dmcf523x.dtsi26 uart0: uart@200 {
27 compatible = "fsl,mcf-uart";
32 uart1: uart@240 {
33 compatible = "fsl,mcf-uart";
38 uart2: uart@280 {
39 compatible = "fsl,mcf-uart";
A Dmcf5253.dtsi25 uart0: uart@1c0 {
26 compatible = "fsl,mcf-uart";
31 uart1: uart@200 {
32 compatible = "fsl,mcf-uart";
37 uart3: uart@c00 {
38 compatible = "fsl,mcf-uart";
A Dmcf5275.dtsi27 uart0: uart@200 {
28 compatible = "fsl,mcf-uart";
33 uart1: uart@240 {
34 compatible = "fsl,mcf-uart";
39 uart2: uart@280 {
40 compatible = "fsl,mcf-uart";
A Dmcf5301x.dtsi21 uart0: uart@fc060000 {
22 compatible = "fsl,mcf-uart";
27 uart1: uart@fc064000 {
28 compatible = "fsl,mcf-uart";
33 uart2: uart@fc068000 {
34 compatible = "fsl,mcf-uart";
A Dmcf5272.dtsi26 uart0: uart@100 {
27 compatible = "fsl,mcf-uart";
32 uart1: uart@140 {
33 compatible = "fsl,mcf-uart";
A Dmcf5307.dtsi26 uart0: uart@1c0 {
27 compatible = "fsl,mcf-uart";
32 uart1: uart@200 {
33 compatible = "fsl,mcf-uart";
A Dmcf5441x.dtsi21 uart0: uart@fc060000 {
22 compatible = "fsl,mcf-uart";
27 uart1: uart@fc064000 {
28 compatible = "fsl,mcf-uart";
33 uart2: uart@fc068000 {
34 compatible = "fsl,mcf-uart";
39 uart3: uart@fc06c000 {
40 compatible = "fsl,mcf-uart";
/u-boot/arch/arm/mach-rockchip/rk3328/
A Drk3328.c64 struct rk_uart * const uart = (void *)UART2_BASE; in board_debug_uart_init() local
85 writel(0x83, &uart->lcr); in board_debug_uart_init()
86 writel(0x1, &uart->rbr); in board_debug_uart_init()
87 writel(0x3, &uart->lcr); in board_debug_uart_init()
101 writel(0x1, &uart->sfe); in board_debug_uart_init()
/u-boot/arch/arm/dts/
A Ds700.dtsi117 compatible = "actions,s900-uart", "actions,owl-uart";
125 compatible = "actions,s900-uart", "actions,owl-uart";
133 compatible = "actions,s900-uart", "actions,owl-uart";
141 compatible = "actions,s900-uart", "actions,owl-uart";
149 compatible = "actions,s900-uart", "actions,owl-uart";
157 compatible = "actions,s900-uart", "actions,owl-uart";
165 compatible = "actions,s900-uart", "actions,owl-uart";
A Dste-dbx5x0-u-boot.dtsi18 uart@80120000 {
21 uart@80121000 {
24 uart@80007000 {

Completed in 795 milliseconds

12345678910>>...18