On 20/07/2023 13:29, Nikita Shubin via B4 Relay wrote: > From: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx> > > Add device tree for Cirrus EDB9302. > > Signed-off-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx> > Signed-off-by: Nikita Shubin <nikita.shubin@xxxxxxxxxxx> > --- > arch/arm/boot/dts/cirrus/Makefile | 1 + > arch/arm/boot/dts/cirrus/ep93xx-edb9302.dts | 178 ++++++++++++++++++++++++++++ > 2 files changed, 179 insertions(+) > > diff --git a/arch/arm/boot/dts/cirrus/Makefile b/arch/arm/boot/dts/cirrus/Makefile > index 211a7e2f2115..e6015983e464 100644 > --- a/arch/arm/boot/dts/cirrus/Makefile > +++ b/arch/arm/boot/dts/cirrus/Makefile > @@ -4,5 +4,6 @@ dtb-$(CONFIG_ARCH_CLPS711X) += \ > dtb-$(CONFIG_ARCH_CLPS711X) += \ > ep7211-edb7211.dtb > dtb-$(CONFIG_ARCH_EP93XX) += \ > + ep93xx-edb9302.dtb \ > ep93xx-bk3.dtb \ > ep93xx-ts7250.dtb > diff --git a/arch/arm/boot/dts/cirrus/ep93xx-edb9302.dts b/arch/arm/boot/dts/cirrus/ep93xx-edb9302.dts > new file mode 100644 > index 000000000000..b048fd131aa5 > --- /dev/null > +++ b/arch/arm/boot/dts/cirrus/ep93xx-edb9302.dts > @@ -0,0 +1,178 @@ > +// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +/* > + * Device Tree file for Cirrus Logic EDB9302 board based on EP9302 SoC > + */ > +/dts-v1/; > +#include "ep93xx.dtsi" > +#include <dt-bindings/dma/cirrus,ep93xx-dma.h> > + > +/ { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "cirrus,edb9302", "cirrus,ep9301"; > + model = "cirrus,edb9302"; > + > + chosen { > + }; > + > + memory@0 { > + device_type = "memory"; > + /* should be set from ATAGS */ > + reg = <0x0000000 0x800000>, > + <0x1000000 0x800000>, > + <0x4000000 0x800000>, > + <0x5000000 0x800000>; > + }; > + > + flash@60000000 { Same problems - it's root, not soc bus. > + compatible = "cfi-flash"; > + reg = <0x60000000 0x1000000>; > + bank-width = <2>; > + }; > + Best regards, Krzysztof