From patchwork Thu Apr 16 12:22:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 237834 List-Id: U-Boot discussion From: michal.simek at xilinx.com (Michal Simek) Date: Thu, 16 Apr 2020 14:22:35 +0200 Subject: [PATCH] ARM: zynq: Add nand controller node in zynq-ces-nand dt Message-ID: From: T Karthik Reddy Add memory-controller at e000e000 node in zynq-ces-nand.dts as zynq_nand driver utilizes flash at e1000000 node. Without this dt node mini nand u-boot does not probe. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cse-nand.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/zynq-cse-nand.dts b/arch/arm/dts/zynq-cse-nand.dts index 1e16d7fab97d..32cb3bffcb94 100644 --- a/arch/arm/dts/zynq-cse-nand.dts +++ b/arch/arm/dts/zynq-cse-nand.dts @@ -38,6 +38,21 @@ #size-cells = <1>; ranges; + smcc: memory-controller at e000e000 { + #address-cells = <1>; + #size-cells = <1>; + clock-names = "memclk", "apb_pclk"; + clocks = <&clkc 11>, <&clkc 44>; + compatible = "arm,pl353-smc-r2p1", "arm,primecell"; + ranges; + reg = <0xe000e000 0x1000>; + + nand0: flash at e1000000 { + compatible = "arm,pl353-nand-r2p1"; + reg = <0xe1000000 0x1000000>; + }; + }; + slcr: slcr at f8000000 { u-boot,dm-pre-reloc; #address-cells = <1>;