mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
0b37004dd0
This reverts commit 14a8d47d4e
.
It causes a build error that needs to be resolved differently.
Cc: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
* UART (Universal Asynchronous Receiver/Transmitter)
|
|
|
|
Required properties:
|
|
- compatible : one of:
|
|
- "ns8250"
|
|
- "ns16450"
|
|
- "ns16550a"
|
|
- "ns16550"
|
|
- "ns16750"
|
|
- "ns16850"
|
|
- "nvidia,tegra20-uart"
|
|
- "ibm,qpace-nwp-serial"
|
|
- "serial" if the port type is unknown.
|
|
- reg : offset and length of the register set for the device.
|
|
- interrupts : should contain uart interrupt.
|
|
- clock-frequency : the input clock frequency for the UART.
|
|
|
|
Optional properties:
|
|
- current-speed : the current active speed of the UART.
|
|
- reg-offset : offset to apply to the mapbase from the start of the registers.
|
|
- reg-shift : quantity to shift the register offsets by.
|
|
- reg-io-width : the size (in bytes) of the IO accesses that should be
|
|
performed on the device. There are some systems that require 32-bit
|
|
accesses to the UART (e.g. TI davinci).
|
|
- used-by-rtas : set to indicate that the port is in use by the OpenFirmware
|
|
RTAS and should not be registered.
|
|
|
|
Example:
|
|
|
|
uart@80230000 {
|
|
compatible = "ns8250";
|
|
reg = <0x80230000 0x100>;
|
|
clock-frequency = <3686400>;
|
|
interrupts = <10>;
|
|
reg-shift = <2>;
|
|
};
|