Re: [PATCH 10/10] arch: arm: dts: bletchley: cleanup redundant node

From: Patrick Williams
Date: Fri Feb 11 2022 - 17:19:44 EST


On Fri, Feb 11, 2022 at 09:43:47AM +0800, Potin Lai wrote:
> Remove redundant i2c1 node.
> Disable in-chip rtc, use external rtc (pcf85263) instead.

A bit of "why" on the RTC change might be useful. I suspect it has to do
with where battery-backing is for the RTC in hardware.

>
> Signed-off-by: Potin Lai <potin.lai@xxxxxxxxxxxx>
> ---
> arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
> index 946107bd8bc7..fb62a67cfeed 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
> @@ -205,10 +205,6 @@
> };
> };
>
> -&rtc {
> - status = "okay";
> -};
> -
> &fmc {
> status = "okay";
> flash@0 {
> @@ -387,10 +383,6 @@
> };
> };
>
> -&i2c1 {
> - status = "okay";
> -};
> -
> &i2c2 {
> status = "okay";
> ina230@45 {
> @@ -680,6 +672,7 @@
> };
>
> rtc@51 {
> + /* in-chip rtc disabled, use this external rtc instead */
> compatible = "nxp,pcf85263";
> reg = <0x51>;
> };
> --
> 2.17.1
>

--
Patrick Williams

Attachment: signature.asc
Description: PGP signature