ARM: zynq: Add missing pl353-smc node
authorMichal Simek <michal.simek@xilinx.com>
Mon, 14 Oct 2019 08:14:07 +0000 (10:14 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Oct 2019 11:37:01 +0000 (13:37 +0200)
DT binding was reviewed in Linux by commit b0b41af12a1b
("dt-bindings: memory: Add pl353 smc controller devicetree binding
information") that's why this fragment can be also added to U-Boot
repository.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-7000.dtsi

index e1b0816a3459cb340784a07a1bb47aaf9f93e950..07dfa0d1074fc37f4d597cfcb8054971e1cb6dfe 100644 (file)
                        #size-cells = <0>;
                };
 
+               smcc: memory-controller@e000e000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       status = "disabled";
+                       clock-names = "memclk", "apb_pclk";
+                       clocks = <&clkc 11>, <&clkc 44>;
+                       compatible = "arm,pl353-smc-r2p1", "arm,primecell";
+                       interrupt-parent = <&intc>;
+                       interrupts = <0 18 4>;
+                       ranges ;
+                       reg = <0xe000e000 0x1000>;
+                       nand0: flash@e1000000 {
+                               status = "disabled";
+                               compatible = "arm,pl353-nand-r2p1";
+                               reg = <0xe1000000 0x1000000>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                       };
+                       nor0: flash@e2000000 {
+                               status = "disabled";
+                               compatible = "cfi-flash";
+                               reg = <0xe2000000 0x2000000>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                       };
+               };
+
                gem0: ethernet@e000b000 {
                        compatible = "cdns,zynq-gem", "cdns,gem";
                        reg = <0xe000b000 0x1000>;