ARM: dts: aspeed-g6: Add aliases for mdio nodes
authorPotin Lai <potin.lai.pt@gmail.com>
Tue, 25 Oct 2022 05:50:46 +0000 (13:50 +0800)
committerJoel Stanley <joel@jms.id.au>
Sun, 20 Nov 2022 10:17:31 +0000 (20:47 +1030)
commit2fb4955ac2a90d7e9c5b2c151e2a542ccf939d2b
tree34e82633abf358b843c68d1f032a530f18321a07
parentfe87f88eaf696b064231143536a33a618d5e0cd2
ARM: dts: aspeed-g6: Add aliases for mdio nodes

Add aliases for mdio nodes so that we can use name to lookup the
bus 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/mdio1
/ahb/mdio@1e650008
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio2
/ahb/mdio@1e650010
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio3
/ahb/mdio@1e650018

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Link: https://lore.kernel.org/r/20221025055046.1704920-1-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g6.dtsi