devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: dts: aspeed: bletchley: add aliases for mdio0 and mdio3
@ 2022-10-25  2:41 Potin Lai
  2022-10-25  3:05 ` Joel Stanley
  0 siblings, 1 reply; 3+ messages in thread
From: Potin Lai @ 2022-10-25  2:41 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai, Potin Lai

Add aliases for mdio0 and mdio3 so that we can use name to lookup the
address of Aspeed SOC.

For example:
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio0
/ahb/mdio@1e650000
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio3
/ahb/mdio@1e650018

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
index c02c15f15465..2825d5f3f78b 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
@@ -15,6 +15,8 @@ / {
 
 	aliases {
 		serial4 = &uart5;
+		mdio0 = &mdio0;
+		mdio3 = &mdio3;
 	};
 
 	chosen {
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-25  3:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25  2:41 [PATCH 1/1] ARM: dts: aspeed: bletchley: add aliases for mdio0 and mdio3 Potin Lai
2022-10-25  3:05 ` Joel Stanley
2022-10-25  3:19   ` Potin Lai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).