ARM: zynq: Add nand controller node in zynq-ces-nand dt
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 15 Apr 2020 10:45:02 +0000 (04:45 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 27 Apr 2020 12:21:18 +0000 (14:21 +0200)
Add memory-controller@e000e000 node in zynq-ces-nand.dts as
zynq_nand driver utilizes flash@e1000000 node. Without this
dt node mini nand u-boot does not probe.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-cse-nand.dts

index 1e16d7fab97d178b6dd03ca7e6d383c8c10ea506..32cb3bffcb948e6700a4e53101cbdf5d39dd1fe4 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               smcc: memory-controller@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@e1000000 {
+                               compatible = "arm,pl353-nand-r2p1";
+                               reg = <0xe1000000 0x1000000>;
+                       };
+               };
+
                slcr: slcr@f8000000 {
                        u-boot,dm-pre-reloc;
                        #address-cells = <1>;