lkml.org 
[lkml]   [2021]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] ARM: dts: aspeed: g220a: Enable secondary flash
Hi Lei,

On Fri, 10 Dec 2021 at 09:36, Lei YU <yulei.sh@bytedance.com> wrote:
>
> Enable the secondary flash of the g220a's BMC and the wdt2.
>
> Signed-off-by: Lei YU <yulei.sh@bytedance.com>

I've applied this and the layout patch for v5.17, and to the openbmc tree.

> ---
> arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts b/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts
> index 01dace8f5e5f..05f392f42960 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts
> @@ -260,6 +260,13 @@ flash@0 {
> spi-max-frequency = <50000000>;
> #include "openbmc-flash-layout-64.dtsi"
> };
> + flash@1 {
> + status = "okay";
> + label = "alt-bmc";
> + m25p,fast-read;
> + spi-max-frequency = <50000000>;
> +#include "openbmc-flash-layout-64-alt.dtsi"
> + };
> };
>
> &spi1 {
> @@ -278,6 +285,10 @@ &adc {
> status = "okay";
> };
>
> +&wdt2 {
> + aspeed,alt-boot;
> +};
> +
> &gpio {
> status = "okay";
> gpio-line-names =
> --
> 2.25.1
>

\
 
 \ /
  Last update: 2021-12-22 02:38    [W:0.029 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site