Home
last modified time | relevance | path

Searched +full:stm32 +full:- +full:uart (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/serial/
Dst,stm32-usart.txt1 * STMicroelectronics STM32 USART
4 - compatible: can be either:
5 - "st,stm32-uart",
6 - "st,stm32f7-uart",
7 - "st,stm32h7-uart".
8 depending is compatible with stm32(f4), stm32f7 or stm32h7.
9 - reg: The address and length of the peripheral registers space
10 - interrupts:
11 - The interrupt line for the USART instance,
12 - An optional wake-up interrupt.
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstm32f746.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
43 #include "armv7-m.dtsi"
44 #include <dt-bindings/clock/stm32fx-clock.h>
45 #include <dt-bindings/mfd/stm32f7-rcc.h>
48 #address-cells = <1>;
49 #size-cells = <1>;
52 clk_hse: clk-hse {
53 #clock-cells = <0>;
54 compatible = "fixed-clock";
[all …]
Dstm32f429.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include "armv7-m.dtsi"
49 #include <dt-bindings/clock/stm32fx-clock.h>
50 #include <dt-bindings/mfd/stm32f4-rcc.h>
53 #address-cells = <1>;
54 #size-cells = <1>;
57 clk_hse: clk-hse {
58 #clock-cells = <0>;
[all …]
Dstm32mp151.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset/stm32mp1-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
Dstm32h743.dtsi2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 * This file is dual-licensed: you can use it either under the terms
43 #include "armv7-m.dtsi"
44 #include <dt-bindings/clock/stm32h7-clks.h>
45 #include <dt-bindings/mfd/stm32h7-rcc.h>
46 #include <dt-bindings/interrupt-controller/irq.h>
49 #address-cells = <1>;
50 #size-cells = <1>;
53 clk_hse: clk-hse {
54 #clock-cells = <0>;
[all …]
Dstm32mp15xx-dhcom-drc02.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
17 stdout-path = "serial0:115200n8";
32 * GPIO line, however the STM32 UART driver assumes RX happens
36 rs485-rx-en {
37 gpio-hog;
39 output-low;
40 line-name = "rs485-rx-en";
45 gpio-line-names = "", "", "", "",
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dst,stm32-uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/st,stm32-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 - Erwan Le Ray <erwan.leray@st.com>
10 title: STMicroelectronics STM32 USART bindings
13 - $ref: rs485.yaml
18 - st,stm32-uart
19 - st,stm32f7-uart
20 - st,stm32h7-uart
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dstm32f746.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
44 #include "armv7-m.dtsi"
45 #include <dt-bindings/clock/stm32fx-clock.h>
46 #include <dt-bindings/mfd/stm32f7-rcc.h>
50 clk_hse: clk-hse {
51 #clock-cells = <0>;
52 compatible = "fixed-clock";
53 clock-frequency = <0>;
56 clk-lse {
[all …]
Dstm32f429.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
49 #include "armv7-m.dtsi"
50 #include <dt-bindings/clock/stm32fx-clock.h>
51 #include <dt-bindings/mfd/stm32f4-rcc.h>
55 clk_hse: clk-hse {
56 #clock-cells = <0>;
57 compatible = "fixed-clock";
58 clock-frequency = <0>;
[all …]
Dstm32mp157c.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset/stm32mp1-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
Dstm32h743.dtsi2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 * This file is dual-licensed: you can use it either under the terms
44 #include "armv7-m.dtsi"
45 #include <dt-bindings/clock/stm32h7-clks.h>
46 #include <dt-bindings/mfd/stm32h7-rcc.h>
47 #include <dt-bindings/interrupt-controller/irq.h>
51 clk_hse: clk-hse {
52 #clock-cells = <0>;
53 compatible = "fixed-clock";
54 clock-frequency = <0>;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/dma/
Dstm32-dmamux.txt1 STM32 DMA MUX (DMA request router)
4 - compatible: "st,stm32h7-dmamux"
5 - reg: Memory map for accessing module
6 - #dma-cells: Should be set to <3>.
11 stm32-dma.txt documentation binding file
12 - dma-masters: Phandle pointing to the DMA controllers.
13 Several controllers are allowed. Only "st,stm32-dma" DMA
17 - dma-channels : Number of DMA requests supported.
18 - dma-requests : Number of DMAMUX requests supported.
19 - resets: Reference to a reset controller asserting the DMA controller
[all …]
Dstm32-dma.txt1 * STMicroelectronics STM32 DMA controller
3 The STM32 DMA is a general-purpose direct memory access controller capable of
7 - compatible: Should be "st,stm32-dma"
8 - reg: Should contain DMA registers location and length. This should include
9 all of the per-channel registers.
10 - interrupts: Should contain all of the per-channel DMA interrupts in
12 - clocks: Should contain the input clock of the DMA instance.
13 - #dma-cells : Must be <4>. See DMA client paragraph for more details.
16 - dma-requests : Number of DMA requests supported.
17 - resets: Reference to a reset controller asserting the DMA controller
[all …]
/kernel/linux/linux-4.19/drivers/dma/
DKconfig101 tristate "Analog Devices AXI-DMAC DMA support"
106 Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
126 bool "ST-Ericsson COH901318 DMA support"
130 Enable support for ST-Ericsson COH 901 318 DMA.
155 tristate "SA-11x0 DMA support"
160 Support the DMA engine found on Intel StrongARM SA-1100 and
161 SA-1110 SoCs. This DMA engine can only be used with on-chip
205 ---help---
219 This module can be found on Freescale Vybrid and LS-1 SoCs.
226 ---help---
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dserial_core.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */
32 #define PORT_OCTEON 17 /* Cavium OCTEON internal UART */
33 #define PORT_AR7 18 /* Texas Instruments AR7 internal UART */
34 #define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */
35 #define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */
36 #define PORT_XR17D15X 21 /* Exar XR17D15x UART */
37 #define PORT_LPC3220 22 /* NXP LPC32xx SoC "Standard" UART */
41 #define PORT_ALTR_16550_F32 26 /* Altera 16550 UART with 32 FIFOs */
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/
Dserial_core.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45 #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */
46 #define PORT_OCTEON 17 /* Cavium OCTEON internal UART */
47 #define PORT_AR7 18 /* Texas Instruments AR7 internal UART */
48 #define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */
49 #define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */
50 #define PORT_XR17D15X 21 /* Exar XR17D15x UART */
51 #define PORT_LPC3220 22 /* NXP LPC32xx SoC "Standard" UART */
55 #define PORT_ALTR_16550_F32 26 /* Altera 16550 UART with 32 FIFOs */
[all …]
/kernel/linux/linux-5.10/drivers/dma/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
103 tristate "Analog Devices AXI-DMAC DMA support"
109 Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
129 bool "ST-Ericsson COH901318 DMA support"
133 Enable support for ST-Ericsson COH 901 318 DMA.
152 tristate "SA-11x0 DMA support"
157 Support the DMA engine found on Intel StrongARM SA-1100 and
158 SA-1110 SoCs. This DMA engine can only be used with on-chip
216 This module can be found on Freescale Vybrid and LS-1 SoCs.
259 Enable support for the IMG multi-threaded DMA controller (MDC).
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_SERIAL_CORE) += serial_core.o
8 obj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
9 obj-$(CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST) += earlycon-arm-semihost.o
10 obj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o
15 obj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
16 obj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
17 obj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
18 obj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
19 obj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
19 comment "Non-8250 serial port support"
26 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have
37 Say Y here if you wish to use an AMBA PrimeCell UART as the system
53 This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
65 Say Y here if you wish to use an AMBA PrimeCell UART as the system
89 bool "Early console using RISC-V SBI"
95 Support for early debug console using RISC-V SBI. This enables
101 tristate "BCM1xxx on-chip DUART serial support"
107 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
[all …]
Dstm32-usart.c1 // SPDX-License-Identifier: GPL-2.0
5 * Authors: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 * Inspired by st-asc.c from STMicroelectronics (c)
14 #include <linux/dma-direction.h>
16 #include <linux/dma-mapping.h>
35 #include "stm32-usart.h"
49 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits()
51 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits()
58 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits()
60 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits()
[all …]
/kernel/linux/linux-4.19/drivers/tty/serial/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_SERIAL_CORE) += serial_core.o
8 obj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
9 obj-$(CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST) += earlycon-arm-semihost.o
14 obj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
15 obj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
16 obj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
17 obj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
18 obj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
20 obj-$(CONFIG_SERIAL_21285) += 21285.o
[all …]
DKconfig20 comment "Non-8250 serial port support"
27 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have
37 ---help---
38 Say Y here if you wish to use an AMBA PrimeCell UART as the system
54 This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
65 ---help---
66 Say Y here if you wish to use an AMBA PrimeCell UART as the system
90 tristate "BCM1xxx on-chip DUART serial support"
94 ---help---
96 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
[all …]
Dstm32-usart.c1 // SPDX-License-Identifier: GPL-2.0
5 * Authors: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 * Inspired by st-asc.c from STMicroelectronics (c)
18 #include <linux/dma-direction.h>
20 #include <linux/dma-mapping.h>
37 #include "stm32-usart.h"
51 val = readl_relaxed(port->membase + reg); in stm32_set_bits()
53 writel_relaxed(val, port->membase + reg); in stm32_set_bits()
60 val = readl_relaxed(port->membase + reg); in stm32_clr_bits()
62 writel_relaxed(val, port->membase + reg); in stm32_clr_bits()
[all …]
/kernel/linux/linux-4.19/drivers/mfd/
DKconfig17 ---help---
33 tristate "Active-semi ACT8945A"
38 Support for the ACT8945A PMIC from Active-semi. This device
39 features three step-down DC/DC converters and four low-dropout
55 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
58 called sun4i-gpadc.
77 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
114 tristate "Atmel HLCDC (High-end LCD Controller)"
151 tristate "X-Powers AC100"
155 If you say Y here you get support for the X-Powers AC100 audio codec
[all …]
/kernel/linux/linux-5.10/arch/arm/
DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0
44 once the kernel has booted up - it's a one time check.
96 1 - undefined instruction events
97 2 - system calls
98 4 - invalid data aborts
99 8 - SIGSEGV faults
100 16 - SIGBUS faults
104 bool "Kernel low-level debugging functions (read help!)"
112 UART definition, as specified below. Attempting to boot the kernel
117 prompt "Kernel low-level debugging port"
[all …]

12