From f7375aff959d9d04bcbd2ac7443e62c450716b43 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 25 Feb 2020 15:29:40 +0100 Subject: ARM: zynq: Enable DM for CFI NOR flash With multi defconfig NOR flash information about NOR should be taken from DT that's why there is no reason to specify address and sizes via fixed config. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cse-nor.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/zynq-cse-nor.dts b/arch/arm/dts/zynq-cse-nor.dts index 4030851..197fbd7 100644 --- a/arch/arm/dts/zynq-cse-nor.dts +++ b/arch/arm/dts/zynq-cse-nor.dts @@ -71,6 +71,20 @@ reg = <0x100 0x100>; }; }; + + /* + * This is partially hack because it is normally subnode of smcc + * but for mini U-Boot there is no reason to enable SMCC driver + * which does almost nothing in NOR flash configuration that's + * why place cfi-flash directly here. + */ + flash@e2000000 { + u-boot,dm-pre-reloc; + compatible = "cfi-flash"; + reg = <0xe2000000 0x2000000>; + #address-cells = <1>; + #size-cells = <1>; + }; }; }; -- cgit v1.1