summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-02-18 11:35:32 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-03-01 17:38:27 +0100
commit7c9325d79a3c3d51c98812161d47876d6830c062 (patch)
treee749efa50ac29719d4ff159f94f03abc455cee06 /Documentation
parentdt: eliminate of_platform_driver shim code (diff)
downloadlinux-7c9325d79a3c3d51c98812161d47876d6830c062.tar.xz
linux-7c9325d79a3c3d51c98812161d47876d6830c062.zip
tty: serial: altera_uart: Add devicetree support
With the recent switch of the (currently still out-of-tree) Nios2 Linux port to devicetree we want to be able to retrieve the resources and properties from dts. The old method to retrieve resources and properties from platform data is still supported. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/serial/altera_uart.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/altera_uart.txt b/Documentation/devicetree/bindings/serial/altera_uart.txt
new file mode 100644
index 000000000000..71cae3f70100
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/altera_uart.txt
@@ -0,0 +1,7 @@
+Altera UART
+
+Required properties:
+- compatible : should be "ALTR,uart-1.0"
+
+Optional properties:
+- clock-frequency : frequency of the clock input to the UART