new file mode 100644
@@ -0,0 +1,22 @@
+* ASPEED AST2500 UART routing
+
+This file describes the bindings for the UART routing selector present
+in the AST2500 BMC SoC.
+
+The Aspeed AST2500 allows to dynamically route the inputs for the built-in
+UARTS and physical serial I/O ports.
+
+This allows, for example, to connect the output of UART to another UART.
+This can be used to enable host<->BMC communication via UARTs, e.g. to allow
+access to the host's serial console.
+
+Required properties:
+- reg: address and length of the register for the device.
+- compatible: "aspeed,ast2500-cvic"
+
+Example:
+
+ uart_routing: uart_routing@1e78909c {
+ compatible = "aspeed,ast2500-uart-routing";
+ reg = <0x1e78909c 0x4>;
+ };
@@ -375,6 +375,12 @@
status = "disabled";
};
};
+
+ uart_routing: uart_routing@9c {
+ compatible = "aspeed,ast2500-uart-routing";
+ reg = <0x9c 0x4>;
+ status = "disabled";
+ };
};
uart2: serial@1e78d000 {
Signed-off-by: Oskar Senft <osk@google.com> --- .../bindings/misc/aspeed,uart-routing.txt | 22 +++++++++++++++++++ arch/arm/boot/dts/aspeed-g5.dtsi | 6 +++++ 2 files changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/aspeed,uart-routing.txt