]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Sync DT with Linux kernel
authorMichal Simek <michal.simek@xilinx.com>
Tue, 29 Sep 2020 11:43:22 +0000 (13:43 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 4 Jan 2021 09:51:27 +0000 (10:51 +0100)
All changes are recorded in lore.kernel.org. Here are links to that patches
for the record.
Link: https://lore.kernel.org/r/f59a63d8cb941592de6d2dee8afa6f120b2e40c8.1601379794.git.michal.simek@xilinx.com
Link: https://lore.kernel.org/r/68f20a2b2bb0feee80bc3348619c2ee98aa69963.1598263539.git.michal.simek@xilinx.com
Link: https://lore.kernel.org/r/f767fe007e446a2299fda9905e75b723c650a424.1605021644.git.michal.simek@xilinx.com
Link: https://lore.kernel.org/r/cc294ae1a79ef845af6809ddb4049f0c0f5bb87a.1598259551.git.michal.simek@xilinx.com
Link: https://lore.kernel.org/r/20200629081744.13916-1-krzk@kernel.org
And there are other minor changes (just moving things around).

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

index 1634af0bd8960f15b3c56f59f289435c2c0d2424..aa0ac95e122eaf1bfbc647880257c704922ff646 100644 (file)
                              <0x0 0xff9905e0 0x0 0x20>,
                              <0x0 0xff990e80 0x0 0x20>,
                              <0x0 0xff990ea0 0x0 0x20>;
-                       reg-names = "local_request_region", "local_response_region",
-                                   "remote_request_region", "remote_response_region";
+                       reg-names = "local_request_region",
+                                   "local_response_region",
+                                   "remote_request_region",
+                                   "remote_response_region";
                        #mbox-cells = <1>;
                        xlnx,ipi-id = <4>;
                };
        firmware {
                zynqmp_firmware: zynqmp-firmware {
                        compatible = "xlnx,zynqmp-firmware";
+                       #power-domain-cells = <1>;
                        method = "smc";
-                       #power-domain-cells = <0x1>;
                        u-boot,dm-pre-reloc;
 
-                       zynqmp_pcap: pcap {
-                               compatible = "xlnx,zynqmp-pcap-fpga";
-                               clock-names = "ref_clk";
-                       };
-
                        zynqmp_power: zynqmp-power {
                                u-boot,dm-pre-reloc;
                                compatible = "xlnx,zynqmp-power";
                                mbox-names = "tx", "rx";
                        };
 
+                       zynqmp_pcap: pcap {
+                               compatible = "xlnx,zynqmp-pcap-fpga";
+                               clock-names = "ref_clk";
+                       };
+
                        zynqmp_reset: reset-controller {
                                compatible = "xlnx,zynqmp-reset";
                                #reset-cells = <1>;
                };
        };
 
-       amba_apu: amba-apu@0 {
-               compatible = "simple-bus";
-               #address-cells = <2>;
-               #size-cells = <1>;
-               ranges = <0 0 0 0 0xffffffff>;
-
-               gic: interrupt-controller@f9010000 {
-                       compatible = "arm,gic-400";
-                       #interrupt-cells = <3>;
-                       reg = <0x0 0xf9010000 0x10000>,
-                             <0x0 0xf9020000 0x20000>,
-                             <0x0 0xf9040000 0x20000>,
-                             <0x0 0xf9060000 0x20000>;
-                       interrupt-controller;
-                       interrupt-parent = <&gic>;
-                       interrupts = <1 9 0xf04>;
-               };
-       };
-
-       amba: amba {
+       amba: axi {
                compatible = "simple-bus";
                u-boot,dm-pre-reloc;
                #address-cells = <2>;
                        power-domains = <&zynqmp_firmware PD_GDMA>;
                };
 
+               gic: interrupt-controller@f9010000 {
+                       compatible = "arm,gic-400";
+                       #interrupt-cells = <3>;
+                       reg = <0x0 0xf9010000 0x0 0x10000>,
+                             <0x0 0xf9020000 0x0 0x20000>,
+                             <0x0 0xf9040000 0x0 0x20000>,
+                             <0x0 0xf9060000 0x0 0x20000>;
+                       interrupt-controller;
+                       interrupt-parent = <&gic>;
+                       interrupts = <1 9 0xf04>;
+               };
+
                gpu: gpu@fd4b0000 {
                        status = "disabled";
                        compatible = "arm,mali-400", "arm,mali-utgard";
                };
 
                i2c0: i2c@ff020000 {
-                       compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
+                       compatible = "cdns,i2c-r1p14";
                        status = "disabled";
                        interrupt-parent = <&gic>;
                        interrupts = <0 17 4>;
                };
 
                i2c1: i2c@ff030000 {
-                       compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
+                       compatible = "cdns,i2c-r1p14";
                        status = "disabled";
                        interrupt-parent = <&gic>;
                        interrupts = <0 18 4>;
                              <0x0 0xfd480000 0x0 0x1000>,
                              <0x80 0x00000000 0x0 0x1000000>;
                        reg-names = "breg", "pcireg", "cfg";
-                       ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000  /* non-prefetchable memory */
-                                 0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
+                       ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */
+                                <0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
                        bus-range = <0x00 0xff>;
                        interrupt-map-mask = <0x0 0x0 0x0 0x7>;
                        interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
                        clock-output-names = "clk_out_sd1", "clk_in_sd1";
                };
 
-               smmu: smmu@fd800000 {
+               smmu: iommu@fd800000 {
                        compatible = "arm,mmu-500";
                        reg = <0x0 0xfd800000 0x0 0x20000>;
                        #iommu-cells = <1>;