From: Potin Lai <potin.lai.pt@gmail.com>
To: Joel Stanley <joel@jms.id.au>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Andrew Jeffery <andrew@aj.id.au>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Patrick Williams <patrick@stwcx.xyz>,
Potin Lai <potin.lai@quantatw.com>
Subject: Re: [PATCH 1/1] ARM: dts: aspeed: bletchley: add aliases for mdio0 and mdio3
Date: Tue, 25 Oct 2022 11:19:09 +0800 [thread overview]
Message-ID: <75b4faa2-d1af-17ee-6a2c-a39b59adca6c@gmail.com> (raw)
In-Reply-To: <CACPK8XdpeKVaxFki3GRyo30bWYNF6Q5wL706j5deaqi8P=ssdA@mail.gmail.com>
On 10/25/22 11:05, Joel Stanley wrote:
> On Tue, 25 Oct 2022 at 02:43, Potin Lai <potin.lai.pt@gmail.com> wrote:
>> 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;
> Should this go into the dtsi instead?
Thanks for suggestion, I will move this to aspeed-g6.dtsi in next version.
>> };
>>
>> chosen {
>> --
>> 2.31.1
>>
prev parent reply other threads:[~2022-10-25 3:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75b4faa2-d1af-17ee-6a2c-a39b59adca6c@gmail.com \
--to=potin.lai.pt@gmail.com \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick@stwcx.xyz \
--cc=potin.lai@quantatw.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).