[PATCH v2 3/3] ARM: dts: aspeed: Add uart-routing node
Oskar Senft
osk at google.com
Tue Jul 30 11:49:55 AEST 2019
Add a node for the aspeed-uart-routing module. This node, when enabled
will provide control of the Aspeed UART routing via sysfs.
Signed-off-by: Oskar Senft <osk at google.com>
---
Changes since v1:
Added AST2400.
arch/arm/boot/dts/aspeed-g4.dtsi | 6 ++++++
arch/arm/boot/dts/aspeed-g5.dtsi | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index dd4b0b15afcf..d855bc19d677 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -326,6 +326,12 @@
status = "disabled";
};
};
+
+ uart_routing: uart_routing at 9c {
+ compatible = "aspeed,ast2400-uart-routing";
+ reg = <0x9c 0x4>;
+ status = "disabled";
+ };
};
uart2: serial at 1e78d000 {
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 7149ff3b6fb3..9e561504042a 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -440,6 +440,12 @@
status = "disabled";
};
};
+
+ uart_routing: uart_routing at 9c {
+ compatible = "aspeed,ast2500-uart-routing";
+ reg = <0x9c 0x4>;
+ status = "disabled";
+ };
};
uart2: serial at 1e78d000 {
--
2.22.0.709.g102302147b-goog
More information about the Linux-aspeed
mailing list