diff options
97 files changed, 3233 insertions, 1802 deletions
diff --git a/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt b/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt new file mode 100644 index 000000000000..4163e7eb7763 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | * ARM SBSA defined generic UART | ||
| 2 | This UART uses a subset of the PL011 registers and consequently lives | ||
| 3 | in the PL011 driver. It's baudrate and other communication parameters | ||
| 4 | cannot be adjusted at runtime, so it lacks a clock specifier here. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | - compatible: must be "arm,sbsa-uart" | ||
| 8 | - reg: exactly one register range | ||
| 9 | - interrupts: exactly one interrupt specifier | ||
| 10 | - current-speed: the (fixed) baud rate set by the firmware | ||
diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt index 44152261e5c5..8d63f1da07aa 100644 --- a/Documentation/devicetree/bindings/serial/mtk-uart.txt +++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt | |||
| @@ -14,7 +14,14 @@ Required properties: | |||
| 14 | 14 | ||
| 15 | - interrupts: A single interrupt specifier. | 15 | - interrupts: A single interrupt specifier. |
| 16 | 16 | ||
| 17 | - clocks: Clock driving the hardware. | 17 | - clocks : Must contain an entry for each entry in clock-names. |
| 18 | See ../clocks/clock-bindings.txt for details. | ||
| 19 | - clock-names: | ||
| 20 | - "baud": The clock the baudrate is derived from | ||
| 21 | - "bus": The bus clock for register accesses (optional) | ||
| 22 | |||
| 23 | For compatibility with older device trees an unnamed clock is used for the | ||
| 24 | baud clock if the baudclk does not exist. Do not use this for new designs. | ||
| 18 | 25 | ||
| 19 | Example: | 26 | Example: |
| 20 | 27 | ||
| @@ -22,5 +29,6 @@ Example: | |||
| 22 | compatible = "mediatek,mt6589-uart", "mediatek,mt6577-uart"; | 29 | compatible = "mediatek,mt6589-uart", "mediatek,mt6577-uart"; |
| 23 | reg = <0x11006000 0x400>; | 30 | reg = <0x11006000 0x400>; |
| 24 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>; | 31 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>; |
| 25 | clocks = <&uart_clk>; | 32 | clocks = <&uart_clk>, <&bus_clk>; |
| 33 | clock-names = "baud", "bus"; | ||
| 26 | }; | 34 | }; |
diff --git a/Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt b/Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt new file mode 100644 index 000000000000..04e23e63ee4f --- /dev/null +++ b/Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | * NXP LPC1850 UART | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : "nxp,lpc1850-uart", "ns16550a". | ||
| 5 | - reg : offset and length of the register set for the device. | ||
| 6 | - interrupts : should contain uart interrupt. | ||
| 7 | - clocks : phandle to the input clocks. | ||
| 8 | - clock-names : required elements: "uartclk", "reg". | ||
| 9 | |||
| 10 | Optional properties: | ||
| 11 | - dmas : Two or more DMA channel specifiers following the | ||
| 12 | |||
