mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
11c62d4f1d
-replace "baud" with "current-speed" -if uart alias doesn't exist in DT, don't abort, pick 0 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Arnd Bergmann <arnd@arndb.de> Cc: devicetree-discuss@lists.ozlabs.org Cc: Rob Herring <rob.herring@calxeda.com> Cc: Rob Landley <rob@landley.net> Cc: linux-serial@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 lines
632 B
Plaintext
27 lines
632 B
Plaintext
* Synopsys ARC UART : Non standard UART used in some of the ARC FPGA boards
|
|
|
|
Required properties:
|
|
- compatible : "snps,arc-uart"
|
|
- reg : offset and length of the register set for the device.
|
|
- interrupts : device interrupt
|
|
- clock-frequency : the input clock frequency for the UART
|
|
- current-speed : baud rate for UART
|
|
|
|
e.g.
|
|
|
|
arcuart0: serial@c0fc1000 {
|
|
compatible = "snps,arc-uart";
|
|
reg = <0xc0fc1000 0x100>;
|
|
interrupts = <5>;
|
|
clock-frequency = <80000000>;
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
Note: Each port should have an alias correctly numbered in "aliases" node.
|
|
|
|
e.g.
|
|
aliases {
|
|
serial0 = &arcuart0;
|
|
};
|