ARM: dts: aspeed: bletchley: add aliases for mdio0 and mdio3
Subsystems (2)
PATCH 1/1 ARM: dts: aspeed: bletchley: add aliases for mdio0 and mdio3
Add aliases for mdio0 and mdio3 so that we can use name to lookup the address of Aspeed SOC.
For example:
root at bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio0 /ahb/mdio at 1e650000
root at bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio3 /ahb/mdio at 1e650018
--- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +2 -0
@@ -15,6 +15,8 @@ / { aliases { serial4 = &uart5; + mdio0 = &mdio0; + mdio3 = &mdio3; }; chosen {
Signature · 1 line
2.31.1
Joel Stanley
maintainerQuoted 20 lines · Potin Lai
Add aliases for mdio0 and mdio3 so that we can use name to lookup the address of Aspeed SOC.
For example:
root at bletchley:~# cat/sys/firmware/devicetree/base/aliases/mdio0/ahb/mdio at1e650000
root at bletchley:~# cat/sys/firmware/devicetree/base/aliases/mdio3/ahb/mdio at1e650018Signed-off-by Potin Lai <[email protected]>--- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +0
-0
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts / { · line 19
Quoted 5 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +2
-0@@ -15,6 +15,8 @@ / { aliases { serial4 = &uart5; + mdio0 = &mdio0; + mdio3 = &mdio3;
Should this go into the dtsi instead?
Quoted 6 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +0
-1}; chosen { --2.31.1
Quoted 21 lines · Joel Stanley
Quoted 20 lines · Potin Lai
Add aliases for mdio0 and mdio3 so that we can use name to lookup the address of Aspeed SOC.
For example:
root at bletchley:~# cat/sys/firmware/devicetree/base/aliases/mdio0/ahb/mdio at1e650000
root at bletchley:~# cat/sys/firmware/devicetree/base/aliases/mdio3/ahb/mdio at1e650018Signed-off-by Potin Lai <[email protected]>--- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +0
-0@@ -15,6 +15,8 @@ / {
Quoted 5 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts / { · line 19
Quoted 4 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +2
-0aliases { serial4 = &uart5; + mdio0 = &mdio0; + mdio3 = &mdio3;Should this go into the dtsi instead?
Thanks for suggestion, I will move this to aspeed-g6.dtsi in next version.
Quoted 6 lines
Quoted 6 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +0
-1}; chosen { --2.31.1