[RESEND][PATCH u-boot v2019.04-aspeed-openbmc v5 1/2] arm/dts: Add IBM Genesis3 board

Patrick Rudolph patrick.rudolph at 9elements.com
Thu Aug 11 16:00:40 AEST 2022


There's no SD card slot, there are two MACs in RGMII mode and nothing
that's required to boot on i2c bus.
In the defconfig used I disabled SD card and I2C support, so this is
not an issue.
Should I still disable it in the devicetree, just for reference?

Regards,
Patrick Rudolph


On Wed, Aug 10, 2022 at 6:23 AM Andrew Jeffery <andrew at aj.id.au> wrote:
>
>
>
> On Thu, 30 Jun 2022, at 20:37, Patrick Rudolph wrote:
> > Add devicetree source file. It uses the evb-ast2500 board files.
> >
> > Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
> > Reviewed-by: Zev Weiss <zweiss at equinix.com>
> > ---
> >  arch/arm/dts/Makefile             |  1 +
> >  arch/arm/dts/ast2500-genesis3.dts | 28 ++++++++++++++++++++++++++++
> >  2 files changed, 29 insertions(+)
> >  create mode 100644 arch/arm/dts/ast2500-genesis3.dts
> >
> > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> > index 3515100c65..ed9714d832 100755
> > --- a/arch/arm/dts/Makefile
> > +++ b/arch/arm/dts/Makefile
> > @@ -678,6 +678,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
> >       ast2400-evb.dtb \
> >       ast2400-ahe-50dc.dtb \
> >       ast2500-evb.dtb \
> > +     ast2500-genesis3.dtb \
> >       ast2600a0-evb.dtb \
> >       ast2600a1-evb.dtb \
> >       ast2600-bletchley.dtb \
> > diff --git a/arch/arm/dts/ast2500-genesis3.dts
> > b/arch/arm/dts/ast2500-genesis3.dts
> > new file mode 100644
> > index 0000000000..544758c5b8
> > --- /dev/null
> > +++ b/arch/arm/dts/ast2500-genesis3.dts
> > @@ -0,0 +1,28 @@
> > +// SPDX-License-Identifier: GPL-2.0+
> > +/*
> > + * IBM Genesis3
> > + *
> > + * Copyright (C) 2022 9elements GmbH
> > + */
> > +
> > +#include "ast2500-evb.dts"
> > +
> > +/ {
> > +     model = "IBM Genesis3";
> > +     compatible = "ibm,genesis3-bmc", "aspeed,ast2500";
> > +};
> > +
> > +&spi1 {
> > +     status = "disabled";
> > +};
> > +
> > +&fmc {
> > +     flash at 0 {
> > +             compatible = "spansion,s25fl256l", "spi-flash";
> > +     };
> > +
> > +     flash at 1 {
> > +             compatible = "spansion,s25fl256l", "spi-flash";
> > +     };
> > +};
>
> So looking at ast2500-evb.dts, you still have both the SD card slots,
> both MACs (in RGMII mode) and i2c{3,7} enabled. Is this intended?
>
> Andrew


More information about the openbmc mailing list