├── .gitignore ├── Makefile ├── README ├── board-ksb-psx-spp-1.4.dts ├── board-versal-ksb-psx-cosim-virt.dts ├── board-versal-ksb-psx-virt.dts ├── board-versal-net-multi-socket-smp.dts ├── board-versal-net-psx-cdx-stub-cosim-virt.dts ├── board-versal-net-psx-cosim-virt.dts ├── board-versal-net-psx-spp-1.4.dts ├── board-versal-net-psx-virt.dts ├── board-versal-net-psx-vn-p-b2197-00-x-prc-07-es1.dts ├── board-versal-net-psx-vn-p-b2197-00-x-prc-07.dts ├── board-versal-net-psx-vn-p-b2197-00-x-prc-09-es1.dts ├── board-versal-net-psx-vn-p-b2197-00-x-prc-09.dts ├── board-versal-net-psx-vn-p-b2197-00.dts ├── board-versal-net-xcvn3176-psx-virt.dts ├── board-versal-net-xcvn3716-psx-virt.dts ├── board-versal-pmc-ddrmc-virt.dts ├── board-versal-pmc-vc-p-a2197-00.dts ├── board-versal-pmc-vc-pa2197-00.dts ├── board-versal-pmc-virt.dts ├── board-versal-pmc-vpk120.dts ├── board-versal-pmx-virt.dts ├── board-versal-ps-cosim-vc-p-a2197-00.dts ├── board-versal-ps-cosim-vck190.dts ├── board-versal-ps-cosim-virt-cache.dts ├── board-versal-ps-cosim-virt.dts ├── board-versal-ps-cosim-vitis-vck190.dts ├── board-versal-ps-cosim-vitis-vek280.dts ├── board-versal-ps-cosim-vitis-vek280_es_revb.dts ├── board-versal-ps-cosim-vitis-virt.dts ├── board-versal-ps-cosim-vpk120.dts ├── board-versal-ps-v80.dts ├── board-versal-ps-vc-p-a2197-00-prc-02.dts ├── board-versal-ps-vc-p-a2197-00.dts ├── board-versal-ps-vck190.dts ├── board-versal-ps-vck5000.dts ├── board-versal-ps-vek280-es1.dts ├── board-versal-ps-vek280.dts ├── board-versal-ps-vhk158-es1.dts ├── board-versal-ps-vhk158.dts ├── board-versal-ps-virt.dts ├── board-versal-ps-vm-p-m1369-00.dts ├── board-versal-ps-vmk180.dts ├── board-versal-ps-vpk120.dts ├── board-versal-ps-vpk180.dts ├── board-versal-psx-virt.dts ├── board-versal-vp1202-pmc-virt.dts ├── board-versal-vp1202-ps-cosim-virt.dts ├── board-versal-vp1202-ps-virt.dts ├── board-versal-xave1752-ps-virt.dts ├── board-versal-xave2002-ps-virt.dts ├── board-versal-xave2102-ps-virt.dts ├── board-versal-xave2202-ps-virt.dts ├── board-versal-xave2302-ps-virt.dts ├── board-versal-xave2602-ps-virt.dts ├── board-versal-xave2802-ps-virt.dts ├── board-versal-xcv70-ps-virt.dts ├── board-versal-xcv80-ps-virt.dts ├── board-versal-xcvc1502-ps-virt.dts ├── board-versal-xcvc1702-ps-virt.dts ├── board-versal-xcvc2602-ps-virt.dts ├── board-versal-xcvc2802-ps-cosim-vitis-virt.dts ├── board-versal-xcvc2802-ps-virt.dts ├── board-versal-xcve1752-ps-virt.dts ├── board-versal-xcve2002-ps-virt.dts ├── board-versal-xcve2102-ps-virt.dts ├── board-versal-xcve2202-ps-virt.dts ├── board-versal-xcve2302-pmc-virt.dts ├── board-versal-xcve2302-ps-cosim-virt.dts ├── board-versal-xcve2302-ps-cosim-vitis-virt.dts ├── board-versal-xcve2302-ps-virt.dts ├── board-versal-xcve2602-ps-virt.dts ├── board-versal-xcve2802-ps-virt.dts ├── board-versal-xcvh1522-ps-virt.dts ├── board-versal-xcvh1542-ps-virt.dts ├── board-versal-xcvh1542-se-ps-virt.dts ├── board-versal-xcvh1582-ps-virt.dts ├── board-versal-xcvh1742-ps-virt.dts ├── board-versal-xcvh1742-se-ps-virt.dts ├── board-versal-xcvh1782-ps-virt.dts ├── board-versal-xcvm1102-ps-virt.dts ├── board-versal-xcvm1302-ps-virt.dts ├── board-versal-xcvm1402-ps-virt.dts ├── board-versal-xcvm1402-se-ps-virt.dts ├── board-versal-xcvm1502-ps-virt.dts ├── board-versal-xcvm1802-ps-virt.dts ├── board-versal-xcvm2152-ps-virt.dts ├── board-versal-xcvm2152-se-ps-virt.dts ├── board-versal-xcvm2202-ps-virt.dts ├── board-versal-xcvm2202-se-ps-virt.dts ├── board-versal-xcvm2302-ps-virt.dts ├── board-versal-xcvm2502-ps-virt.dts ├── board-versal-xcvm2602-ps-virt.dts ├── board-versal-xcvm2902-ps-virt.dts ├── board-versal-xcvp1002-ps-virt.dts ├── board-versal-xcvp1002-se-ps-virt.dts ├── board-versal-xcvp1052-ps-virt.dts ├── board-versal-xcvp1052-se-ps-virt.dts ├── board-versal-xcvp1102-ps-virt.dts ├── board-versal-xcvp1202-ps-virt.dts ├── board-versal-xcvp1202-se-ps-virt.dts ├── board-versal-xcvp1402-ps-virt.dts ├── board-versal-xcvp1502-ps-virt.dts ├── board-versal-xcvp1552-ps-virt.dts ├── board-versal-xcvp1552-se-ps-virt.dts ├── board-versal-xcvp1702-ps-virt.dts ├── board-versal-xcvp1802-ps-virt.dts ├── board-versal-xcvp1802-se-ps-virt.dts ├── board-versal-xcvp1902-ps-virt.dts ├── board-versal-xcvp1902-se-ps-virt.dts ├── board-versal-xcvp2502-ps-virt.dts ├── board-versal-xcvp2802-ps-virt.dts ├── board-versal-xcvr1602-ps-virt.dts ├── board-versal-xcvr1652-ps-virt.dts ├── board-versal-xcvr1702-ps-virt.dts ├── board-versal-xqrve2302-ps-virt.dts ├── board-versal-xqve2102-ps-virt.dts ├── board-versal-xqve2302-ps-virt.dts ├── board-versal-xqvm1102-ps-virt.dts ├── board-versal-xqvm1502-ps-virt.dts ├── board-versal-xqvp1052-ps-virt.dts ├── board-versal-xqvp1402-ps-virt.dts ├── board-versal-xqvp1502-ps-virt.dts ├── board-versal-xqvp1702-ps-virt.dts ├── board-versal-xqvp2502-ps-virt.dts ├── board-versal2-asu-virt.dts ├── board-versal2-pmxc-virt.dts ├── board-versal2-psxc-cosim-virt.dts ├── board-versal2-psxc-cosim-vitis-ve-p-a2112-00.dts ├── board-versal2-psxc-cosim-vitis-vek385.dts ├── board-versal2-psxc-ve-p-a2112-00.dts ├── board-versal2-psxc-vek385.dts ├── board-versal2-psxc-virt.dts ├── board-versal2-xc2ve3358-psxc-virt.dts ├── board-versal2-xc2ve3504-psxc-virt.dts ├── board-versal2-xc2ve3558-psxc-virt.dts ├── board-versal2-xc2ve3804-psxc-virt.dts ├── board-versal2-xc2ve3858-psxc-virt.dts ├── board-versal2-xc2ve3858-se-psxc-virt.dts ├── board-versal2-xc2vm3554-psxc-virt.dts ├── board-versal2-xc2vm3858-psxc-virt.dts ├── board-zynqmp-cosim-zcu104.dts ├── board-zynqmp-e-a2197-00-reva.dts ├── board-zynqmp-e-a2197-00-revb.dts ├── board-zynqmp-k24-som.dts ├── board-zynqmp-k26-som.dts ├── board-zynqmp-k26-starterkit-virt.dts ├── board-zynqmp-kd240.dts ├── board-zynqmp-kv240.dts ├── board-zynqmp-kv260.dts ├── board-zynqmp-sc-revb.dts ├── board-zynqmp-sc-revc.dts ├── board-zynqmp-sck-kd.dtsi ├── board-zynqmp-sck-kv.dtsi ├── board-zynqmp-zc1751-dc1.dts ├── board-zynqmp-zc1751-dc2.dts ├── board-zynqmp-zcu100.dts ├── board-zynqmp-zcu102.dts ├── board-zynqmp-zcu104.dts ├── board-zynqmp-zcu1275.dts ├── board-zynqmp-zcu1285.dts ├── ep108-arm.cosim.dts ├── ep108-arm.dts ├── include ├── i2c-dummy.dtsh ├── interconnect.dtsh ├── loader.dtsh ├── smmuv2.dtsh ├── utils.dtsh ├── versal-net │ ├── coresight-memmap.dtsh │ ├── fpd-memmap.dtsh │ ├── gic-memmap.dtsh │ ├── iou-memmap.dtsh │ ├── irq-aliases.dtsh │ ├── irq-map.dtsh │ ├── lpd-memmap.dtsh │ ├── memmap.dtsh │ ├── npi-memmap.dtsh │ ├── ocm-memmap.dtsh │ ├── pki-memmap.dtsh │ ├── pmx-memmap.dtsh │ ├── psm-memmap.dtsh │ └── top-memmap.dtsh ├── versal │ ├── apu.dtsh │ ├── memmap │ │ ├── versal-xcvc1502-npi-memmap.dtsi │ │ ├── versal-xcvc1702-npi-memmap.dtsi │ │ ├── versal-xcvc2802-npi-memmap.dtsi │ │ ├── versal-xcve2102-npi-memmap.dtsi │ │ ├── versal-xcve2302-npi-memmap.dtsi │ │ ├── versal-xcvh1582-npi-memmap.dtsi │ │ ├── versal-xcvh1782-npi-memmap.dtsi │ │ ├── versal-xcvm1402-npi-memmap.dtsi │ │ ├── versal-xcvm2152-npi-memmap.dtsi │ │ ├── versal-xcvp1052-npi-memmap.dtsi │ │ ├── versal-xcvp1202-npi-memmap.dtsi │ │ ├── versal-xcvp1402-npi-memmap.dtsi │ │ ├── versal-xcvp1702-npi-memmap.dtsi │ │ ├── versal-xcvp1802-npi-memmap.dtsi │ │ ├── versal-xcvp1902-npi-memmap.dtsi │ │ ├── versal-xcvp2502-npi-memmap.dtsi │ │ ├── versal-xcvp2802-npi-memmap.dtsi │ │ └── versal-xcvr1702-npi-memmap.dtsi │ ├── ppu.dtsh │ ├── rpu.dtsh │ └── smid.dtsh └── versal2 │ ├── irq-aliases.dtsh │ ├── irq-map.dtsh │ ├── memmap │ ├── versal2-asu-memmap.dtsh │ ├── versal2-coresight-memmap.dtsh │ ├── versal2-fpd-memmap.dtsh │ ├── versal2-gic-memmap.dtsh │ ├── versal2-iou-memmap.dtsh │ ├── versal2-lpd-memmap.dtsh │ ├── versal2-memmap.dtsh │ ├── versal2-mmi-memmap.dtsh │ ├── versal2-ocm-memmap.dtsh │ ├── versal2-pmxc-memmap.dtsh │ ├── versal2-top-memmap.dtsh │ ├── versal2-xc2ve3358-npi-memmap.dtsi │ ├── versal2-xc2ve3558-npi-memmap.dtsi │ └── versal2-xc2ve3858-npi-memmap.dtsi │ └── smid.dtsh ├── smid.dtsh ├── ultra96-arm.dts ├── versal-boot-init.dtsi ├── versal-cpm-memmap.dtsh ├── versal-cpm5-memmap.dtsh ├── versal-cpm5.dtsi ├── versal-ddrmc-cpus.dtsi ├── versal-ddrmc-npi.dtsi ├── versal-ddrmc.dtsi ├── versal-fpd-memmap.dtsh ├── versal-gic-memmap.dtsh ├── versal-gty.dtsi ├── versal-h10-npi-memmap.dtsh ├── versal-icnt.dtsi ├── versal-iou-memmap.dtsh ├── versal-irqs.dtsh ├── versal-lpd-memmap.dtsh ├── versal-memmap.dtsh ├── versal-net-boot-init.dtsi ├── versal-net-hnic.dtsi ├── versal-net-pl-remoteport.dtsi ├── versal-net-psmx.dtsi ├── versal-npi-memmap.dtsh ├── versal-pmc-bat.dtsi ├── versal-pmc-iou.dtsi ├── versal-pmc-memmap.dtsh ├── versal-pmc-npi.dtsi ├── versal-pmc-pl.dtsi ├── versal-pmc-ppu-cpus.dtsi ├── versal-pmc-ppu.dtsi ├── versal-pmc-sec.dtsi ├── versal-pmc-sys.dtsi ├── versal-pmc.dtsi ├── versal-pmx-shared-overlay.dtsi ├── versal-pmx-system-overlay.dtsi ├── versal-powermap.dtsh ├── versal-ps-apu.dtsi ├── versal-ps-iou.dtsi ├── versal-ps-irq-map.dtsh ├── versal-ps-irqs.dtsh ├── versal-ps-pl-remoteport.dtsi ├── versal-ps-rpu.dtsi ├── versal-psm-cpu.dtsi ├── versal-psm-memmap.dtsh ├── versal-psm.dtsi ├── versal-psx-apu.dtsi ├── versal-psx-irq-map.dtsh ├── versal-psx-irqs.dtsh ├── versal-psx-memmap-aliases.dtsh ├── versal-psx-rpu.dtsi ├── versal-psx-shared-overlay.dtsi ├── versal-psx.dtsi ├── versal-rams.dtsi ├── versal-resetmap.dtsh ├── versal-silicon-freq.dtsi ├── versal-top-memmap.dtsh ├── versal-vdu.dtsi ├── versal-virtio-mmio.dtsi ├── versal-vitis.dtsi ├── versal-wiremap.dtsh ├── versal-xram-memmap.dtsh ├── versal.dtsh ├── versal2-asu-cpu.dtsi ├── versal2-asu-io.dtsi ├── versal2-asu-irqs.dtsh ├── versal2-asu-sec.dtsi ├── versal2-asu.dtsi ├── versal2-icnt.dtsi ├── versal2-memmap-aliases.dtsh ├── versal2-mmi.dtsi ├── versal2-pl-remoteport.dtsi ├── versal2-pmx-shared-overlay.dtsi ├── versal2-pmxc-system-overlay.dtsi ├── versal2-psx-shared-overlay.dtsi ├── versal2-psxc-irq-map.dtsh ├── versal2-psxc-irqs.dtsh ├── versal2-rams.dtsi ├── versal2-wiremap.dtsh ├── zcu100-arm.dts ├── zcu102-arm.cosim.dts ├── zcu102-arm.dts ├── zynq-pl-remoteport.dtsi ├── zynqmp-arm.dtsi ├── zynqmp-boot-init.dtsi ├── zynqmp-csu.dtsi ├── zynqmp-icnt.dtsi ├── zynqmp-iou.dtsi ├── zynqmp-irq-map.dtsh ├── zynqmp-irqs.dtsh ├── zynqmp-memmap.dtsh ├── zynqmp-memory-regions.dtsi ├── zynqmp-pl-remoteport.dtsi ├── zynqmp-pmu-dev.dtsi ├── zynqmp-pmu.dts └── zynqmp.dtsh /.gitignore: -------------------------------------------------------------------------------- 1 | LATEST/ 2 | *~ 3 | versal-pmc-npi-nxx.dtsi 4 | versal-gty-npi.dtsi 5 | versal-vp1202-pmc-npi-nxx.dtsi 6 | *-ps-cosim-vitis-virt.dts 7 | !board-versal-xcvc2802-ps-cosim-vitis-virt.dts 8 | !board-versal-xcve2302-ps-cosim-vitis-virt.dts 9 | *-psxc-cosim-vitis-virt.dts 10 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016, Xilinx Inc 2 | All rights reserved. 3 | 4 | This repo is used to build QEMU specific device trees for the Zynq Ultrascale+ 5 | architecture. These device trees are used by the QEMU provided by Xilinx to 6 | internally generate machine models. 7 | 8 | For more instructions on running QEMU see the Xilinx wiki: 9 | http://www.wiki.xilinx.com/QEMU+-+Zynq+UltraScalePlus 10 | 11 | To build the device trees: 12 | 1. You must have dtc on your PATH, or specify DTC= env to a dtc executable. 13 | 2. Run make 14 | 15 | This will give you a folder called LATEST which contains subdirectories for the 16 | different QEMU operating modes. Under these sub directories is the board 17 | specific device trees. 18 | 19 | Xilinx welcomes and encourages users to send patches to this repository. If you 20 | would like to contribute code please either send a pull request through the 21 | GitHub interface or send Git patches to qemu-dev@xilinx.com. 22 | 23 | If you have any questions the maintainer can be contacted at: 24 | Alistair Francis 25 | -------------------------------------------------------------------------------- /board-ksb-psx-spp-1.4.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal-Net Virtual PSX board device tree. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-net-psx-spp-1.4.dts" 31 | -------------------------------------------------------------------------------- /board-versal-ksb-psx-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal-Net Virtual PSX cosim board device tree. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-net-psx-cosim-virt.dts" 31 | -------------------------------------------------------------------------------- /board-versal-ksb-psx-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal-Net Virtual PSX board device tree. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-net-psx-virt.dts" 31 | -------------------------------------------------------------------------------- /board-versal-net-psx-cdx-stub-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal-Net Virtual PSX cosim board device tree. 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-net-psx-cosim-virt.dts" 31 | 32 | &pmc_tap { 33 | platform = ; 34 | }; 35 | -------------------------------------------------------------------------------- /board-versal-net-psx-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal-Net Virtual PSX cosim board device tree. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-net-psx-spp-1.4.dts" 31 | #include "versal-net-pl-remoteport.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-net-psx-spp-1.4.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Net PSX device tree. 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-net-psx-virt.dts" 31 | 32 | &pmc_tap { 33 | platform-ver = <0x5>; 34 | }; 35 | -------------------------------------------------------------------------------- /board-versal-net-psx-vn-p-b2197-00-x-prc-07-es1.dts: -------------------------------------------------------------------------------- 1 | /* vn-p-b2197-00-x-prc-07-es1 Board dts 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal-net-psx-vn-p-b2197-00-x-prc-07.dts" 10 | 11 | &pmc_tap { 12 | silicon-rev=<0>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-net-psx-vn-p-b2197-00-x-prc-07.dts: -------------------------------------------------------------------------------- 1 | /* X-PRC-07 Daughter Card for vn-p-b2197-00 Board. 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Features 11 | * -OSPI - MT35XU02GCBA1G12-0SIT 12 | * -USB 13 | * -EMMC - MTFC64GAPALBH-IT 14 | * -GEM1 15 | * -GEM_PHY - VSC8540 16 | * -UART0/1 17 | * -BOOT MODE supported: OSPI 18 | */ 19 | 20 | #include "board-versal-net-psx-vn-p-b2197-00.dts" 21 | 22 | &pmc_qspi_0 { 23 | /delete-node/ qspi_flash_lcs_lb@0; 24 | /delete-node/ qspi_flash_lcs_ub@0; 25 | /delete-node/ qspi_flash_ucs_lb@0; 26 | /delete-node/ qspi_flash_ucs_ub@0; 27 | }; 28 | 29 | &ospi { 30 | /delete-node/ ospi_flash_ucs_lb@0; 31 | /delete-node/ ospi_flash_ucs_ub@0; 32 | }; 33 | 34 | &ospi_flash_lcs_lb { 35 | compatible = "mt35xu02gbba"; 36 | }; 37 | 38 | &ospi_flash_lcs_ub { 39 | compatible = "mt35xu02gbba"; 40 | }; 41 | 42 | &spi1 { 43 | spi1_flash0@0 { 44 | compatible = "mx25u3232f"; 45 | reg = <0x02 0x00>; 46 | }; 47 | }; 48 | 49 | &mdio0 { 50 | /delete-node/ phy@2; 51 | phy0: phy@1 { 52 | compatible = "dp83826"; 53 | device_type = "ethernet-phy"; 54 | reg = <1>; 55 | }; 56 | }; 57 | 58 | &ps_i2c1 { 59 | eeprom1: eeprom@51 { 60 | compatible = "at,24c08"; 61 | reg = <0x51>; 62 | size = <0x2000>; 63 | blockdev-node-name = "i2c1.eeprom-51"; 64 | }; 65 | i2c1_bridge: i2c1_bridge@0 { 66 | compatible = "i2c-wire"; 67 | i2cWire-peer = <&i2c0_bridge>; 68 | }; 69 | }; 70 | 71 | &ps_i2c0 { 72 | i2c0_bridge: i2c0_bridge@0 { 73 | compatible = "i2c-wire"; 74 | i2cWire-peer = <&i2c1_bridge>; 75 | }; 76 | }; 77 | -------------------------------------------------------------------------------- /board-versal-net-psx-vn-p-b2197-00-x-prc-09-es1.dts: -------------------------------------------------------------------------------- 1 | /* vn-p-b2197-00-x-prc-09-es1 Board dts 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal-net-psx-vn-p-b2197-00-x-prc-09.dts" 10 | 11 | &pmc_tap { 12 | silicon-rev=<0>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-net-psx-vn-p-b2197-00-x-prc-09.dts: -------------------------------------------------------------------------------- 1 | /* X-PRC-09 Daughter Card for vn-p-b2197-00 Board. 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Features 11 | * -QSPI - MT25QU01GBBB8E12-0SIT - Dual Parellel 12 | * -USB 13 | * -SD 14 | * -GEM0 15 | * GEM_PHY: DP83867CRRGZ 16 | * -UART0/1 17 | * -BOOT MODE Supported: QSPI, SD 18 | */ 19 | 20 | #include "board-versal-net-psx-vn-p-b2197-00.dts" 21 | 22 | &ospi { 23 | /delete-node/ ospi_flash_lcs_lb@0; 24 | /delete-node/ ospi_flash_lcs_ub@0; 25 | /delete-node/ ospi_flash_ucs_lb@0; 26 | /delete-node/ ospi_flash_ucs_ub@0; 27 | }; 28 | 29 | &pmc_qspi_0 { 30 | /delete-node/ qspi_flash_lcs_ub@0; 31 | /delete-node/ qspi_flash_ucs_lb@0; 32 | }; 33 | 34 | &mdio0 { 35 | /delete-node/ phy@2; 36 | phy0: phy@1 { 37 | compatible = "dp83867"; 38 | device_type = "ethernet-phy"; 39 | reg = <1>; 40 | }; 41 | }; 42 | 43 | &ps_i2c1 { 44 | eeprom1: eeprom@51 { 45 | compatible = "at,24c08"; 46 | reg = <0x51>; 47 | size = <0x2000>; 48 | blockdev-node-name = "i2c1.eeprom-51"; 49 | }; 50 | i2c1_bridge: i2c1_bridge@0 { 51 | compatible = "i2c-wire"; 52 | i2cWire-peer = <&i2c0_bridge>; 53 | }; 54 | }; 55 | 56 | &ps_i2c0 { 57 | i2c0_bridge: i2c0_bridge@0 { 58 | compatible = "i2c-wire"; 59 | i2cWire-peer = <&i2c1_bridge>; 60 | }; 61 | }; 62 | 63 | #if 1 64 | /* 65 | * I3C0 is connected to an lsm6dso sensor and remote_i3c device. 66 | */ 67 | &psx_i3c0 { 68 | lsm6dso: lsm6dso@0 { 69 | compatible = "lsm6dso"; 70 | }; 71 | remote_i3c: remote_i3c { 72 | compatible = "remote-i3c"; 73 | chardev = "rp-i3c"; 74 | device-name = "remote-i3c"; 75 | }; 76 | }; 77 | #else 78 | /* Uncomment this block to connect i3c0/1 in loopback as master and slave. */ 79 | &psx_i3c0 { 80 | i3c1_slave: i3c1_slave { 81 | compatible = "dwc.i3c-target"; 82 | dwc-i3c-device = <&psx_i3c1>; 83 | }; 84 | }; 85 | 86 | &psx_i3c1 { 87 | i3c-target = <&i3c1_slave>; 88 | }; 89 | #endif 90 | -------------------------------------------------------------------------------- /board-versal-net-psx-vn-p-b2197-00.dts: -------------------------------------------------------------------------------- 1 | /* Versal Net vn-p-b2197-00 Board 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * (4 + 4 + 4) LPDDR + 2 DDR 11 | * 12 | */ 13 | #include "board-versal-net-xcvn3716-psx-virt.dts" 14 | 15 | /* 16 | * DDR Memory Map 17 | * 0 ... 0x80000000 -> 2GB 18 | * TODO: Update the remaining address map 19 | */ 20 | 21 | &ps_i2c1 { 22 | eeprom0: eeprom@54 { 23 | compatible = "at,24c08"; 24 | reg = <0x54>; 25 | size = <0x2000>; 26 | blockdev-node-name = "i2c1.eeprom-54"; 27 | }; 28 | }; 29 | -------------------------------------------------------------------------------- /board-versal-net-xcvn3176-psx-virt.dts: -------------------------------------------------------------------------------- 1 | /* Versal Net xcvn3716 device 2 | * 3 | * Copyright (c) 2022, Advanced Micro Devices, Inc. 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | /* 9 | * xcvn3716 versal-net device 10 | * *GTYP 11 | * *GTM 12 | * *XDDR5 13 | * *CPM5N 14 | * *HNICX 15 | */ 16 | 17 | #include "board-versal-net-xcvn3716-psx-virt.dts" 18 | -------------------------------------------------------------------------------- /board-versal-net-xcvn3716-psx-virt.dts: -------------------------------------------------------------------------------- 1 | /* Versal Net xcvn3716 device 2 | * 3 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | /* 9 | * xcvn3716 versal-net device 10 | * *GTYP 11 | * *GTM 12 | * *XDDR5 13 | * *CPM5N 14 | * *HNICX 15 | */ 16 | 17 | #include "board-versal-net-psx-spp-1.4.dts" 18 | #include "versal-gty.dtsi" 19 | #include "versal-cpm5-memmap.dtsh" 20 | #include "versal-cpm5.dtsi" 21 | -------------------------------------------------------------------------------- /board-versal-pmc-ddrmc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual PMC + DDRMC board device tree 3 | * 4 | * Copyright (c) 2018, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | /* 31 | * This board is identical with the PMC virt board with the 32 | * exception that it includes the DDRMC MicroBlazes. 33 | * 34 | * The reason for not including the DDRMC uBs in the default 35 | * PMC board is that it's likely that bootflows will load 36 | * code onto those cores and they will thus be consuming 37 | * unnecessary run time. 38 | */ 39 | #define HAVE_DDRMC_CPUS 1 40 | #include "board-versal-pmc-virt.dts" 41 | #include "versal-ddrmc-cpus.dtsi" 42 | -------------------------------------------------------------------------------- /board-versal-pmc-vc-p-a2197-00.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal PMC Tenzing board device tree 3 | * 4 | * Copyright (c) 2019, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-pmc-virt.dts" 31 | -------------------------------------------------------------------------------- /board-versal-pmc-vc-pa2197-00.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal PMC Tenzing board device tree 3 | * 4 | * Copyright (c) 2019, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-pmc-vc-p-a2197-00.dts" 31 | -------------------------------------------------------------------------------- /board-versal-pmc-vpk120.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal PMC VPK120 board device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-pmc-virt.dts" 31 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vc-p-a2197-00.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual Cosim PS board for tenzing 3 | * 4 | * Copyright (c) 2019, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-ps-vc-p-a2197-00.dts" 31 | #include "versal-ps-pl-remoteport.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vck190.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual vck190 cosim board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #include "board-versal-ps-vck190.dts" 30 | #include "versal-ps-pl-remoteport.dtsi" 31 | #include "versal-silicon-freq.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-virt-cache.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual Cosim PS board device tree instantiating an iomem-cache 3 | * making it possible to have DDR through the remote port. 4 | * 5 | * Copyright (c) 2020, Xilinx Inc 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * * Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * * Redistributions in binary form must reproduce the above copyright 13 | * notice, this list of conditions and the following disclaimer in the 14 | * documentation and/or other materials provided with the distribution. 15 | * * Neither the name of the nor the 16 | * names of its contributors may be used to endorse or promote products 17 | * derived from this software without specific prior written permission. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 20 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 21 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 22 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 23 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 24 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 26 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | */ 30 | 31 | #include "board-versal-ps-virt.dts" 32 | #include "versal-ps-pl-remoteport.dtsi" 33 | 34 | &amba { 35 | iomem_cache: iomem_cache@0 { 36 | compatible = "iomem-cache"; 37 | 38 | reg = < 39 | 0x0 MM_TOP_DDR 0x0 MM_TOP_DDR_SIZE 0x1 40 | MM_TOP_DDR_2_H MM_TOP_DDR_2_L MM_TOP_DDR_2_SIZE_H MM_TOP_DDR_2_SIZE_L 0x1 41 | MM_TOP_DDR_3_H MM_TOP_DDR_3_L MM_TOP_DDR_3_SIZE_H MM_TOP_DDR_3_SIZE_L 0x1 42 | MM_TOP_DDR_4_H MM_TOP_DDR_4_L MM_TOP_DDR_4_SIZE_H MM_TOP_DDR_4_SIZE_L 0x1 43 | MM_TOP_DDR_CH1_H MM_TOP_DDR_CH1_L MM_TOP_DDR_CH1_SIZE_H MM_TOP_DDR_CH1_SIZE_L 0x1 44 | MM_TOP_DDR_CH2_H MM_TOP_DDR_CH2_L MM_TOP_DDR_CH2_SIZE_H MM_TOP_DDR_CH2_SIZE_L 0x1 45 | MM_TOP_DDR_CH3_H MM_TOP_DDR_CH3_L MM_TOP_DDR_CH3_SIZE_H MM_TOP_DDR_CH3_SIZE_L 0x1 46 | >; 47 | 48 | downstream-mr = <&cci_mr>; 49 | }; 50 | }; 51 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual Cosim PS board device tree 3 | * 4 | * Copyright (c) 2016, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-ps-virt.dts" 31 | #include "versal-ps-pl-remoteport.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vitis-vck190.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Vitis Versal cosim vck190 board 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-ps-cosim-vck190.dts" 31 | #include "versal-vitis.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vitis-vek280.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Vitis Versal VEK280 cosim board 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-ps-cosim-vitis-vek280_es_revb.dts" 11 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vitis-vek280_es_revb.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Vitis Versal VEK280 cosim board 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #include "board-versal-ps-vek280.dts" 10 | #include "versal-ps-pl-remoteport.dtsi" 11 | #include "versal-vitis.dtsi" 12 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vitis-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Cosim vitis virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-ps-cosim-virt.dts" 11 | #include "versal-vitis.dtsi" 12 | -------------------------------------------------------------------------------- /board-versal-ps-cosim-vpk120.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Cosim VPK120 board. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-ps-vpk120.dts" 31 | #include "versal-ps-pl-remoteport.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-ps-v80.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Alveo V80. 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal-xcv80-ps-virt.dts" 10 | 11 | /* 12 | * 2GB OSPI 13 | * 32GB HBM 14 | */ 15 | 16 | &ospi { 17 | /delete-node/ ospi_flash_lcs_ub@0; 18 | /delete-node/ ospi_flash_ucs_lb@0; 19 | /delete-node/ ospi_flash_ucs_ub@0; 20 | }; 21 | 22 | &ospi_flash_lcs_lb { 23 | compatible = "mt35xu02gbba"; 24 | }; 25 | -------------------------------------------------------------------------------- /board-versal-ps-vc-p-a2197-00-prc-02.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Board dts for vc-p-a2197-00-prc-02 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-ps-vc-p-a2197-00.dts" 11 | 12 | &mdio0 { 13 | 14 | phy0: phy@1 { 15 | compatible = "88e1510"; 16 | }; 17 | /delete-node/ phy@2; 18 | }; 19 | -------------------------------------------------------------------------------- /board-versal-ps-vck190.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual vck190 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #include "board-versal-ps-virt.dts" 30 | #include "versal-silicon-freq.dtsi" 31 | 32 | /{ 33 | MEM_REGION64(ddr_3, MM_TOP_DDR_CH1_H, MM_TOP_DDR_CH1_L, MM_TOP_DDR_CH1, 34 | 0x2, 0x0, &ddr_3_mem) // 8 GB 35 | }; 36 | 37 | &ps_i2c1 { 38 | i2cswitch@74 { 39 | #address-cells = <1>; 40 | #size-cells = <0>; 41 | compatible = "nxp,pca9548"; 42 | reg = <0x74>; 43 | i2c@0 { 44 | #address-cells = <1>; 45 | #size-cells = <0>; 46 | reg = <0>; 47 | eeprom@54 { 48 | compatible = "at,24c08"; 49 | reg = <0x54>; 50 | }; 51 | }; 52 | }; 53 | }; 54 | 55 | &ospi_flash_lcs_lb { 56 | compatible = "mt35xu02gbba"; 57 | }; 58 | -------------------------------------------------------------------------------- /board-versal-ps-vck5000.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual vck5000 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-ps-virt.dts" 31 | #include "versal-silicon-freq.dtsi" 32 | 33 | &ospi { 34 | /delete-node/ ospi_flash_lcs_ub@0; 35 | /delete-node/ ospi_flash_ucs_lb@0; 36 | /delete-node/ ospi_flash_ucs_ub@0; 37 | }; 38 | 39 | &ospi_flash_lcs_lb { 40 | compatible = "mt35xu02gbba"; 41 | }; 42 | -------------------------------------------------------------------------------- /board-versal-ps-vek280-es1.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VEK280 ES1 board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-ps-vek280.dts" 11 | 12 | &pmc_tap { 13 | silicon-rev=<0>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-ps-vek280.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VEK280 board device tree 3 | * 4 | * Un-supported Features: 5 | * CPM 6 | * PCIE 7 | * QSFP 8 | * System Controller 9 | * I2C PM Bus 10 | * 11 | * Boot Devices Supported: OSPI & SD 12 | * 13 | * Copyright (c) 2021, Xilinx Inc 14 | * All rights reserved. 15 | * 16 | * SPDX-License-Identifier: BSD-3-Clause 17 | */ 18 | 19 | #include "board-versal-xcve2802-ps-virt.dts" 20 | 21 | /* QSPI is not preferred boot device */ 22 | &pmc_qspi_0 { 23 | /delete-node/ qspi_flash_lcs_lb@0; 24 | /delete-node/ qspi_flash_lcs_ub@0; 25 | /delete-node/ qspi_flash_ucs_lb@0; 26 | /delete-node/ qspi_flash_ucs_ub@0; 27 | }; 28 | 29 | /* Attach only one OSPI Flash */ 30 | &ospi { 31 | /delete-node/ ospi_flash_lcs_ub@0; 32 | /delete-node/ ospi_flash_ucs_lb@0; 33 | /delete-node/ ospi_flash_ucs_ub@0; 34 | }; 35 | 36 | &ospi_flash_lcs_lb { 37 | compatible = "mt35xu02gbba"; 38 | }; 39 | 40 | &ps_i2c1 { 41 | eeprom_versal: eeprom@51 { 42 | compatible = "at,24c08"; 43 | reg = <0x54>; 44 | size = <0x4000>; 45 | blockdev-node-name = "ps_i2c1.eeprom-54"; 46 | }; 47 | }; 48 | 49 | &mdio0 { 50 | 51 | phy0: phy@1 { 52 | compatible = "ADIN1300"; 53 | }; 54 | }; 55 | -------------------------------------------------------------------------------- /board-versal-ps-vhk158-es1.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VHK158 ES1 board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-ps-vhk158.dts" 11 | 12 | &pmc_tap { 13 | silicon-rev=<0>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-ps-vhk158.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VHK158 board device tree 3 | * Supported Features: 4 | * OSPI 5 | * SD/EMMC 6 | * EEPROM 7 | * 8 | * Un-supported Features: 9 | * CPM 10 | * PCIE 11 | * QSFP 12 | * System Controller 13 | * I2C PM Bus 14 | * 15 | * Boot Devices Supported: OSPI & SD 16 | * 17 | * Copyright (c) 2021, Xilinx Inc 18 | * All rights reserved. 19 | * 20 | * SPDX-License-Identifier: BSD-3-Clause 21 | */ 22 | 23 | #include "board-versal-xcvh1582-ps-virt.dts" 24 | 25 | /* QSPI is not preferred boot device */ 26 | &pmc_qspi_0 { 27 | /delete-node/ qspi_flash_lcs_lb@0; 28 | /delete-node/ qspi_flash_lcs_ub@0; 29 | /delete-node/ qspi_flash_ucs_lb@0; 30 | /delete-node/ qspi_flash_ucs_ub@0; 31 | }; 32 | 33 | /* Attach only one OSPI Flash */ 34 | &ospi { 35 | /delete-node/ ospi_flash_lcs_ub@0; 36 | /delete-node/ ospi_flash_ucs_lb@0; 37 | /delete-node/ ospi_flash_ucs_ub@0; 38 | }; 39 | 40 | &ospi_flash_lcs_lb { 41 | compatible = "mt35xu02gbba"; 42 | }; 43 | 44 | &ps_i2c1 { 45 | eeprom_versal: eeprom@51 { 46 | compatible = "at,24c08"; 47 | reg = <0x54>; 48 | size = <0x4000>; 49 | blockdev-node-name = "ps_i2c1.eeprom-54"; 50 | }; 51 | }; 52 | 53 | /{ 54 | hbmmc_0_mem: memory@MM_TOP_HBM0 { 55 | compatible = "qemu:memory-region"; 56 | device_type = "memory"; 57 | container = <&amba>; 58 | }; 59 | 60 | MEM_REGION64(hbmmc_bnk0, MM_TOP_HBM0_H, MM_TOP_HBM0_L, MM_TOP_HBM0, 61 | 0x8, 0x0, &hbmmc_0_mem) // 32 GB 62 | }; 63 | -------------------------------------------------------------------------------- /board-versal-ps-vmk180.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VMK180 board device tree 3 | * 4 | * Boot Devices Supported: QSPI & SD 5 | * 6 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 7 | * All rights reserved. 8 | * 9 | * SPDX-License-Identifier: BSD-3-Clause 10 | */ 11 | 12 | 13 | #include "board-versal-xcvm1802-ps-virt.dts" 14 | 15 | &ospi { 16 | /delete-node/ ospi_flash_lcs_lb; 17 | /delete-node/ ospi_flash_lcs_ub; 18 | /delete-node/ ospi_flash_ucs_lb; 19 | /delete-node/ ospi_flash_ucs_ub; 20 | }; 21 | 22 | &mdio0 { 23 | /delete-node/ phy@2; 24 | phy1: phy@2 { 25 | compatible = "dp83867"; 26 | device_type = "ethernet-phy"; 27 | reg = <2>; 28 | }; 29 | }; 30 | -------------------------------------------------------------------------------- /board-versal-ps-vpk120.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VPK120 model 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-xcvp1202-ps-virt.dts" 31 | 32 | &ospi { 33 | /delete-node/ ospi_flash_lcs_lb; 34 | /delete-node/ ospi_flash_lcs_ub; 35 | /delete-node/ ospi_flash_ucs_lb; 36 | /delete-node/ ospi_flash_ucs_ub; 37 | }; 38 | 39 | &ps_i2c1 { 40 | i2cswitch@74 { 41 | #address-cells = <1>; 42 | #size-cells = <0>; 43 | reg = <0x74>; 44 | compatible = "pca9548"; 45 | i2c@0 { 46 | #address-cells = <1>; 47 | #size-cells = <0>; 48 | reg = <0>; 49 | eeprom0: eeprom@54 { 50 | compatible = "at,24c08"; 51 | reg = <0x54>; 52 | size = <0x4000>; 53 | }; 54 | }; 55 | }; 56 | }; 57 | -------------------------------------------------------------------------------- /board-versal-psx-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual PSX board device tree. 3 | * This board is aimed to be compatible with the Versal Base PS while 4 | * including new features such as the A78s and R52s. 5 | * Existing Versal tools should work with this platform (e.g bootgen, 6 | * PetaLinux, Vitis and Co-simulation) 7 | * 8 | * This board targets intermediate porting efforts. 9 | * 10 | * Copyright (c) 2020, Xilinx Inc 11 | * All rights reserved. 12 | * 13 | * Redistribution and use in source and binary forms, with or without 14 | * modification, are permitted provided that the following conditions are met: 15 | * * Redistributions of source code must retain the above copyright 16 | * notice, this list of conditions and the following disclaimer. 17 | * * Redistributions in binary form must reproduce the above copyright 18 | * notice, this list of conditions and the following disclaimer in the 19 | * documentation and/or other materials provided with the distribution. 20 | * * Neither the name of the nor the 21 | * names of its contributors may be used to endorse or promote products 22 | * derived from this software without specific prior written permission. 23 | * 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 25 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 26 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 27 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 28 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 29 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 30 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 31 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 33 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 | */ 35 | 36 | #define APU_CPU_MODEL "cortex-a78-arm-cpu" 37 | 38 | #include "board-versal-ps-virt.dts" 39 | 40 | &pmc_tap { 41 | idcode = <0x14D80093>; 42 | }; 43 | -------------------------------------------------------------------------------- /board-versal-vp1202-pmc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal vp1202 PMC device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #define VERSAL_VP1202 31 | #include "board-versal-pmc-vc-p-a2197-00.dts" 32 | -------------------------------------------------------------------------------- /board-versal-vp1202-ps-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal vp1202 Virtual Cosim PS board 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-xcvp1202-ps-virt.dts" 31 | #include "versal-ps-pl-remoteport.dtsi" 32 | #include "versal-silicon-freq.dtsi" 33 | -------------------------------------------------------------------------------- /board-versal-vp1202-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal vp1202 Virt model 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-xcvp1202-ps-virt.dts" 31 | 32 | -------------------------------------------------------------------------------- /board-versal-xave1752-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series device xave1752 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve1752-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xave2002-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xave2002 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2002-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xave2102-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xave2102 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2102-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xave2202-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xave2202 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2202-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xave2302-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xave2302 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2302-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xave2602-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xave2602 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2602-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xave2802-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xave2802 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2802-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xcv70-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal based Alveo device using xcvc2802 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | 11 | #include "board-versal-xcvc2802-ps-virt.dts" 12 | 13 | &pmc_tap { 14 | idcode = <0x14CD7093>; 15 | }; 16 | -------------------------------------------------------------------------------- /board-versal-xcv80-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal XCV80 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvh1782-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x14D2F093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvc1502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Core series device xcvc1502 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define VERSAL_NPI_OVERRIDE 10 | #include "versal/memmap/versal-xcvc1502-npi-memmap.dtsi" 11 | #include "board-versal-ps-virt.dts" 12 | #include "versal-silicon-freq.dtsi" 13 | 14 | &pmc_tap { 15 | idcode = <0x04C98093>; 16 | }; 17 | -------------------------------------------------------------------------------- /board-versal-xcvc1702-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Core series device xcvc1702 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupported Devices: 12 | * CPM 13 | * PCIE 14 | */ 15 | 16 | #define VERSAL_NPI_OVERRIDE 17 | #include "versal/memmap/versal-xcvc1702-npi-memmap.dtsi" 18 | 19 | #include "board-versal-ps-virt.dts" 20 | #include "versal-silicon-freq.dtsi" 21 | 22 | &pmc_tap { 23 | idcode = <0x04C98093>; 24 | }; 25 | -------------------------------------------------------------------------------- /board-versal-xcvc2602-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal xcvc2602 virtual board dts. 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #include "board-versal-xcvc2802-ps-virt.dts" 10 | 11 | &pmc_tap { 12 | idcode = <0x14CD1093>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-xcvc2802-ps-cosim-vitis-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Vitis Versal cosim xcvc2802-virt board 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal-xcvc2802-ps-virt.dts" 31 | #include "versal-ps-pl-remoteport.dtsi" 32 | #include "versal-vitis.dtsi" 33 | -------------------------------------------------------------------------------- /board-versal-xcvc2802-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Core series device xcvc2802 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupported Devices: 12 | * CPM 13 | * VDU 14 | * PCIE 15 | */ 16 | #define VERSAL_NPI_OVERRIDE 17 | #include "versal/memmap/versal-xcvc2802-npi-memmap.dtsi" 18 | 19 | #include "versal-cpm5-memmap.dtsh" 20 | #include "board-versal-ps-virt.dts" 21 | #include "versal-silicon-freq.dtsi" 22 | #include "versal-cpm5.dtsi" 23 | #include "versal-vdu.dtsi" 24 | 25 | &pmc_tap { 26 | idcode = <0x14CD0093>; 27 | }; 28 | -------------------------------------------------------------------------------- /board-versal-xcve1752-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series device xcvc1702 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvc1702-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04C9A093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcve2002-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal xcve2002 virtual board dts. 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * The NPI memmap is the same as for xcve2102. 8 | * 9 | * SPDX-License-Identifier: BSD-3-Clause 10 | */ 11 | 12 | #define VERSAL_NPI_OVERRIDE 13 | #include "versal/memmap/versal-xcve2102-npi-memmap.dtsi" 14 | #include "board-versal-ps-virt.dts" 15 | #include "versal-silicon-freq.dtsi" 16 | 17 | &pmc_tap { 18 | idcode = <0x04CC1093>; 19 | }; 20 | -------------------------------------------------------------------------------- /board-versal-xcve2102-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series device xcve2102 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define VERSAL_NPI_OVERRIDE 11 | #include "versal/memmap/versal-xcve2102-npi-memmap.dtsi" 12 | 13 | #include "board-versal-ps-virt.dts" 14 | #include "versal-silicon-freq.dtsi" 15 | 16 | &pmc_tap { 17 | idcode = <0x04CC0093>; 18 | }; 19 | -------------------------------------------------------------------------------- /board-versal-xcve2202-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal xcve2202 virtual board dts. 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #include "board-versal-xcve2302-ps-virt.dts" 10 | 11 | &pmc_tap { 12 | idcode = <0x14CC9093>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-xcve2302-pmc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcve2302 board device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #include "board-versal-pmc-virt.dts" 30 | -------------------------------------------------------------------------------- /board-versal-xcve2302-ps-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcve2302 cosim board device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #include "board-versal-xcve2302-ps-virt.dts" 30 | #include "versal-ps-pl-remoteport.dtsi" 31 | #include "versal-silicon-freq.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal-xcve2302-ps-cosim-vitis-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcve2302 cosim vitis board device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #include "board-versal-xcve2302-ps-cosim-virt.dts" 30 | #include "versal-vitis.dtsi" 31 | -------------------------------------------------------------------------------- /board-versal-xcve2302-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcve2302 board device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #define VERSAL_NPI_OVERRIDE 31 | #include "versal/memmap/versal-xcve2302-npi-memmap.dtsi" 32 | #include "board-versal-ps-virt.dts" 33 | #include "versal-silicon-freq.dtsi" 34 | 35 | &pmc_tap { 36 | idcode = <0x14CC8093>; 37 | }; 38 | -------------------------------------------------------------------------------- /board-versal-xcve2602-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series device xcve2602 virtual board dts 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #include "board-versal-xcvc2802-ps-virt.dts" 10 | 11 | &pmc_tap { 12 | idcode = <0x14CD2093>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-xcve2802-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series device xcve2802 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupported Devices: 12 | * CPM 13 | * VDU 14 | * PCIE 15 | */ 16 | #include "board-versal-xcvc2802-ps-virt.dts" 17 | 18 | &pmc_tap { 19 | idcode = <0x14CD3093>; 20 | }; 21 | 22 | /* Attach only one OSPI Flash */ 23 | &ospi { 24 | /delete-node/ ospi_flash_lcs_ub@0; 25 | /delete-node/ ospi_flash_ucs_lb@0; 26 | /delete-node/ ospi_flash_ucs_ub@0; 27 | }; 28 | 29 | &ospi_flash_lcs_lb { 30 | compatible = "mt35xu02gbba"; 31 | }; 32 | -------------------------------------------------------------------------------- /board-versal-xcvh1522-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvh1522 board device tree 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvh1582-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x14D34093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvh1542-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvh1542 board device tree 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvh1582-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x14D29093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvh1542-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvh1542-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvh1542-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvh1582-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvh1582 board device tree 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * xcvh1582 is an SSIT devices. 12 | * We are emulating only Master SLR, no support for slave SLR's as SBI interface 13 | * needs ROM for initial PLM loading. 14 | */ 15 | #define VERSAL_NPI_OVERRIDE 16 | #include "versal/memmap/versal-xcvh1582-npi-memmap.dtsi" 17 | #include "board-versal-ps-virt.dts" 18 | #include "versal-cpm5-memmap.dtsh" 19 | #include "versal-cpm5.dtsi" 20 | #include "versal-silicon-freq.dtsi" 21 | 22 | &pmc_tap { 23 | idcode = <0x14D28093>; 24 | }; 25 | 26 | &pmc_err_mng { 27 | ssit = <1>; 28 | }; 29 | -------------------------------------------------------------------------------- /board-versal-xcvh1742-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal HBM series device xcvh1742 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define VERSAL_NPI_OVERRIDE 11 | #include "versal/memmap/versal-xcvh1782-npi-memmap.dtsi" 12 | #include "board-versal-ps-virt.dts" 13 | #include "versal-silicon-freq.dtsi" 14 | 15 | &pmc_tap { 16 | idcode = <0x14D2D093>; 17 | }; 18 | 19 | &pmc_err_mng { 20 | ssit = <1>; 21 | }; 22 | 23 | /{ 24 | hbmmc_0_mem: memory@MM_TOP_HBM0 { 25 | compatible = "qemu:memory-region"; 26 | device_type = "memory"; 27 | container = <&amba>; 28 | }; 29 | 30 | MEM_REGION64(hbmmc_bnk0, MM_TOP_HBM0_H, MM_TOP_HBM0_L, MM_TOP_HBM0, 31 | 0x2, 0x0, &hbmmc_0_mem) // 8 GB 32 | 33 | hbmmc_1_mem: memory@MM_TOP_HBM1 { 34 | compatible = "qemu:memory-region"; 35 | device_type = "memory"; 36 | container = <&amba>; 37 | }; 38 | 39 | MEM_REGION64(hbmmc_bnk1, MM_TOP_HBM1_H, MM_TOP_HBM1_L, MM_TOP_HBM1, 40 | 0x2, 0x0, &hbmmc_0_mem) // 8 GB 41 | }; 42 | -------------------------------------------------------------------------------- /board-versal-xcvh1742-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvh1742-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvh1742-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvh1782-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal HBM series device xcvh1782 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define VERSAL_NPI_OVERRIDE 11 | #include "versal/memmap/versal-xcvh1782-npi-memmap.dtsi" 12 | #include "board-versal-ps-virt.dts" 13 | #include "versal-silicon-freq.dtsi" 14 | 15 | &pmc_tap { 16 | idcode = <0x14D2C093>; 17 | }; 18 | 19 | &pmc_err_mng { 20 | ssit = <1>; 21 | }; 22 | 23 | /{ 24 | hbmmc_0_mem: memory@MM_TOP_HBM0 { 25 | compatible = "qemu:memory-region"; 26 | device_type = "memory"; 27 | container = <&amba>; 28 | }; 29 | 30 | MEM_REGION64(hbmmc_bnk0, MM_TOP_HBM0_H, MM_TOP_HBM0_L, MM_TOP_HBM0, 31 | 0x4, 0x0, &hbmmc_0_mem) // 16 GB 32 | 33 | hbmmc_1_mem: memory@MM_TOP_HBM1 { 34 | compatible = "qemu:memory-region"; 35 | device_type = "memory"; 36 | container = <&amba>; 37 | }; 38 | 39 | MEM_REGION64(hbmmc_bnk1, MM_TOP_HBM1_H, MM_TOP_HBM1_L, MM_TOP_HBM1, 40 | 0x4, 0x0, &hbmmc_0_mem) // 16 GB 41 | }; 42 | -------------------------------------------------------------------------------- /board-versal-xcvm1102-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm1102 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | 11 | #include "board-versal-xcve2302-ps-virt.dts" 12 | 13 | &pmc_tap { 14 | idcode = <0x14CCA093>; 15 | }; 16 | -------------------------------------------------------------------------------- /board-versal-xcvm1302-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm1302 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal-xcvm1402-ps-virt.dts" 10 | 11 | &pmc_tap { 12 | idcode = <0x04C09093>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-xcvm1402-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm1402 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define VERSAL_NPI_OVERRIDE 10 | #include "versal/memmap/versal-xcvm1402-npi-memmap.dtsi" 11 | #include "board-versal-ps-virt.dts" 12 | #include "versal-silicon-freq.dtsi" 13 | 14 | &pmc_tap { 15 | idcode = <0x04C08093>; 16 | }; 17 | -------------------------------------------------------------------------------- /board-versal-xcvm1402-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm1402_SE virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal-xcvm1402-ps-virt.dts" 10 | 11 | VERSAL_MARK_SE 12 | -------------------------------------------------------------------------------- /board-versal-xcvm1502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm1502 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvc1702-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04C99093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvm1802-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series xcvm1802 Virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-ps-virt.dts" 11 | #include "versal-silicon-freq.dtsi" 12 | 13 | &pmc_tap { 14 | idcode = <0x14CAA093>; 15 | }; 16 | -------------------------------------------------------------------------------- /board-versal-xcvm2152-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime Series device xcvm2152 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define VERSAL_NPI_OVERRIDE 11 | #include "versal/memmap/versal-xcvm2152-npi-memmap.dtsi" 12 | 13 | /* Aliases */ 14 | #define MM_NPI_DDRMC_MAIN_0 MM_NPI_DDRMC5C_MAIN_0 15 | #define MM_NPI_DDRMC_MAIN_0_SIZE MM_NPI_DDRMC5C_MAIN_0_SIZE 16 | #define MM_NPI_DDRMC_NOC_0 MM_NPI_DDRMC5C_NOC_0 17 | #define MM_NPI_DDRMC_NOC_0_SIZE MM_NPI_DDRMC5C_NOC_0_SIZE 18 | #define MM_NPI_DDRMC_UB_0 MM_NPI_DDRMC5C_UB_0 19 | #define MM_NPI_DDRMC_UB_0_SIZE MM_NPI_DDRMC5C_UB_0_SIZE 20 | 21 | #define MM_NPI_DDRMC_MAIN_1 MM_NPI_DDRMC5C_MAIN_1 22 | #define MM_NPI_DDRMC_MAIN_1_SIZE MM_NPI_DDRMC5C_MAIN_1_SIZE 23 | #define MM_NPI_DDRMC_NOC_1 MM_NPI_DDRMC5C_NOC_1 24 | #define MM_NPI_DDRMC_NOC_1_SIZE MM_NPI_DDRMC5C_NOC_1_SIZE 25 | #define MM_NPI_DDRMC_UB_1 MM_NPI_DDRMC5C_UB_1 26 | #define MM_NPI_DDRMC_UB_1_SIZE MM_NPI_DDRMC5C_UB_1_SIZE 27 | 28 | #define MM_NPI_DDRMC_MAIN_2 MM_NPI_DDRMC5C_MAIN_2 29 | #define MM_NPI_DDRMC_MAIN_2_SIZE MM_NPI_DDRMC5C_MAIN_2_SIZE 30 | #define MM_NPI_DDRMC_NOC_2 MM_NPI_DDRMC5C_NOC_2 31 | #define MM_NPI_DDRMC_NOC_2_SIZE MM_NPI_DDRMC5C_NOC_2_SIZE 32 | #define MM_NPI_DDRMC_UB_2 MM_NPI_DDRMC5C_UB_2 33 | #define MM_NPI_DDRMC_UB_2_SIZE MM_NPI_DDRMC5C_UB_2_SIZE 34 | 35 | #define MM_NPI_DDRMC_MAIN_3 MM_NPI_DDRMC5C_MAIN_3 36 | #define MM_NPI_DDRMC_MAIN_3_SIZE MM_NPI_DDRMC5C_MAIN_3_SIZE 37 | #define MM_NPI_DDRMC_NOC_3 MM_NPI_DDRMC5C_NOC_3 38 | #define MM_NPI_DDRMC_NOC_3_SIZE MM_NPI_DDRMC5C_NOC_3_SIZE 39 | #define MM_NPI_DDRMC_UB_3 MM_NPI_DDRMC5C_UB_3 40 | #define MM_NPI_DDRMC_UB_3_SIZE MM_NPI_DDRMC5C_UB_3_SIZE 41 | 42 | #include "board-versal-ps-virt.dts" 43 | #include "versal-silicon-freq.dtsi" 44 | 45 | &pmc_tap { 46 | idcode = <0x04C60093>; 47 | }; 48 | -------------------------------------------------------------------------------- /board-versal-xcvm2152-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvm2152-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvm2152-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvm2202-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal xcvm2202 virtual board dts. 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #include "board-versal-xcvc2802-ps-virt.dts" 10 | 11 | &pmc_tap { 12 | idcode = <0x14CD4093>; 13 | }; 14 | -------------------------------------------------------------------------------- /board-versal-xcvm2202-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvm2202-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvm2202-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvm2302-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm2302 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | 10 | #include "board-versal-xcvp1402-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04C24093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvm2502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series xcvm2502 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * More Details: 12 | * https://www.xilinx.com/products/silicon-devices/acap/versal-prime.html#productTable 13 | */ 14 | 15 | #include "board-versal-xcvp1202-ps-virt.dts" 16 | 17 | &pmc_tap { 18 | idcode = <0x14D01093>; 19 | }; 20 | -------------------------------------------------------------------------------- /board-versal-xcvm2602-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series xcvm2602 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1202-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04D02093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvm2902-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvm2902 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | 10 | #include "board-versal-xcvp1402-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04C23093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvp1002-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xcvp1002 virtual board dts 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1052-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04C1B093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvp1002-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvp1002-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1002-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvp1052-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series xcvp1052 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupporeted FPGA hard blocks: 12 | * CPM4 13 | * PCIE 14 | * HSC 15 | * GTM 16 | * GTYP 17 | * 100G, 400G, 600G Ethernet MAC's 18 | * 19 | * More details: 20 | * https://www.xilinx.com/products/silicon-devices/acap/versal-premium.html#productTable 21 | */ 22 | 23 | #define VERSAL_NPI_OVERRIDE 24 | #include "versal/memmap/versal-xcvp1052-npi-memmap.dtsi" 25 | #include "board-versal-ps-virt.dts" 26 | #include "versal-silicon-freq.dtsi" 27 | 28 | &pmc_tap { 29 | idcode = <0x04C18093>; 30 | }; 31 | -------------------------------------------------------------------------------- /board-versal-xcvp1052-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series xcvp1052-se virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1052-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvp1102-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series xcvp1102 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1402-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04C22093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvp1202-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series xcvp1202 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupporeted FPGA hard blocks: 12 | * CPM5 13 | * PCIE 14 | * HSC 15 | * GTM 16 | * GTYP 17 | * 100G, 400G, 600G Ethernet MAC's 18 | * 19 | * More details: 20 | * https://www.xilinx.com/products/silicon-devices/acap/versal-premium.html#productTable 21 | */ 22 | 23 | #define VERSAL_NPI_OVERRIDE 24 | #include "versal/memmap/versal-xcvp1202-npi-memmap.dtsi" 25 | #include "versal-cpm5-memmap.dtsh" 26 | #include "board-versal-ps-virt.dts" 27 | #include "versal-silicon-freq.dtsi" 28 | #include "versal-cpm5.dtsi" 29 | 30 | &pmc_tap { 31 | idcode = <0x14D00093>; 32 | }; 33 | -------------------------------------------------------------------------------- /board-versal-xcvp1202-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvp1202-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1202-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvp1402-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvp1402 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | /* 31 | * Unsupported FPGA Hard blocks 32 | * GTM 33 | * GTYP 34 | * PCI Express 35 | * 100G, 400G, 600G Ethernet MAC's. 36 | */ 37 | 38 | #define VERSAL_NPI_OVERRIDE 39 | #include "versal/memmap/versal-xcvp1402-npi-memmap.dtsi" 40 | #include "board-versal-ps-virt.dts" 41 | #include "versal-silicon-freq.dtsi" 42 | 43 | &amba_fpd{ 44 | /delete-node/ cpm_crcpm@MM_CPM_CPM_CRCPM; 45 | /delete-node/ cpm_pcsr@MM_CPM_CPM_PCSR; 46 | /delete-node/ cpm_slcr_secure@MM_CPM_CPM_SLCR_SECURE; 47 | }; 48 | 49 | &pmc_tap { 50 | idcode = <0x04C20093>; 51 | }; 52 | -------------------------------------------------------------------------------- /board-versal-xcvp1502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series device xcvp1502 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal-xcvp1202-ps-virt.dts" 10 | 11 | &pmc_tap { 12 | idcode = <0x14D08093>; 13 | }; 14 | 15 | &pmc_err_mng { 16 | ssit = <1>; 17 | }; 18 | -------------------------------------------------------------------------------- /board-versal-xcvp1552-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series device xcvp1552 virtual board dts 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * The NPI memmap is the same as for xcvh1582. 8 | * 9 | * SPDX-License-Identifier: BSD-3-Clause 10 | */ 11 | 12 | #define VERSAL_NPI_OVERRIDE 13 | #include "versal/memmap/versal-xcvh1582-npi-memmap.dtsi" 14 | #include "board-versal-ps-virt.dts" 15 | #include "versal-cpm5-memmap.dtsh" 16 | #include "versal-cpm5.dtsi" 17 | #include "versal-silicon-freq.dtsi" 18 | 19 | &pmc_err_mng { 20 | ssit = <1>; 21 | }; 22 | 23 | &pmc_tap { 24 | idcode = <0x14D34093>; 25 | }; 26 | -------------------------------------------------------------------------------- /board-versal-xcvp1552-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvp1552-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1552-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvp1702-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series device xcvp1702 virtual board dts 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices Inc All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define VERSAL_NPI_OVERRIDE 10 | #include "versal/memmap/versal-xcvp1702-npi-memmap.dtsi" 11 | #include "board-versal-ps-virt.dts" 12 | #include "versal-cpm5-memmap.dtsh" 13 | #include "versal-cpm5.dtsi" 14 | #include "versal-silicon-freq.dtsi" 15 | 16 | &pmc_tap { 17 | idcode = <0x14D10093>; 18 | }; 19 | 20 | &pmc_err_mng { 21 | ssit = <1>; 22 | }; 23 | -------------------------------------------------------------------------------- /board-versal-xcvp1802-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvp1802 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | /* 31 | * xcvp1802 is an SSIT devices. 32 | * We are emulating only Master SLR, slave SLR's need support of SBI interface 33 | * which needs ROM for initial PLM loading. 34 | */ 35 | #define VERSAL_NPI_OVERRIDE 36 | #include "versal/memmap/versal-xcvp1802-npi-memmap.dtsi" 37 | #include "board-versal-ps-virt.dts" 38 | #include "versal-silicon-freq.dtsi" 39 | #include "versal-cpm5-memmap.dtsh" 40 | #include "versal-cpm5.dtsi" 41 | 42 | &pmc_tap { 43 | idcode = <0x14D14093>; 44 | }; 45 | 46 | &pmc_err_mng { 47 | ssit = <1>; 48 | }; 49 | -------------------------------------------------------------------------------- /board-versal-xcvp1802-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Virtual xcvp1802-se board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1802-ps-virt.dts" 11 | 12 | VERSAL_MARK_SE 13 | -------------------------------------------------------------------------------- /board-versal-xcvp1902-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series device xcvp1902 virtual board dts 3 | * 4 | * Copyright (c) 2022, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupported Devices: 12 | * SSIT 13 | */ 14 | 15 | #define VERSAL_NPI_OVERRIDE 16 | #include "versal/memmap/versal-xcvp1902-npi-memmap.dtsi" 17 | #include "board-versal-ps-virt.dts" 18 | #include "versal-silicon-freq.dtsi" 19 | 20 | &pmc_tap { 21 | idcode = <0x04C40093>; 22 | }; 23 | 24 | &pmc_err_mng { 25 | ssit = <1>; 26 | }; 27 | -------------------------------------------------------------------------------- /board-versal-xcvp1902-se-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series device xcvp1902-se virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | 11 | #include "board-versal-xcvp1902-ps-virt.dts" 12 | 13 | VERSAL_MARK_SE 14 | -------------------------------------------------------------------------------- /board-versal-xcvp2502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Core series device xcvp2502 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupported Devices: 12 | * CPM 13 | * PCIE 14 | * AIE (part of slave SLR) 15 | */ 16 | 17 | #define VERSAL_NPI_OVERRIDE 18 | #include "versal/memmap/versal-xcvp2502-npi-memmap.dtsi" 19 | #include "board-versal-ps-virt.dts" 20 | #include "versal-silicon-freq.dtsi" 21 | 22 | /{ 23 | model = "Versal s100 virt"; 24 | }; 25 | 26 | &pmc_err_mng { 27 | ssit = <1>; 28 | }; 29 | 30 | &pmc_tap { 31 | idcode= <0x14D1C093>; 32 | }; 33 | -------------------------------------------------------------------------------- /board-versal-xcvp2802-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Core series device xcvp2802 virtual board dts 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | /* 11 | * Unsupported Devices: 12 | * CPM 13 | * PCIE 14 | */ 15 | 16 | #define VERSAL_NPI_OVERRIDE 17 | #include "versal/memmap/versal-xcvp2802-npi-memmap.dtsi" 18 | #include "board-versal-ps-virt.dts" 19 | #include "versal-silicon-freq.dtsi" 20 | 21 | /{ 22 | model = "Versal s200 virt"; 23 | }; 24 | 25 | &pmc_err_mng { 26 | ssit = <1>; 27 | }; 28 | 29 | &pmc_tap { 30 | idcode = <0x14D20093>; 31 | }; 32 | -------------------------------------------------------------------------------- /board-versal-xcvr1602-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI RF series xcvr1602 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvr1702-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04CA5093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xcvr1652-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI RF series xcvr1652 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvr1702-ps-virt.dts" 11 | 12 | &pmc_tap { 13 | idcode = <0x04CA6093>; 14 | }; 15 | -------------------------------------------------------------------------------- /board-versal-xqrve2302-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xqrve2302 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xqve2302-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqve2102-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xqve2102 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2102-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqve2302-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series xqve2302 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcve2302-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqvm1102-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series xqvm1102 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvm1102-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqvm1502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xqvm1502 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvm1502-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqvp1052-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series xqvp1052 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1052-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqvp1402-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal xqvp1402 virtual board dts. 3 | * 4 | * Copyright (c) 2023, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #include "board-versal-xcvp1402-ps-virt.dts" 10 | -------------------------------------------------------------------------------- /board-versal-xqvp1502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime series device xqvp1502 virtual board dts 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1502-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqvp1702-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge series device xqvp1702 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp1702-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal-xqvp2502-ps-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Premium series xqvp2502 virtual board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal-xcvp2502-ps-virt.dts" 11 | -------------------------------------------------------------------------------- /board-versal2-psxc-cosim-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Gen 2 Virtual PSXC cosim board device tree. 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices Inc. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-versal2-psxc-virt.dts" 31 | #include "versal2-pl-remoteport.dtsi" 32 | -------------------------------------------------------------------------------- /board-versal2-psxc-cosim-vitis-ve-p-a2112-00.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Vitis VE-P-A2112-00 cosim board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal2-psxc-ve-p-a2112-00.dts" 11 | #include "versal2-pl-remoteport.dtsi" 12 | #include "versal-vitis.dtsi" 13 | -------------------------------------------------------------------------------- /board-versal2-psxc-cosim-vitis-vek385.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Vitis Versal VEK385 cosim board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal2-psxc-vek385.dts" 11 | #include "versal2-pl-remoteport.dtsi" 12 | #include "versal-vitis.dtsi" 13 | -------------------------------------------------------------------------------- /board-versal2-psxc-vek385.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VEK385 board device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-versal2-xc2ve3858-psxc-virt.dts" 11 | 12 | /* That board has 10GByte of DDR5, this will create them independently of what 13 | * is given by -m xG. */ 14 | / { 15 | /delete-node/ ddr@MM_TOP_DDR; 16 | /delete-node/ ddr_2@MM_TOP_DDR_2; 17 | /delete-node/ ddr_3@MM_TOP_DDR_CH1; 18 | 19 | MEM_REGION(ddr, 0x0, MM_TOP_DDR_CH0_LEGACY, 0x00000000, 0x80000000, 20 | &ddr_mem) 21 | MEM_REGION64(ddr_2, MM_TOP_DDR_CH0_MED_H, MM_TOP_DDR_CH0_MED_L, 22 | MM_TOP_DDR_CH0_MED, 0x0, 0x80000000, &ddr_2_mem) 23 | MEM_REGION64(ddr_3, MM_TOP_DDR_CH1_H, MM_TOP_DDR_CH1_L, MM_TOP_DDR_CH1, 24 | 0x0, 0x80000000, &ddr_3_mem) 25 | MEM_REGION64(ddr_4, MM_TOP_DDR_CH2_H, MM_TOP_DDR_CH2_L, MM_TOP_DDR_CH2, 26 | 0x0, 0x80000000, &ddr_3_mem) 27 | MEM_REGION64(ddr_5, MM_TOP_DDR_CH3_H, MM_TOP_DDR_CH3_L, MM_TOP_DDR_CH3, 28 | 0x0, 0x80000000, &ddr_3_mem) 29 | }; 30 | 31 | &ps_i2c1 { 32 | /* Board ID eeprom. */ 33 | eeprom@54 { 34 | compatible = "m24cxx"; 35 | size = <0x4000>; 36 | reg = <0x54>; 37 | blockdev-node-name = "ps_i2c1.eeprom-54"; 38 | }; 39 | }; 40 | 41 | /* No SPI nor QSPI have any memories mapped. */ 42 | &spi0 { 43 | /delete-node/ spi0_flash0@0; 44 | }; 45 | 46 | &spi1 { 47 | /delete-node/ spi1_flash0@0; 48 | }; 49 | 50 | &pmc_qspi_0 { 51 | /delete-node/ qspi_flash_lcs_lb@0; 52 | /delete-node/ qspi_flash_lcs_ub@0; 53 | /delete-node/ qspi_flash_ucs_lb@0; 54 | /delete-node/ qspi_flash_ucs_ub@0; 55 | }; 56 | 57 | /* OSPI has a different memory mapping added below. */ 58 | &ospi { 59 | /delete-node/ ospi_flash_lcs_lb@0; 60 | /delete-node/ ospi_flash_lcs_ub@0; 61 | /delete-node/ ospi_flash_ucs_lb@0; 62 | /delete-node/ ospi_flash_ucs_ub@0; 63 | }; 64 | 65 | /* OSPI memories: one 2Gbit Octal SPI Flash Memory should be used. */ 66 | &ospi { 67 | DI_SPI_FLASH(0, ospi_flash, "mt35xu02gbba", 0x10000000, 0x0 0x0) 68 | }; 69 | -------------------------------------------------------------------------------- /board-versal2-xc2ve3358-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge Series xc2ve3358 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define VERSAL2_NPI_OVERRIDE 11 | #include "versal2-xc2ve3358-npi-memmap.dtsi" 12 | 13 | #include "board-versal2-psxc-virt.dts" 14 | 15 | &pmc_tap { 16 | idcode = <0x04DA0093>; 17 | }; 18 | -------------------------------------------------------------------------------- /board-versal2-xc2ve3504-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge xc2ve3504 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define NUM_RPUS 4 10 | #define NUM_APUS 4 11 | #define VERSAL2_NPI_OVERRIDE 12 | #include "versal2-xc2ve3558-npi-memmap.dtsi" 13 | 14 | #include "board-versal2-psxc-virt.dts" 15 | 16 | &pmc_tap { 17 | idcode = <0x04DAB093>; 18 | }; 19 | -------------------------------------------------------------------------------- /board-versal2-xc2ve3558-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge Series xc2ve3558 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | #define VERSAL2_NPI_OVERRIDE 9 | #include "versal2-xc2ve3558-npi-memmap.dtsi" 10 | 11 | #include "board-versal2-psxc-virt.dts" 12 | 13 | &pmc_tap { 14 | idcode = <0x04DA9093>; 15 | }; 16 | -------------------------------------------------------------------------------- /board-versal2-xc2ve3804-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge xc2ve3804 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define NUM_RPUS 4 10 | #define NUM_APUS 4 11 | 12 | #include "board-versal2-psxc-virt.dts" 13 | 14 | &pmc_tap { 15 | idcode = <0x04DB1093>; 16 | }; 17 | -------------------------------------------------------------------------------- /board-versal2-xc2ve3858-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge Series xc2ve3858 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | #include "board-versal2-psxc-virt.dts" 9 | 10 | &pmc_tap { 11 | idcode = <0x04DB0093>; 12 | }; 13 | -------------------------------------------------------------------------------- /board-versal2-xc2ve3858-se-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal AI Edge Series xc2ve3858-se virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "board-versal2-xc2ve3858-psxc-virt.dts" 10 | 11 | VERSAL_MARK_SE 12 | -------------------------------------------------------------------------------- /board-versal2-xc2vm3554-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime xc2vm3554 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define NUM_RPUS 4 10 | #define NUM_APUS 4 11 | #define VERSAL2_NPI_OVERRIDE 12 | #include "versal2-xc2ve3558-npi-memmap.dtsi" 13 | 14 | #include "board-versal2-psxc-virt.dts" 15 | 16 | &pmc_tap { 17 | idcode = <0x04DAC093>; 18 | }; 19 | -------------------------------------------------------------------------------- /board-versal2-xc2vm3858-psxc-virt.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Prime xc2vm3858 virtual board dts 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices Inc. All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #define NUM_RPUS 10 10 | #define NUM_APUS 8 11 | 12 | #include "board-versal2-psxc-virt.dts" 13 | 14 | &pmc_tap { 15 | idcode = <0x04DB2093>; 16 | }; 17 | -------------------------------------------------------------------------------- /board-zynqmp-cosim-zcu104.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZCU104 Cosim Board. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-zynqmp-zcu104.dts" 11 | #include "zynqmp-pl-remoteport.dtsi" 12 | -------------------------------------------------------------------------------- /board-zynqmp-e-a2197-00-revb.dts: -------------------------------------------------------------------------------- 1 | /* Xilinx Versal a2197 RevB System Controller. 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Attach EEPROM block devices on the command line: 11 | * -blockdev node-name=,filename=,driver=file 12 | * 13 | * With eeprom-name one of: 14 | * - i2c1.mux-0.eeprom-52 15 | * - i2c1.mux-0.eeprom-54 16 | * - i2c1.mux-1.eeprom-50 17 | * - i2c1.mux-2.eeprom-50 18 | * 19 | */ 20 | 21 | #include "board-zynqmp-e-a2197-00-reva.dts" 22 | 23 | / { 24 | model = "Versal System Controller on a2197 Eval board RevB"; 25 | compatible = "xlnx,zynqmp-e-a2197-00-revB", "xlnx,zynqmp-a2197-revB", "xlnx,zynqmp-a2197", "xlnx,zynqmp"; 26 | }; 27 | 28 | &i2c0 { 29 | i2c-mux@74 { 30 | i2c@2 { 31 | /delete-node/ clock-generator@6c; 32 | }; 33 | 34 | i2c@3 { 35 | /delete-node/ ina226@42; 36 | /delete-node/ ina226@43; 37 | /delete-node/ ina226@44; 38 | }; 39 | }; 40 | }; 41 | -------------------------------------------------------------------------------- /board-zynqmp-k24-som.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP K24 SOM device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | * 9 | * K24 has 64MB QSPI flash, EMMC and I2C EEPROM on address 0x50. 10 | * mtd drive index for qspi is 0 and eeproms need to use blockdev 11 | * ex: 12 | * 13 | * -blockdev node-name=i2c1.eeprom-50,filename=eeprom0.bin,driver=file 14 | * 15 | * For sd drives index is as below 16 | * emmc -> 2 17 | * 18 | * Not Supported: 19 | * TPM 20 | */ 21 | 22 | #include "board-zynqmp-zcu102.dts" 23 | 24 | &ps7_qspi_0 { 25 | /delete-node/ qspi_flash_ucs_ub@0; 26 | }; 27 | 28 | &ps7_spi_0 { 29 | /delete-node/ spi0_flash0@0; 30 | /delete-node/ spi0_flash1@0; 31 | /delete-node/ spi0_flash2@0; 32 | /delete-node/ spi0_flash3@0; 33 | }; 34 | 35 | &ps7_spi_1 { 36 | /delete-node/ spi1_flash0@0; 37 | /delete-node/ spi1_flash1@0; 38 | /delete-node/ spi1_flash2@0; 39 | /delete-node/ spi1_flash3@0; 40 | }; 41 | 42 | &i2c0 { 43 | /delete-node/ tca6416@20; 44 | /delete-node/ tca6416@21; 45 | /delete-node/ i2cswitch@75; 46 | }; 47 | 48 | &i2c1 { 49 | /delete-node/ i2cswitch@74; 50 | /delete-node/ i2cswitch@75; 51 | eeprom0: eeprom@50 { 52 | compatible = "at,24c08"; 53 | reg = <0x50>; 54 | size = <0x2000>; 55 | blockdev-node-name = "i2c1.eeprom-50"; 56 | }; 57 | }; 58 | 59 | -------------------------------------------------------------------------------- /board-zynqmp-kd240.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP KD240 starter kit device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | */ 7 | 8 | #include "board-zynqmp-k24-som.dts" 9 | #include "board-zynqmp-sck-kd.dtsi" 10 | -------------------------------------------------------------------------------- /board-zynqmp-kv240.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP KV240 device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | * 9 | * K24 SOM + KV Carrier 10 | */ 11 | 12 | #include "board-zynqmp-k24-som.dts" 13 | #include "board-zynqmp-sck-kv.dtsi" 14 | -------------------------------------------------------------------------------- /board-zynqmp-kv260.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP KV260 device tree 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | * 9 | * K26 SOM + KV Carrier 10 | */ 11 | 12 | #include "board-zynqmp-k26-som.dts" 13 | #include "board-zynqmp-sck-kv.dtsi" 14 | -------------------------------------------------------------------------------- /board-zynqmp-sc-revb.dts: -------------------------------------------------------------------------------- 1 | /* Xilinx ZynqMP Generic System Controller revB 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Attach EEPROM block device on the command line: 11 | * -blockdev node-name=i2c1.eeprom-54,filename=,driver=file 12 | * 13 | */ 14 | 15 | #define HAS_SMMU 16 | #include "zynqmp.dtsh" 17 | 18 | /dts-v1/; 19 | 20 | #include "zynqmp-arm.dtsi" 21 | #include "zynqmp-memory-regions.dtsi" 22 | #include "zynqmp-boot-init.dtsi" 23 | 24 | / { 25 | model = "ZynqMP Generic System Controller"; 26 | compatible = "xlnx,zynqmp-sc-revB", "xlnx,zynqmp-sc", "xlnx,zynqmp"; 27 | 28 | mdio0: mdio { 29 | #address-cells = <1>; 30 | #size-cells = <0>; 31 | compatible="mdio"; 32 | 33 | phy0: phy@1 { 34 | compatible = "dp83867"; 35 | device_type = "ethernet-phy"; 36 | reg = <1>; 37 | }; 38 | }; 39 | }; 40 | 41 | &gem1 { 42 | mdio = <&mdio0>; 43 | }; 44 | 45 | &i2c1 { 46 | eeprom@54 { 47 | compatible = "at,24c08"; 48 | reg = <0x54>; 49 | size = <16384>; 50 | blockdev-node-name = "i2c1.eeprom-54"; 51 | }; 52 | }; 53 | 54 | &ps7_qspi_0 { 55 | SPI_FLASH(qspi_flash_ucs_ub, "mt25qu512a", 0x02000000, 0x0 0x0) 56 | }; 57 | 58 | &ps7_uart_1 { 59 | status = "okay"; 60 | }; 61 | -------------------------------------------------------------------------------- /board-zynqmp-sc-revc.dts: -------------------------------------------------------------------------------- 1 | /* Xilinx ZynqMP Generic System Controller revC 2 | * 3 | * Copyright (c) 2024, Advanced Micro Devices, Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Attach EEPROM block device on the command line: 11 | * -blockdev node-name=i2c1.eeprom-54,filename=,driver=file 12 | * 13 | */ 14 | 15 | #include "board-zynqmp-sc-revb.dts" 16 | 17 | / { 18 | model = "ZynqMP Generic System Controller"; 19 | compatible = "xlnx,zynqmp-sc-revC", "xlnx,zynqmp-sc", "xlnx,zynqmp"; 20 | }; 21 | 22 | &phy0 { 23 | compatible = "ADIN1300"; 24 | }; 25 | -------------------------------------------------------------------------------- /board-zynqmp-sck-kd.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP KD Carrier card device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | * 9 | * KD CC has GEM1, CAN0, USB. 10 | * 11 | * GEM0/1/2/3 are connected with DP83867 Eth Phy. 12 | * eproms need to use blockdev 13 | * ex: 14 | * 15 | * -blockdev node-name=i2c1.eeprom-51,filename=eeprom1.bin,driver=file 16 | * 17 | * Not Supported: 18 | * Motor Drive control 19 | * PL Enet 20 | * PMOD 21 | */ 22 | 23 | &i2c1 { 24 | eeprom1: eeprom@51 { 25 | compatible = "at,24c08"; 26 | reg = <0x51>; 27 | size = <0x2000>; 28 | blockdev-node-name = "i2c1.eeprom-51"; 29 | }; 30 | ina260 { 31 | compatible = "i2c-dev-dummy"; 32 | reg = <0x40>; 33 | }; 34 | slg7xl45106@0 { 35 | compatible = "i2c-dev-dummy"; 36 | reg = <0x11>; 37 | }; 38 | usb5744@0 { 39 | compatible = "i2c-dev-dummy"; 40 | reg = <0x2d>; 41 | }; 42 | }; 43 | 44 | &mdio0 { 45 | /delete-node/ phy@7; 46 | phy0: phy@0 { 47 | compatible = "ADIN1300"; 48 | device_type = "ethernet-phy"; 49 | }; 50 | phy2: phy@2 { 51 | compatible = "ADIN1300"; 52 | device_type = "ethernet-phy"; 53 | }; 54 | phy3: phy@3 { 55 | compatible = "ADIN1300"; 56 | device_type = "ethernet-phy"; 57 | }; 58 | }; 59 | 60 | &gem0 { 61 | mdio = <&mdio0>; 62 | }; 63 | 64 | &gem1 { 65 | mdio = <&mdio0>; 66 | }; 67 | 68 | &gem2 { 69 | mdio = <&mdio0>; 70 | }; 71 | 72 | &gem3 { 73 | mdio = <&mdio0>; 74 | }; 75 | -------------------------------------------------------------------------------- /board-zynqmp-sck-kv.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP KV Carrier card device tree 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | * 9 | * QEMU KV Supports 10 | * DP 11 | * SD 12 | * Ethernet 13 | * USB 14 | * EEPROM 15 | * WDT 16 | * SATA 17 | * 18 | * eproms need to use blockdev 19 | * ex: 20 | * -blockdev node-name=i2c1.eeprom-51,filename=eeprom1.bin,driver=file 21 | * 22 | * Not Supported: 23 | * PMOD 24 | * Image sensor and Camera connectors 25 | */ 26 | 27 | &i2c1 { 28 | eeprom1: eeprom@51 { 29 | compatible = "at,24c08"; 30 | reg = <0x51>; 31 | size = <0x2000>; 32 | blockdev-node-name = "i2c1.eeprom-51"; 33 | }; 34 | ina260 { 35 | compatible = "i2c-dev-dummy"; 36 | reg = <0x40>; 37 | }; 38 | usb5744@1 { 39 | compatible = "i2c-dev-dummy"; 40 | reg = <0x2d>; 41 | }; 42 | }; 43 | 44 | &mdio0 { 45 | phy1: phy@1 { 46 | compatible = "dp83867"; 47 | device_type = "ethernet-phy"; 48 | }; 49 | }; 50 | 51 | &gem3 { 52 | mdio = <&mdio0>; 53 | }; 54 | -------------------------------------------------------------------------------- /board-zynqmp-zc1751-dc1.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * zc1751-dc1 Board 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: GPL-2.0-or-later 8 | */ 9 | 10 | #include "zynqmp.dtsh" 11 | 12 | /dts-v1/; 13 | 14 | #include "zynqmp-arm.dtsi" 15 | #include "zynqmp-memory-regions.dtsi" 16 | 17 | / { 18 | model = "ZynqMP zc1751-xm015-dc1 RevA"; 19 | compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; 20 | 21 | aliases { 22 | ethernet0 = &gem3; 23 | }; 24 | 25 | mdio0: mdio { 26 | #address-cells = <1>; 27 | #size-cells = <0>; 28 | compatible="mdio"; 29 | phy0: phy@0 { 30 | compatible = "88e1118r"; 31 | device_type = "ethernet-phy"; 32 | reg = <0>; 33 | }; 34 | }; 35 | }; 36 | 37 | &i2c0 { 38 | eeprom@54 { 39 | compatible = "at,24c64"; 40 | reg = <0x54>; 41 | size = <0x2000>; 42 | }; 43 | }; 44 | 45 | &i2c1 { 46 | eeprom@55 { 47 | compatible = "at,24c64"; 48 | reg = <0x55>; 49 | size = <0x2000>; 50 | }; 51 | }; 52 | 53 | &ps7_qspi_0 { 54 | SPI_FLASH(qspi_flash_lcs_lb, "n25q512a11", 0x02000000, 0x0 0x0) 55 | SPI_FLASH(qspi_flash_ucs_ub, "n25q512a11", 0x02000000, 0x1 0x1) 56 | }; 57 | 58 | &gem3 { 59 | mdio = <&mdio0>; 60 | }; 61 | 62 | &iou_slcr_0 { 63 | mio-bank0-1.8v = <1>; 64 | mio-bank1-1.8v = <1>; 65 | mio-bank2-1.8v = <1>; 66 | }; 67 | -------------------------------------------------------------------------------- /board-zynqmp-zc1751-dc2.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * zc1751-dc2 Board 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: GPL-2.0-or-later 8 | */ 9 | 10 | 11 | #include "zynqmp.dtsh" 12 | 13 | /dts-v1/; 14 | 15 | #include "zynqmp-arm.dtsi" 16 | #include "zynqmp-memory-regions.dtsi" 17 | 18 | 19 | / { 20 | model = "ZynqMP zc1751-xm016-dc2 RevA"; 21 | compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; 22 | 23 | aliases { 24 | ethernet0 = &gem2; 25 | }; 26 | 27 | mdio0: mdio { 28 | #address-cells = <1>; 29 | #size-cells = <0>; 30 | compatible="mdio"; 31 | phy0: phy@5 { 32 | compatible = "88e1118r"; 33 | device_type = "ethernet-phy"; 34 | reg = <5>; 35 | }; 36 | }; 37 | }; 38 | 39 | &i2c0 { 40 | eeprom@54 { 41 | compatible = "at,24c64"; 42 | reg = <0x54>; 43 | size = <0x2000>; 44 | }; 45 | }; 46 | 47 | &i2c1 { 48 | eeprom@55 { 49 | compatible = "at,24c64"; 50 | reg = <0x55>; 51 | size = <0x2000>; 52 | }; 53 | }; 54 | 55 | &ps7_sd_0 { 56 | is-mmc = <0x1>; 57 | }; 58 | 59 | &gem2 { 60 | mdio = <&mdio0>; 61 | }; 62 | 63 | &iou_slcr_0 { 64 | mio-bank0-1.8v = <1>; 65 | mio-bank1-1.8v = <1>; 66 | mio-bank2-1.8v = <1>; 67 | }; 68 | -------------------------------------------------------------------------------- /board-zynqmp-zcu100.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP ZCU100 board device tree 3 | * 4 | * Copyright (c) 2016, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "ultra96-arm.dts" 31 | 32 | / { 33 | model = "ZynqMP ZCU100 RevA"; 34 | compatible = "xlnx,zynqmp-zcu100", "xlnx,zynqmp"; 35 | }; 36 | -------------------------------------------------------------------------------- /board-zynqmp-zcu104.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP based zcu104 board 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #include "board-zynqmp-zcu102.dts" 11 | 12 | &mdio0 { 13 | phy0: phy@7 { 14 | compatible = "dp83867"; 15 | }; 16 | }; 17 | 18 | &i2c0 { 19 | /delete-node/ tca6416@20; 20 | /delete-node/ tca6416@21; 21 | }; 22 | 23 | &i2c1 { 24 | tca6416_u97: tca6416@20 { 25 | compatible = "ti,tca6416"; 26 | reg = <0x20>; 27 | }; 28 | }; 29 | -------------------------------------------------------------------------------- /board-zynqmp-zcu1275.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP ZCU1275 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-zynqmp-zcu102.dts" 31 | 32 | &gem1 { 33 | mdio = <&mdio0>; 34 | }; 35 | 36 | &gem3 { 37 | /delete-property/ mdio; 38 | }; 39 | -------------------------------------------------------------------------------- /board-zynqmp-zcu1285.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP ZCU1285 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "board-zynqmp-zcu1275.dts" 31 | -------------------------------------------------------------------------------- /ep108-arm.cosim.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP board with a co-simulation interface to model the PL. 3 | * 4 | * Copyright (c) 2016, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "ep108-arm.dts" 31 | 32 | #include "zynqmp-pl-remoteport.dtsi" 33 | 34 | &amba { 35 | interrupt-map = 36 | #define __intc__ &gic 37 | #include "zynqmp-irq-map.dtsh" 38 | #undef __intc__ 39 | , 40 | #define __intc__ &rpu_gic 41 | #include "zynqmp-irq-map.dtsh" 42 | #undef __intc__ 43 | #if defined(MULTI_ARCH) 44 | , 45 | #define __intc__ &gic_proxy 46 | #include "zynqmp-irq-map.dtsh" 47 | #undef __intc__ 48 | #endif 49 | , 50 | #define __intc__ &rp_cosim_intr_pstopl 51 | #include "zynqmp-irq-map.dtsh" 52 | #undef __intc__ 53 | ; 54 | }; 55 | -------------------------------------------------------------------------------- /include/i2c-dummy.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * I2C dummy model. 3 | * 4 | * Copyright (c) 2024, Advanced Micro Devices, Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #ifndef I2C_DUMMY_DTSH 11 | #define I2C_DUMMY_DTSH 12 | 13 | /* Dummy model for un-modelled i2c devices. */ 14 | #define I2C_DUMMY(name, addr) \ 15 | name@addr { \ 16 | compatible = "i2c-dev-dummy"; \ 17 | reg = ; \ 18 | } 19 | 20 | #endif /* I2C_DUMMY_DTSH */ 21 | -------------------------------------------------------------------------------- /include/interconnect.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Interconnect macros. 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #define SECURE 1 31 | #define NON_SECURE 0 32 | 33 | #define MR_BACKGROUND(name) \ 34 | downstream_ ## name { \ 35 | compatible = "qemu:memory-region"; \ 36 | alias = < & ## name >; \ 37 | reg = <0x0 0x0 0xffffffff 0xffffffff 0xffffffff /* -1 */ >; \ 38 | } 39 | 40 | #define MEMATTR_NAME(name_) name_ ## _memattr 41 | 42 | #define MEMATTR(NAME, SEC, MASTERID) \ 43 | MEMATTR_NAME(NAME): NAME ## _ma { \ 44 | doc-ignore = <1>; \ 45 | compatible = "qemu:memory-transaction-attr"; \ 46 | secure = ; \ 47 | requester-id = ; \ 48 | } 49 | 50 | #define MEMATTR_SMID_NAME(name_) name_ ## _memattr_smid 51 | 52 | #define MEMATTR_SMID(NAME, MASTERID) \ 53 | MEMATTR_SMID_NAME(NAME): NAME ## _ma_smid { \ 54 | doc-ignore = <1>; \ 55 | compatible = "qemu:memory-transaction-attr"; \ 56 | requester-id = ; \ 57 | } 58 | 59 | -------------------------------------------------------------------------------- /include/utils.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, Xilinx Inc 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions are met: 7 | * * Redistributions of source code must retain the above copyright 8 | * notice, this list of conditions and the following disclaimer. 9 | * * Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * * Neither the name of the nor the 13 | * names of its contributors may be used to endorse or promote products 14 | * derived from this software without specific prior written permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 17 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | */ 27 | #ifndef UTILS_DTSH__ 28 | #define UTILS_DTSH__ 29 | 30 | #define STRINGIFY(x) #x 31 | #define STRINGIFY_EXPANDED(x) STRINGIFY(x) 32 | 33 | #define xglue(a, b) a ## b 34 | #define glue(a, b) xglue(a, b) 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /include/versal-net/irq-map.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * This file contains the interrupt-map for Versal Net. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | * copies of the Software, and to permit persons to whom the Software is 9 | * furnished to do so, subject to the following conditions: 10 | 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | * THE SOFTWARE. 21 | */ 22 | 23 | interrupt-map = 24 | #ifdef HAVE_APU_GIC 25 | #define __intc__ &gic 26 | #include "versal-psx-irq-map.dtsh" 27 | #undef __intc__ 28 | , 29 | 30 | #define __intc__ &rpu_gic_a 31 | #include "versal-psx-irq-map.dtsh" 32 | #undef __intc__ 33 | , 34 | 35 | #define __intc__ &rpu_gic_b 36 | #include "versal-psx-irq-map.dtsh" 37 | #undef __intc__ 38 | , 39 | #endif 40 | #define __intc__ &pmc_gic_proxy 41 | #include "versal-psx-irq-map.dtsh" 42 | #undef __intc__ 43 | , 44 | #define __intc__ &psm_gic_proxy 45 | #include "versal-psx-irq-map.dtsh" 46 | #undef __intc__ 47 | 48 | /* Manual entries. */ 49 | , 50 | <0 0 PMX_PPU1_IRQMAP_OFFSET(IRQ_PMX_PPU1_PMC_ERR) &pmc_ppu1_io_intc IRQ_PMX_PPU1_PMC_ERR>, 51 | <0 0 PMX_PPU1_IRQMAP_OFFSET(IRQ_PPU1_INTC_PMX_IPI) &pmc_ppu1_io_intc IRQ_PPU1_INTC_PMX_IPI>, 52 | <0 0 PMX_PPU1_IRQMAP_OFFSET(IRQ_PPU1_INTC_PMX_IPI_NOBUF) &pmc_ppu1_io_intc IRQ_PPU1_INTC_PMX_IPI_NOBUF>, 53 | <0 0 PSMX_IRQMAP_OFFSET(IRQ_PSMX_IPI) &psm0_io_intc IRQ_PSMX_IPI> 54 | ; 55 | -------------------------------------------------------------------------------- /include/versal-net/memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Net memory map definitions 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #ifndef __VERSAL_NET_MEMMAP__ 30 | #define __VERSAL_NET_MEMMAP__ 31 | 32 | #include "top-memmap.dtsh" 33 | #include "fpd-memmap.dtsh" 34 | #include "lpd-memmap.dtsh" 35 | #include "pmx-memmap.dtsh" 36 | #include "ocm-memmap.dtsh" 37 | #include "iou-memmap.dtsh" 38 | #include "psm-memmap.dtsh" 39 | #include "coresight-memmap.dtsh" 40 | #include "pki-memmap.dtsh" 41 | #include "npi-memmap.dtsh" 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /include/versal-net/ocm-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2022-03-22 4 | * /proj/xhdsswstaff/saipava/epdsw2/temp/ssiv/amapgen/amapgen.py --sheetname AMAP_OCM --basename-column B --baseaddr-column I --size-column L --start-row 8 --end-row 11 --prefixname MM_ /proj/xhdsswstaff/saipava/mytest/ps_pmc.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_OCM0_MEM 0xbbf00000 25 | #define MM_OCM0_MEM_SIZE 0x80000 26 | #define MM_OCM1_MEM 0xbbf80000 27 | #define MM_OCM1_MEM_SIZE 0x80000 28 | -------------------------------------------------------------------------------- /include/versal-net/pki-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2022-03-22 4 | * /proj/xhdsswstaff/saipava/epdsw2/temp/ssiv/amapgen/amapgen.py --sheetname AMAP_PKI --basename-column B --baseaddr-column I --size-column L --start-row 8 --end-row 15 --prefixname MM_ /proj/xhdsswstaff/saipava/mytest/ps_pmc.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_FPD_PKI_CRYPTO_L 0x0 25 | #define MM_FPD_PKI_CRYPTO 0x20400000000ULL 26 | #define MM_FPD_PKI_CRYPTO_H 0x204 27 | #define MM_FPD_PKI_CRYPTO_SIZE 0x40000 28 | #define MM_FPD_PKI_TRSSWRAP_L 0x40000 29 | #define MM_FPD_PKI_TRSSWRAP 0x20400040000ULL 30 | #define MM_FPD_PKI_TRSSWRAP_H 0x204 31 | #define MM_FPD_PKI_TRSSWRAP_SIZE 0x10000 32 | #define MM_FPD_PKI_CTRLSTAT_L 0x50000 33 | #define MM_FPD_PKI_CTRLSTAT 0x20400050000ULL 34 | #define MM_FPD_PKI_CTRLSTAT_H 0x204 35 | #define MM_FPD_PKI_CTRLSTAT_SIZE 0x10000 36 | #define MM_FPD_PKI_OCMCFG_L 0x60000 37 | #define MM_FPD_PKI_OCMCFG 0x20400060000ULL 38 | #define MM_FPD_PKI_OCMCFG_H 0x204 39 | #define MM_FPD_PKI_OCMCFG_SIZE 0x10000 40 | #define MM_FPD_PKI_OCMMEM_L 0x80000 41 | #define MM_FPD_PKI_OCMMEM 0x20400080000ULL 42 | #define MM_FPD_PKI_OCMMEM_H 0x204 43 | #define MM_FPD_PKI_OCMMEM_SIZE 0x20000 44 | -------------------------------------------------------------------------------- /include/versal-net/psm-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2022-03-22 4 | * /proj/xhdsswstaff/saipava/epdsw2/temp/ssiv/amapgen/amapgen.py --sheetname AMAP_PSM --basename-column B --baseaddr-column I --size-column L --start-row 8 --end-row 24 --prefixname MM_ /proj/xhdsswstaff/saipava/mytest/ps_pmc.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_RAM_INSTR 0xebc00000 25 | #define MM_RAM_INSTR_SIZE 0x20000 26 | #define MM_RAM_DATA 0xebc20000 27 | #define MM_RAM_DATA_SIZE 0x8000 28 | #define MM_Reserved 0xebc28000 29 | #define MM_Reserved_SIZE 0x18000 30 | #define MM_Reserved_2 0xebc40000 31 | #define MM_Reserved_2_SIZE 0x20000 32 | #define MM_Reserved_3 0xebc60000 33 | #define MM_Reserved_3_SIZE 0x10000 34 | #define MM_Reserved_4 0xebc70000 35 | #define MM_Reserved_4_SIZE 0x10000 36 | #define MM_PSM_IOMODULE 0xebc80000 37 | #define MM_PSM_IOMODULE_SIZE 0x8000 38 | #define MM_PSMX_LOCAL_REG 0xebc88000 39 | #define MM_PSMX_LOCAL_REG_SIZE 0x8000 40 | #define MM_PSMX_GLOBAL_REG 0xebc90000 41 | #define MM_PSMX_GLOBAL_REG_SIZE 0xf000 42 | #define MM_PSM_GPV 0xebc9f000 43 | #define MM_PSM_GPV_SIZE 0x1000 44 | #define MM_PSM_RAM_INSTR_ECC_CTRL 0xebca0000 45 | #define MM_PSM_RAM_INSTR_ECC_CTRL_SIZE 0x10000 46 | #define MM_PSM_RAM_DATA_ECC_CTRL 0xebcb0000 47 | #define MM_PSM_RAM_DATA_ECC_CTRL_SIZE 0x10000 48 | #define MM_PSM_TMR_MANAGER 0xebcc0000 49 | #define MM_PSM_TMR_MANAGER_SIZE 0x10000 50 | #define MM_PSM_TMR_INJECT 0xebcd0000 51 | #define MM_PSM_TMR_INJECT_SIZE 0x10000 52 | #define MM_PSM_TMR_TRACE 0xebce0000 53 | #define MM_PSM_TMR_TRACE_SIZE 0x10000 54 | #define MM_PSM_MDM_HSD 0xebcf0000 55 | #define MM_PSM_MDM_HSD_SIZE 0x10000 56 | -------------------------------------------------------------------------------- /include/versal/apu.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal APU header file 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #ifndef APU_CPU_MODEL 31 | #define APU_CPU_MODEL "cortex-a72-arm-cpu" 32 | #endif 33 | 34 | #define APU_COMMON_MR(n, cc, MR) \ 35 | compatible = APU_CPU_MODEL; \ 36 | device_type = "cpu"; \ 37 | arm,ccsidr0 = <0x701fe00a>; \ 38 | arm,ccsidr1 = <0x201fe012>; \ 39 | reg = ; \ 40 | core-count = ; \ 41 | arm,reset-hivecs = <1>; \ 42 | arm,rvbar = <0xffff0000>; \ 43 | arm,reset-cbar = ; \ 44 | mr = ; \ 45 | memory = ; \ 46 | qemu,halt = <0x1> 47 | 48 | #define APU_COMMON(n, cc) \ 49 | APU_COMMON_MR(n, cc, &amba_apu) 50 | 51 | /* 52 | * When doing direct Linux boots, we expect the cores to start powered off 53 | * regardless of clock/reset/power register settings. QEMU's PSCI 54 | * implementation is responsible for releasing out of clock/reset/power gates. 55 | */ 56 | #define APU_SECONDARY(n) \ 57 | direct-lnx-start-powered-off = <1>; \ 58 | start-powered-off = <0> 59 | 60 | -------------------------------------------------------------------------------- /include/versal/rpu.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal RPU header file 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #ifndef RPU_CPU_MODEL 31 | #define RPU_CPU_MODEL "cortex-r5f-arm-cpu" 32 | #endif 33 | 34 | /* Creates a base ARM-R cpu node 35 | * arguments: 36 | * n : cpu index 37 | * c : cluster id 38 | * i : cpu id 39 | */ 40 | #define RPU_CPU_COMMON(n, c, i) \ 41 | compatible = RPU_CPU_MODEL; \ 42 | device_type = "cpu"; \ 43 | arm,tcmtr=<0x00010001>; \ 44 | arm,ctr=<0x8003c003>; \ 45 | arm,clidr=<0x09200003>; \ 46 | arm,ccsidr0 = <0xf01fe019>; \ 47 | arm,ccsidr1 = <0xf01fe019>; \ 48 | arm,mp-affinity = ; \ 49 | arm,id_pfr0 = <0x131>; \ 50 | arm,reset-hivecs = <1>; \ 51 | #interrupt-cells = <1>; \ 52 | memory = < &amba_r5_ ## n >; \ 53 | qemu,halt = <1>; \ 54 | memattr_ns = <&rpu ## n ## _s_memattr> 55 | 56 | -------------------------------------------------------------------------------- /include/versal2/irq-map.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * This file contains the interrupt-map for Versal Net. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | * copies of the Software, and to permit persons to whom the Software is 9 | * furnished to do so, subject to the following conditions: 10 | 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | * THE SOFTWARE. 21 | */ 22 | 23 | interrupt-map = 24 | #ifdef HAVE_APU_GIC 25 | #define __intc__ &gic 26 | #include "versal2-psxc-irq-map.dtsh" 27 | #undef __intc__ 28 | , 29 | 30 | #define __intc__ &rpu_gic_a 31 | #include "versal2-psxc-irq-map.dtsh" 32 | #undef __intc__ 33 | , 34 | 35 | #define __intc__ &rpu_gic_b 36 | #include "versal2-psxc-irq-map.dtsh" 37 | #undef __intc__ 38 | , 39 | 40 | #if (NUM_RPUS > 4) 41 | #define __intc__ &rpu_gic_c 42 | #include "versal2-psxc-irq-map.dtsh" 43 | #undef __intc__ 44 | , 45 | 46 | #define __intc__ &rpu_gic_d 47 | #include "versal2-psxc-irq-map.dtsh" 48 | #undef __intc__ 49 | , 50 | 51 | #define __intc__ &rpu_gic_e 52 | #include "versal2-psxc-irq-map.dtsh" 53 | #undef __intc__ 54 | , 55 | 56 | #endif /* NUM_RPUS > 4 */ 57 | 58 | #endif 59 | #define __intc__ &pmc_gic_proxy 60 | #include "versal2-psxc-irq-map.dtsh" 61 | #undef __intc__ 62 | , 63 | 64 | /* Manual entries. */ 65 | <0 0 PMX_PPU1_IRQMAP_OFFSET(IRQ_PMX_PPU1_PMC_ERR) &pmc_ppu1_io_intc IRQ_PMX_PPU1_PMC_ERR>, 66 | <0 0 PMX_PPU1_IRQMAP_OFFSET(IRQ_PPU1_INTC_PMX_IPI) &pmc_ppu1_io_intc IRQ_PPU1_INTC_PMX_IPI>, 67 | <0 0 PMX_PPU1_IRQMAP_OFFSET(IRQ_PPU1_INTC_PMX_IPI_NOBUF) &pmc_ppu1_io_intc IRQ_PPU1_INTC_PMX_IPI_NOBUF>, 68 | <0 0 ASU_IRQMAP_OFFSET(IRQ_ASU_IPI) &asu_io_intc IRQ_ASU_IPI> 69 | ; 70 | -------------------------------------------------------------------------------- /include/versal2/memmap/versal2-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Gen 2 memory map definitions 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #ifndef __VERSAL2_MEMMAP__ 30 | #define __VERSAL2_MEMMAP__ 31 | 32 | #include "versal2-top-memmap.dtsh" 33 | #include "versal2-fpd-memmap.dtsh" 34 | #include "versal2-lpd-memmap.dtsh" 35 | #include "versal2-pmxc-memmap.dtsh" 36 | #include "versal2-ocm-memmap.dtsh" 37 | #include "versal2-iou-memmap.dtsh" 38 | #include "versal2-asu-memmap.dtsh" 39 | #include "versal2-coresight-memmap.dtsh" 40 | 41 | #define MM_PMC_SHA0 MM_PMC_PMC_SHA3 42 | #define MM_PMC_SHA0_SIZE MM_PMC_PMC_SHA3_SIZE 43 | #endif 44 | -------------------------------------------------------------------------------- /include/versal2/memmap/versal2-ocm-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2024-02-21 4 | * ./amapgen.py --sheetname AMAP_OCM --basename-column B --baseaddr-column I --size-column L --start-row 8 --end-row 13 --prefixname MM_ /proj/xhdsswstaff/saipava/fortest/ps_pmc.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_OCM2_MEM 0xbbe00000 25 | #define MM_OCM2_MEM_SIZE 0x80000 26 | #define MM_OCM3_MEM 0xbbe80000 27 | #define MM_OCM3_MEM_SIZE 0x80000 28 | #define MM_OCM0_MEM 0xbbf00000 29 | #define MM_OCM0_MEM_SIZE 0x80000 30 | #define MM_OCM1_MEM 0xbbf80000 31 | #define MM_OCM1_MEM_SIZE 0x80000 32 | -------------------------------------------------------------------------------- /smid.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * SMID header file 3 | * 4 | * Copyright (c) 2023, AMD Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #ifndef _SMID_DTSH 31 | #define _SMID_DTSH 32 | 33 | #include "versal/smid.dtsh" 34 | 35 | #ifdef VERSAL2_DEV 36 | # include "versal2/smid.dtsh" 37 | #endif 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /versal-boot-init.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Init 3 | * 4 | * Copyright (c) 2018, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | &amba{ 31 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xF1110880, 0x1, 0x4); // PMC_GLOBAL.PL_STATUS 32 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xFD1A0050, 0x5, 0x4); // CRF.PLL_STATUS 33 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xF111010C, 0xFF, 0x4); // PMC_GLOBAL.PWR_SUPPLY_STATUS 34 | }; 35 | -------------------------------------------------------------------------------- /versal-cpm-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2019-07-17 4 | * ../amapgen/amapgen.py --sheetname AMAP_CPM_SAROSH --basename-column B --baseaddr-column H --size-column K --start-row 9 --end-row 33 --prefixname MM_CPM_ /proj/xhdsswstaff/saipava/mytest/everest_addr_map.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_CPM_CPM_CMN 0xfc000000 25 | #define MM_CPM_CPM_CMN_SIZE 0xa00000 26 | #define MM_CPM_CPM_CRCPM 0xfca00000 27 | #define MM_CPM_CPM_CRCPM_SIZE 0x10000 28 | #define MM_CPM_CPM_SLCR 0xfca10000 29 | #define MM_CPM_CPM_SLCR_SIZE 0x10000 30 | #define MM_CPM_CPM_SLCR_SECURE 0xfca20000 31 | #define MM_CPM_CPM_SLCR_SECURE_SIZE 0x10000 32 | #define MM_CPM_PCIEA_ATTRIB_0 0xfca50000 33 | #define MM_CPM_PCIEA_ATTRIB_0_SIZE 0x10000 34 | #define MM_CPM_PCIEA_ATTRIB_1 0xfca60000 35 | #define MM_CPM_PCIEA_ATTRIB_1_SIZE 0x10000 36 | #define MM_CPM_PCIEA_ATTRIB_DMA 0xfca70000 37 | #define MM_CPM_PCIEA_ATTRIB_DMA_SIZE 0x10000 38 | #define MM_CPM_CPM_GPV 0xfcb00000 39 | #define MM_CPM_CPM_GPV_SIZE 0x20000 40 | #define MM_CPM_INTCPM_CONFIG 0xfcb40000 41 | #define MM_CPM_INTCPM_CONFIG_SIZE 0x180000 42 | #define MM_CPM_CPM_L2_0_CONFIG 0xfcd00000 43 | #define MM_CPM_CPM_L2_0_CONFIG_SIZE 0x80000 44 | #define MM_CPM_CPM_L2_1_CONFIG 0xfcd80000 45 | #define MM_CPM_CPM_L2_1_CONFIG_SIZE 0x80000 46 | #define MM_CPM_CPM_ADDRREMAP 0xfcf30000 47 | #define MM_CPM_CPM_ADDRREMAP_SIZE 0x10000 48 | #define MM_CPM_PCIEA_DVSEC_0 0xfcfb0000 49 | #define MM_CPM_PCIEA_DVSEC_0_SIZE 0x10000 50 | #define MM_CPM_PCIEA_DVSEC_1 0xfcfc0000 51 | #define MM_CPM_PCIEA_DVSEC_1_SIZE 0x10000 52 | #define MM_CPM_CPM_PCSR 0xfcff0000 53 | #define MM_CPM_CPM_PCSR_SIZE 0x10000 54 | -------------------------------------------------------------------------------- /versal-cpm5.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal CPM5 devices 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | &amba_fpd { 11 | cpm5_crx: cpm5_crx@MM_CPM5_CRX { 12 | compatible = "xlnx,cpm5_crx"; 13 | reg = <0x0 (MM_TOP_CPM + MM_CPM5_CRX) 0x0 MM_CPM5_CRX_SIZE 0x0>; 14 | }; 15 | 16 | /delete-node/ cpm_slcr_secure@MM_CPM_CPM_SLCR_SECURE; 17 | 18 | cpm5_slcr_secure@MM_CPM5_SLCR_SECURE { 19 | compatible = "xlnx,cpm5_slcr_secure"; 20 | reg = <0x0 (MM_TOP_CPM + MM_CPM5_SLCR_SECURE) 0x0 MM_CPM5_SLCR_SECURE_SIZE 0x0>; 21 | }; 22 | 23 | cpm5_gtyp_cfg@MM_CPM5_GTYP0_CFG { 24 | compatible = "xlnx,gtyp_npi_slave"; 25 | reg = <0x0 (MM_TOP_CPM + MM_CPM5_GTYP0_CFG) 0x0 MM_CPM5_GTYP0_CFG_SIZE 0x0>; 26 | }; 27 | 28 | cpm5_gtyp_cfg@MM_CPM5_GTYP1_CFG { 29 | compatible = "xlnx,gtyp_npi_slave"; 30 | reg = <0x0 (MM_TOP_CPM + MM_CPM5_GTYP1_CFG) 0x0 MM_CPM5_GTYP1_CFG_SIZE 0x0>; 31 | }; 32 | 33 | cpm5_gtyp_cfg@MM_CPM5_GTYP2_CFG { 34 | compatible = "xlnx,gtyp_npi_slave"; 35 | reg = <0x0 (MM_TOP_CPM + MM_CPM5_GTYP2_CFG) 0x0 MM_CPM5_GTYP2_CFG_SIZE 0x0>; 36 | }; 37 | 38 | cpm5_gtyp_cfg@MM_CPM5_GTYP3_CFG { 39 | compatible = "xlnx,gtyp_npi_slave"; 40 | reg = <0x0 (MM_TOP_CPM + MM_CPM5_GTYP3_CFG) 0x0 MM_CPM5_GTYP3_CFG_SIZE 0x0>; 41 | }; 42 | }; 43 | -------------------------------------------------------------------------------- /versal-ddrmc-npi.dtsi: -------------------------------------------------------------------------------- 1 | #if defined(MM_NPI_DDRMC_MAIN_0) 2 | GEN_DDRMC_UB(0); 3 | GEN_DDRMC_MAIN(0); 4 | GEN_DDRMC_NOC(0); 5 | #endif 6 | #if defined(MM_NPI_DDRMC_MAIN_1) 7 | GEN_DDRMC_UB(1); 8 | GEN_DDRMC_MAIN(1); 9 | GEN_DDRMC_NOC(1); 10 | #endif 11 | #if defined(MM_NPI_DDRMC_MAIN_2) 12 | GEN_DDRMC_UB(2); 13 | GEN_DDRMC_MAIN(2); 14 | GEN_DDRMC_NOC(2); 15 | #endif 16 | #if defined(MM_NPI_DDRMC_MAIN_3) 17 | GEN_DDRMC_UB(3); 18 | GEN_DDRMC_MAIN(3); 19 | GEN_DDRMC_NOC(3); 20 | #endif 21 | #if defined(MM_NPI_DDRMC_MAIN_4) 22 | GEN_DDRMC_UB(4); 23 | GEN_DDRMC_MAIN(4); 24 | GEN_DDRMC_NOC(4); 25 | #endif 26 | #if defined(MM_NPI_DDRMC_MAIN_5) 27 | GEN_DDRMC_UB(5); 28 | GEN_DDRMC_MAIN(5); 29 | GEN_DDRMC_NOC(5); 30 | #endif 31 | #if defined(MM_NPI_DDRMC_MAIN_6) 32 | GEN_DDRMC_UB(6); 33 | GEN_DDRMC_MAIN(6); 34 | GEN_DDRMC_NOC(6); 35 | #endif 36 | #if defined(MM_NPI_DDRMC_MAIN_7) 37 | GEN_DDRMC_UB(7); 38 | GEN_DDRMC_MAIN(7); 39 | GEN_DDRMC_NOC(7); 40 | #endif 41 | -------------------------------------------------------------------------------- /versal-fpd-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2020-09-13 4 | * /home/edgar/src/py/excel/amapgen/amapgen.py --sheetname AMAP_FPD_SHAILESH --basename-column B --baseaddr-column I --size-column L --start-row 8 --end-row 37 --prefixname MM_FPD_ ws/rtl/pssa_shared_7t_n1/regspecs/everest_addr_map.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_FPD_FPD_MAINCCI 0xfd000000 25 | #define MM_FPD_FPD_MAINCCI_SIZE 0x100000 26 | #define MM_FPD_CRF 0xfd1a0000 27 | #define MM_FPD_CRF_SIZE 0x140000 28 | #define MM_FPD_FPD_AFIFM0 0xfd360000 29 | #define MM_FPD_FPD_AFIFM0_SIZE 0x10000 30 | #define MM_FPD_INTFPD_CONFIG 0xfd370000 31 | #define MM_FPD_INTFPD_CONFIG_SIZE 0x10000 32 | #define MM_FPD_FPD_AFIFM2 0xfd380000 33 | #define MM_FPD_FPD_AFIFM2_SIZE 0x10000 34 | #define MM_FPD_FPD_SLAVE_XMPU 0xfd390000 35 | #define MM_FPD_FPD_SLAVE_XMPU_SIZE 0x10000 36 | #define MM_FPD_FPD_WWDT 0xfd4d0000 37 | #define MM_FPD_FPD_WWDT_SIZE 0x10000 38 | #define MM_FPD_FPD_APU 0xfd5c0000 39 | #define MM_FPD_FPD_APU_SIZE 0x10000 40 | #define MM_FPD_FPD_GPCCI 0xfd5e0000 41 | #define MM_FPD_FPD_GPCCI_SIZE 0x10000 42 | #define MM_FPD_FPD_SMMU 0xfd5f0000 43 | #define MM_FPD_FPD_SMMU_SIZE 0x10000 44 | #define MM_FPD_FPD_SLCR 0xfd610000 45 | #define MM_FPD_FPD_SLCR_SIZE 0x10000 46 | #define MM_FPD_FPD_SYSMON_SAT 0xfd620000 47 | #define MM_FPD_FPD_SYSMON_SAT_SIZE 0x10000 48 | #define MM_FPD_FPD_SLCR_SECURE 0xfd690000 49 | #define MM_FPD_FPD_SLCR_SECURE_SIZE 0x10000 50 | #define MM_FPD_FPD_GPV 0xfd700000 51 | #define MM_FPD_FPD_GPV_SIZE 0x100000 52 | #define MM_FPD_FPD_SMMUTCU 0xfd800000 53 | #define MM_FPD_FPD_SMMUTCU_SIZE 0x800000 54 | -------------------------------------------------------------------------------- /versal-gty.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal GTY devices 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define MM_NPI_GTYP_NPI_X_SIZE 0x20000 11 | #define MM_NPI_GTM_NPI_X_SIZE 0x20000 12 | 13 | #define GEN_GTYP(n) \ 14 | gtyp_npi_slave_ ## n ##@MM_NPI_GTYP_NPI_SLAVE_## n { \ 15 | compatible = "xlnx,xlnx,gtyp_npi_slave"; \ 16 | reg = <0x0 MM_NPI_GTYP_NPI_SLAVE_## n 0x0 MM_NPI_GTYP_NPI_X_SIZE 0x0>; \ 17 | } 18 | 19 | #define GEN_GTM(n) \ 20 | gtm_npi_slave_ ## n ##@MM_NPI_GTM_NPI_SLAVE_## n { \ 21 | compatible = "xlnx,xlnx,gtyp_npi_slave"; \ 22 | reg = <0x0 MM_NPI_GTM_NPI_SLAVE_## n 0x0 MM_NPI_GTM_NPI_X_SIZE 0x0>; \ 23 | } 24 | 25 | &amba_pmc_pl { 26 | #include "versal-gty-npi.dtsi" 27 | }; 28 | 29 | -------------------------------------------------------------------------------- /versal-net-boot-init.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Net Init 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | &amba{ 11 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xF1110880, 0x1, 0x4); // PMC_GLOBAL.PL_STATUS 12 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xF111010C, 0xFF, 0x4); // PMC_GLOBAL.PWR_SUPPLY_STATUS 13 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xF12B0100, 0x80C, 0x4);// CFU_APB.CFU_STATUS 14 | #ifdef VERSAL2_DEV 15 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xF1260320, 0x77, 0x4); // CRP.RST_NONPS 16 | #endif 17 | }; 18 | -------------------------------------------------------------------------------- /versal-net-hnic.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal HNIC devices 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | 11 | #define HNICX_NPI(x) \ 12 | hnicx_npi_ ## x: hnicx_npi_## x@MM_NPI_HNICX_NPI_## x { \ 13 | compatible = "xlnx,hnicx_npi"; \ 14 | reg = <0x0 MM_NPI_HNICX_NPI_ ## x 0x0 \ 15 | MM_NPI_HNICX_NPI_ ## x ## _SIZE 0x1>; \ 16 | doc-limitations = "Just a stub"; \ 17 | } 18 | 19 | #define HNICX_PLLPOR(x) \ 20 | hnicx_pllpor_ ## x: hnicx_pllpor_## x@MM_NPI_HNICX_PLLPOR_NPI_## x { \ 21 | compatible = "xlnx,noc-npi-dev"; \ 22 | reg = <0x0 MM_NPI_HNICX_PLLPOR_NPI_## x 0x0 \ 23 | MM_NPI_HNICX_PLLPOR_NPI_## x ## _SIZE 0x1>; \ 24 | custom = <1>; \ 25 | pcsr-status = <0x8011>; \ 26 | } 27 | 28 | &amba_pmc_pl { 29 | #ifdef MM_NPI_HNICX_NPI_0 30 | HNICX_NPI(0); 31 | #endif 32 | 33 | #ifdef MM_NPI_HNICX_PLLPOR_NPI_0 34 | HNICX_PLLPOR(0); 35 | #endif 36 | 37 | #ifdef MM_NPI_HNICX_NPI_1 38 | HNICX_NPI(1); 39 | #endif 40 | 41 | #ifdef MM_NPI_HNICX_PLLPOR_NPI_1 42 | HNICX_PLLPOR(1); 43 | #endif 44 | }; 45 | -------------------------------------------------------------------------------- /versal-pmc-bat.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal BAT 3 | * 4 | * Copyright (c) 2019, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "versal.dtsh" 31 | 32 | &amba_pmc_bat { 33 | doc-name = "PMC BAT"; 34 | doc-status = "partial"; 35 | 36 | rtc: rtc@MM_PMC_RTC { 37 | doc-status = "complete"; 38 | doc-comments = "Versal PMC RTC"; 39 | compatible = "xlnx,zynqmp-rtc"; 40 | interrupts = ; 41 | reg = <0x0 MM_PMC_RTC 0x0 MM_PMC_RTC_SIZE 0x0>; 42 | xlnx,version="2.0.0"; 43 | }; 44 | }; 45 | -------------------------------------------------------------------------------- /versal-pmc-ppu-cpus.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal PMC PPU CPUs only 3 | * 4 | * Copyright (c) 2016, Xilinx Inc. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "versal.dtsh" 31 | #include "versal/ppu.dtsh" 32 | 33 | / { 34 | cpus { 35 | #address-cells = <1>; 36 | #cpus = <0x1>; 37 | #size-cells = <0>; 38 | doc-status = "partial"; 39 | 40 | CREATE_PPU(0, MM_PMC_PMC_ROM, "PPU0", 0x5); 41 | CREATE_PPU(1, MM_PMC_PPU1_RAM_INSTR, "PPU1", 0x6); 42 | }; 43 | }; 44 | 45 | &pmc_ppu1 { 46 | gpios = <&pmc_global PMC_GLOBAL_PPU1_RST 47 | &pmc_global PMC_GLOBAL_PPU1_WAKEUP >; 48 | gpio-names = "reset", "halt"; 49 | qemu,halt = <0x1>; 50 | }; 51 | -------------------------------------------------------------------------------- /versal-pmc.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal PMC 3 | * 4 | * Copyright (c) 2016, Xilinx Inc. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "versal.dtsh" 31 | 32 | #include "versal-icnt.dtsi" 33 | #include "versal-rams.dtsi" 34 | #include "versal-pmc-ppu.dtsi" 35 | #include "versal-pmc-iou.dtsi" 36 | #include "versal-pmc-sys.dtsi" 37 | #include "versal-pmc-sec.dtsi" 38 | #include "versal-pmc-npi.dtsi" 39 | #include "versal-pmc-pl.dtsi" 40 | #include "versal-pmc-bat.dtsi" 41 | -------------------------------------------------------------------------------- /versal-pmx-shared-overlay.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal PMX Shared Overlay. 3 | * This contains the overlay that's suitable for the both QEMU 4 | * instances in a multi-arch PSX/PMX setup. 5 | * 6 | * Copyright (c) 2021, Xilinx Inc 7 | * All rights reserved. 8 | * 9 | * Redistribution and use in source and binary forms, with or without 10 | * modification, are permitted provided that the following conditions are met: 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in the 15 | * documentation and/or other materials provided with the distribution. 16 | * * Neither the name of the nor the 17 | * names of its contributors may be used to endorse or promote products 18 | * derived from this software without specific prior written permission. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 21 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 24 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 26 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 27 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 29 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | */ 31 | 32 | #include "versal.dtsh" 33 | 34 | /* PMX has increased the ROM size from 128K -> 256K. */ 35 | #ifndef MM_PMX_PMX_ROM 36 | #define MM_PMX_PMX_ROM MM_PMC_PMC_ROM 37 | #define MM_PMX_PMX_ROM_SIZE MM_PMC_PMC_ROM_SIZE 38 | #endif 39 | 40 | /* 41 | * PMX has increased the PPU1 INSTR RAM size from 128K -> 384K. 42 | * This re-size causes the DATA RAM to move up in the address-space. 43 | */ 44 | #define MM_PMX_PPU1_RAM_INSTR MM_PMC_PPU1_RAM_INSTR 45 | #define MM_PMX_PPU1_RAM_INSTR_SIZE MM_PMC_PPU1_RAM_INSTR_SIZE 46 | #define MM_PMX_PPU1_RAM_DATA MM_PMC_PPU1_RAM_DATA 47 | #define MM_PMX_PPU1_RAM_DATA_SIZE MM_PMC_PPU1_RAM_DATA_SIZE 48 | 49 | &pmc_rom { 50 | reg = <0x0 MM_PMX_PMX_ROM 0x0 MM_PMX_PMX_ROM_SIZE 0x1>; 51 | }; 52 | 53 | &pmc_ppu1_insn_ram { 54 | reg = <0x0 MM_PMX_PPU1_RAM_INSTR 0x0 MM_PMX_PPU1_RAM_INSTR_SIZE 0x0>; 55 | }; 56 | 57 | &pmc_ppu1_data_ram { 58 | reg = <0x0 MM_PMX_PPU1_RAM_DATA 0x0 MM_PMX_PPU1_RAM_DATA_SIZE 0x0>; 59 | }; 60 | -------------------------------------------------------------------------------- /versal-psm-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Autogenerated by xlsx-amap2cpp 3 | * Generated by xlsx-amap2cpp 2018-07-17 4 | * /home/edgar/src/py/excel/amapgen/amapgen.py --sheetname AMAP_PSM_BHAARATH --basename-column B --baseaddr-column H --size-column K --start-row 8 --end-row 22 --prefixname MM_ ./rtl/pssa_shared_7t_n1/regspecs/everest_addr_map.xlsx 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | */ 24 | #define MM_RAM_INSTR 0xffc00000 25 | #define MM_RAM_INSTR_SIZE 0x20000 26 | #define MM_RAM_DATA 0xffc20000 27 | #define MM_RAM_DATA_SIZE 0x20000 28 | #define MM_Reserved 0xffc40000 29 | #define MM_Reserved_SIZE 0x20000 30 | #define MM_Reserved_2 0xffc60000 31 | #define MM_Reserved_2_SIZE 0x10000 32 | #define MM_Reserved_3 0xffc70000 33 | #define MM_Reserved_3_SIZE 0x10000 34 | #define MM_PSM_IOMODULE 0xffc80000 35 | #define MM_PSM_IOMODULE_SIZE 0x8000 36 | #define MM_PSM_LOCAL_REG 0xffc88000 37 | #define MM_PSM_LOCAL_REG_SIZE 0x8000 38 | #define MM_PSM_GLOBAL_REG 0xffc90000 39 | #define MM_PSM_GLOBAL_REG_SIZE 0xf000 40 | #define MM_INT_PSM_STRUCT 0xffc9f000 41 | #define MM_INT_PSM_STRUCT_SIZE 0x1000 42 | #define MM_PSM_RAM_INSTR_ECC_CTRL 0xffca0000 43 | #define MM_PSM_RAM_INSTR_ECC_CTRL_SIZE 0x10000 44 | #define MM_PSM_RAM_DATA_ECC_CTRL 0xffcb0000 45 | #define MM_PSM_RAM_DATA_ECC_CTRL_SIZE 0x10000 46 | #define MM_PSM_TMR_MANAGER 0xffcc0000 47 | #define MM_PSM_TMR_MANAGER_SIZE 0x10000 48 | #define MM_PSM_TMR_INJECT 0xffcd0000 49 | #define MM_PSM_TMR_INJECT_SIZE 0x10000 50 | #define MM_PSM_TMR_TRACE 0xffce0000 51 | #define MM_PSM_TMR_TRACE_SIZE 0x10000 52 | -------------------------------------------------------------------------------- /versal-silicon-freq.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Silicon specific configurations 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #ifndef __VERSAL_SIL_FREQ__ 30 | #define __VERSAL_SIL_FREQ__ 31 | 32 | &cpu0 { 33 | generic-timer-frequency = <100000000>; 34 | }; 35 | 36 | &cpu1 { 37 | generic-timer-frequency = <100000000>; 38 | }; 39 | 40 | &cpu2 { 41 | generic-timer-frequency = <100000000>; 42 | }; 43 | 44 | &cpu3 { 45 | generic-timer-frequency = <100000000>; 46 | }; 47 | 48 | &pmc_ppu1_io_pit1 { 49 | frequency = <100000000>; 50 | }; 51 | 52 | &pmc_ppu1_io_pit2 { 53 | frequency = <100000000>; 54 | }; 55 | 56 | &pmc_ppu1_io_pit3 { 57 | frequency = <100000000>; 58 | 59 | /* This fastens the windows emulation by slowing down the plm scheduler. */ 60 | windows-frequency = <1300000>; 61 | }; 62 | 63 | &pmc_ppu1_io_pit4 { 64 | frequency = <100000000>; 65 | }; 66 | 67 | #endif 68 | -------------------------------------------------------------------------------- /versal-vdu.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal VDU modules 3 | * 4 | * Copyright (c) 2021, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | 11 | #define VDU_NPI(n) \ 12 | vdu_npi_ ## n ##@MM_NPI_VDU_NPI_## n { \ 13 | compatible = "xlnx,vdu_npi"; \ 14 | reg = <0x0 MM_NPI_VDU_NPI_## n 0x0 MM_NPI_VDU_NPI_## n ##_SIZE 0x0>; \ 15 | } 16 | 17 | &amba_pmc_pl { 18 | 19 | #ifdef MM_NPI_VDU_NPI_0 20 | VDU_NPI(0); 21 | #endif 22 | #ifdef MM_NPI_VDU_NPI_1 23 | VDU_NPI(1); 24 | #endif 25 | #ifdef MM_NPI_VDU_NPI_2 26 | VDU_NPI(2); 27 | #endif 28 | #ifdef MM_NPI_VDU_NPI_3 29 | VDU_NPI(3); 30 | #endif 31 | 32 | }; 33 | -------------------------------------------------------------------------------- /versal-wiremap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal GPIO wire-map friendly names. 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | 14 | * The above copyright notice and this permission notice shall be included in 15 | * all copies or substantial portions of the Software. 16 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | * THE SOFTWARE. 24 | */ 25 | 26 | /* PMC_PUF_CTRL Signals */ 27 | #define PMC_PUF_CTRL_PUF_ERROR 0 28 | -------------------------------------------------------------------------------- /versal-xram-memmap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * XRAM memory map 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | * copies of the Software, and to permit persons to whom the Software is 9 | * furnished to do so, subject to the following conditions: 10 | 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | * THE SOFTWARE. 21 | */ 22 | 23 | #define MM_XRAM_BANK0 0xfe800000 24 | #define MM_XRAM_BANK0_SIZE 0x100000 25 | #define MM_XRAM_BANK1 0xfe900000 26 | #define MM_XRAM_BANK1_SIZE 0x100000 27 | #define MM_XRAM_BANK2 0xfea00000 28 | #define MM_XRAM_BANK2_SIZE 0x100000 29 | #define MM_XRAM_BANK3 0xfeb00000 30 | #define MM_XRAM_BANK3_SIZE 0x100000 31 | #define MM_XRAM_CTRL0 0xff8e0000 32 | #define MM_XRAM_CTRL0_SIZE 0x10000 33 | #define MM_XRAM_CTRL1 0xff8f0000 34 | #define MM_XRAM_CTRL1_SIZE 0x10000 35 | #define MM_XRAM_CTRL2 0xff900000 36 | #define MM_XRAM_CTRL2_SIZE 0x10000 37 | #define MM_XRAM_CTRL3 0xff910000 38 | #define MM_XRAM_CTRL3_SIZE 0x10000 39 | #define MM_XRAM_XMPU0 0xff930000 40 | #define MM_XRAM_XMPU0_SIZE 0x4000 41 | #define MM_XRAM_XMPU1 0xff934000 42 | #define MM_XRAM_XMPU1_SIZE 0x4000 43 | #define MM_XRAM_XMPU2 0xff938000 44 | #define MM_XRAM_XMPU2_SIZE 0x4000 45 | #define MM_XRAM_XMPU3 0xff93c000 46 | #define MM_XRAM_XMPU3_SIZE 0x4000 47 | #define MM_XRAM_GPV 0xff940000 48 | #define MM_XRAM_GPV_SIZE 0x10000 49 | #define MM_XRAM_SLCR 0xff950000 50 | #define MM_XRAM_SLCR_SIZE 0x10000 51 | #define MM_XRAM_APM 0xff970000 52 | #define MM_XRAM_APM_SIZE 0x10000 53 | -------------------------------------------------------------------------------- /versal.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal header file 3 | * 4 | * Copyright (c) 2016, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "utils.dtsh" 31 | #include "loader.dtsh" 32 | #include "versal-irqs.dtsh" 33 | #include "versal-memmap.dtsh" 34 | #include "versal-resetmap.dtsh" 35 | #include "versal-powermap.dtsh" 36 | #include "versal-wiremap.dtsh" 37 | #include "smid.dtsh" 38 | 39 | 40 | /* CPU CORE ID's */ 41 | #define CPU_NR_APU0 0 42 | #define CPU_NR_APU1 1 43 | #define CPU_NR_RPU0 2 44 | #define CPU_NR_RPU1 3 45 | 46 | #define PLATFORM_SILICON 0x0 47 | #define PLATFORM_QEMU 0x3 48 | #define PLATFORM_QEMU_COSIM 0x7 49 | 50 | /* QEMU RAM Settings */ 51 | #if defined(MULTI_ARCH) 52 | #define IS_MULTI_ARCH(a) a 53 | #define QEMU_RAM_PROPERTY 2 54 | #else 55 | #define IS_MULTI_ARCH(a) 56 | #define QEMU_RAM_PROPERTY 1 57 | #endif 58 | 59 | #define VERSAL_MARK_SE \ 60 | &xlnx_efuse { \ 61 | init-factory-extidcode = <0x3>; \ 62 | }; 63 | -------------------------------------------------------------------------------- /versal2-asu-cpu.dtsi: -------------------------------------------------------------------------------- 1 | /* Versal Gen 2 ASU Emulation 2 | * 3 | * Copyright (c) 2023, AMD Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Lockstep Microblaze RISCV 11 | * RAM interfaces 12 | */ 13 | 14 | / { 15 | cpus { 16 | #address-cells = <1>; 17 | #size-cells = <0>; 18 | asu_cpu: cpu@0 { 19 | device_type = "cpu"; 20 | reg = <0>; 21 | status = "okay"; 22 | #interrupt-cells = <1>; 23 | compatible = "microblaze-v-riscv-cpu"; 24 | riscv,isa = "rv32imac"; 25 | i = <1>; 26 | m = <1>; 27 | a = <1>; 28 | c = <1>; 29 | memory = <&lmb_amba_asu>; 30 | memattr = <&asu_cpu_memattr>; 31 | gpios = < &crl 30 &crl 34>; 32 | gpio-names = "halt", "reset"; 33 | qemu,halt = <0x1>; 34 | resetvec = ; 35 | }; 36 | }; 37 | }; 38 | -------------------------------------------------------------------------------- /versal2-asu-irqs.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Gen 2 ASU interrupts 3 | * 4 | * Copyright (c) 2023 Advanced Micro Devices Inc. 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define IRQ_ASU_RAM_DATA 16 11 | #define IRQ_ASU_RAM_INSTR 17 12 | #define IRQ_ASU_AES_DONE 18 13 | #define IRQ_ASU_DMA_DONE 19 14 | #define IRQ_ASU_DMA1_DONE 20 15 | #define IRQ_ASU_SHA_DONE 21 16 | #define IRQ_ASU_ECC 22 17 | #define IRQ_ASU_RSA 23 18 | #define IRQ_ASU_TRNG 24 19 | #define IRQ_ASU_GPI_STATUS 25 20 | #define IRQ_ASU_KT_DONE 26 21 | #define IRQ_ASU_PL_ASU_IRQ_AGG 27 22 | #define IRQ_ASU_IPI 28 23 | #define IRQ_ASU_EAM 29 24 | #define IRQ_ASU_ADDR_DECODE_ERROR 30 25 | #define IRQ_ASU_SSS_ERR 31 26 | -------------------------------------------------------------------------------- /versal2-asu-sec.dtsi: -------------------------------------------------------------------------------- 1 | /* Versal Gen 2 ASU Emulation 2 | * 3 | * Copyright (c) 2023, AMD Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * Security-subsystem 11 | * Key Vault 12 | * AES 13 | * SHA2/3 14 | * ECDSA/RSA 15 | * TRNG 16 | * DMA 17 | */ 18 | &amba_asu { 19 | asu_aes: asu_aes@MM_ASU_AES { 20 | doc-status = "complete"; 21 | compatible = "xlnx,asu-aes"; 22 | reg = <0x0 MM_ASU_AES 0x0 MM_ASU_AES_SIZE 0x0>; 23 | #gpio-cells = <1>; 24 | gpio-controller; 25 | /* 26 | * TODO: These are going directly 27 | * into ASU RISC-V. Constants shall be changed to names when 28 | * autogen irq map becomes available. 29 | */ 30 | interrupts = ; 31 | keyvault = <&asu_kv>; 32 | }; 33 | asu_kv: asu_kv@MM_ASU_KEY { 34 | compatible = "xlnx,asu-kv"; 35 | reg = <0x0 MM_ASU_KEY 0x0 MM_ASU_KEY_SIZE 0x0>; 36 | pmxc-aes = <&pmc_aes>; 37 | aes-engine = <&asu_aes>; 38 | }; 39 | asu_sha3: asu_sha3@MM_ASU_SHA3 { 40 | doc-status = "complete"; 41 | compatible = "xlnx,asu_sha3"; 42 | reg = <0x0 MM_ASU_SHA3 0x0 MM_ASU_SHA3_SIZE 0x0>; 43 | interrupts = ; 44 | }; 45 | asu_sha2: asu_sha2@MM_ASU_SHA2 { 46 | doc-status = "complete"; 47 | compatible = "xlnx,asu_sha2"; 48 | reg = <0x0 MM_ASU_SHA2 0x0 MM_ASU_SHA2_SIZE 0x0>; 49 | }; 50 | asu_rsa: pmc_rsa@MM_ASU_RSA { 51 | doc-status = "complete"; 52 | compatible = "xlnx,asu-ecdsa-rsa"; 53 | reg = < 0x0 MM_ASU_RSA 0x0 MM_ASU_RSA_SIZE 0x0>; 54 | interrupts = ; 55 | }; 56 | asu_trng: trng@MM_ASU_TRNG { 57 | doc-status = "complete"; 58 | compatible = "xlnx-asu-trng"; 59 | reg = <0x0 MM_ASU_TRNG_AXI 0x0 (MM_ASU_TRNG_AXI_SIZE + MM_ASU_TRNG_SIZE) 0x0>; 60 | interrupts = ; 61 | }; 62 | asu_ecc: asu_ecc@MM_ASU_ECC { 63 | doc-status = "complete"; 64 | compatible = "xlnx,asu_ecc"; 65 | reg = <0x0 MM_ASU_ECC 0x0 MM_ASU_ECC_SIZE 0x0>; 66 | interrupts = ; 67 | }; 68 | }; 69 | 70 | /* ASU-AES connectivity to other devices */ 71 | &asu_aes { 72 | stream-connected-aes = <&asu_sss>; /* ASU-AES output */ 73 | }; 74 | 75 | &asu_sss { 76 | stream-connected-aes = <&asu_aes>; /* ASU-AES input */ 77 | }; 78 | -------------------------------------------------------------------------------- /versal2-asu.dtsi: -------------------------------------------------------------------------------- 1 | /* Versal Gen 2 ASU Emulation 2 | * 3 | * Copyright (c) 2023, AMD Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | #include "versal2-asu-io.dtsi" 10 | #include "versal2-asu-sec.dtsi" 11 | -------------------------------------------------------------------------------- /versal2-icnt.dtsi: -------------------------------------------------------------------------------- 1 | /* Versal Gen 2 ASU Emulation 2 | * 3 | * Copyright (c) 2023, AMD Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | 10 | /{ 11 | #address-cells = <2>; 12 | #size-cells = <2>; 13 | #priority-cells = <1>; 14 | 15 | MEMATTR(asu_cpu, NON_SECURE, 0x0); 16 | 17 | amba_root: amba_root@0 { 18 | amba_asu_cpu: amba_asu_cpu@0 { 19 | #address-cells = <2>; 20 | #size-cells = <2>; 21 | #priority-cells = <1>; 22 | #interrupt-cells = <1>; 23 | compatible = "simple-bus"; 24 | ranges; 25 | MR_BACKGROUND(amba); 26 | }; 27 | amba_lpd: amba_lpd@0 { 28 | MR_BACKGROUND(amba_asu); 29 | }; 30 | amba_asu: amba_asu@0 { 31 | #address-cells = <2>; 32 | #size-cells = <2>; 33 | #priority-cells = <1>; 34 | compatible = "simple-bus"; 35 | ranges; 36 | }; 37 | }; 38 | 39 | lmb_amba_asu: lmb_amba_asu@0 { 40 | #address-cells = <2>; 41 | #size-cells = <2>; 42 | #priority-cells = <1>; 43 | compatible = "simple-bus"; 44 | ranges; 45 | main_bus_for_asu { 46 | compatible = "qemu:memory-region"; 47 | alias = <&amba_asu_cpu>; 48 | /* Full address range with 0 priority */ 49 | reg = <0x0 0x0 0xffffffff 0xffffffff 0>; 50 | }; 51 | }; 52 | 53 | }; 54 | -------------------------------------------------------------------------------- /versal2-memmap-aliases.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Gen 2 memmap aliases 3 | * 4 | * Copyright (c) 2023, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | 10 | #define MM_XRAM_XMPU MM_OCM2_XMPU 11 | #define MM_XRAM_XMPU_SIZE MM_OCM2_XMPU_SIZE 12 | #define MM_XRAM_MEM MM_OCM2_MEM 13 | #define MM_XRAM_MEM_SIZE MM_OCM2_MEM_SIZE 14 | #define MM_FPD_APU_PCLI MM_FPD_APU_PCIL 15 | #define MM_FPD_APU_PCLI_SIZE MM_FPD_APU_PCIL_SIZE 16 | 17 | /* ASU */ 18 | #define MM_PSM_IOMODULE MM_ASU_IO_BUS 19 | #define MM_PSM_IOMODULE_SIZE MM_ASU_IO_BUS_SIZE 20 | #undef MM_PSM_LOCAL_REG 21 | #undef MM_PSM_LOCAL_REG_SIZE 22 | #undef MM_PSM_GLOBAL_REG 23 | #undef MM_PSM_GLOBAL_REG_SIZE 24 | 25 | /* NPI aliases */ 26 | #ifdef MM_NPI_DDRMC5E_MAIN_0 27 | #define MM_NPI_DDRMC_MAIN_0 MM_NPI_DDRMC5E_MAIN_0 28 | #define MM_NPI_DDRMC_MAIN_0_SIZE MM_NPI_DDRMC5E_MAIN_0_SIZE 29 | #define MM_NPI_DDRMC_NOC_0 MM_NPI_DDRMC5E_NOC_0 30 | #define MM_NPI_DDRMC_NOC_0_SIZE MM_NPI_DDRMC5E_NOC_0_SIZE 31 | #define MM_NPI_DDRMC_UB_0 MM_NPI_DDRMC5E_UB_0 32 | #define MM_NPI_DDRMC_UB_0_SIZE MM_NPI_DDRMC5E_UB_0_SIZE 33 | #endif 34 | #ifdef MM_NPI_DDRMC5E_MAIN_1 35 | #define MM_NPI_DDRMC_MAIN_1 MM_NPI_DDRMC5E_MAIN_1 36 | #define MM_NPI_DDRMC_MAIN_1_SIZE MM_NPI_DDRMC5E_MAIN_1_SIZE 37 | #define MM_NPI_DDRMC_NOC_1 MM_NPI_DDRMC5E_NOC_1 38 | #define MM_NPI_DDRMC_NOC_1_SIZE MM_NPI_DDRMC5E_NOC_1_SIZE 39 | #define MM_NPI_DDRMC_UB_1 MM_NPI_DDRMC5E_UB_1 40 | #define MM_NPI_DDRMC_UB_1_SIZE MM_NPI_DDRMC5E_UB_1_SIZE 41 | #endif 42 | #ifdef MM_NPI_DDRMC5E_MAIN_2 43 | #define MM_NPI_DDRMC_MAIN_2 MM_NPI_DDRMC5E_MAIN_2 44 | #define MM_NPI_DDRMC_MAIN_2_SIZE MM_NPI_DDRMC5E_MAIN_2_SIZE 45 | #define MM_NPI_DDRMC_NOC_2 MM_NPI_DDRMC5E_NOC_2 46 | #define MM_NPI_DDRMC_NOC_2_SIZE MM_NPI_DDRMC5E_NOC_2_SIZE 47 | #define MM_NPI_DDRMC_UB_2 MM_NPI_DDRMC5E_UB_2 48 | #define MM_NPI_DDRMC_UB_2_SIZE MM_NPI_DDRMC5E_UB_2_SIZE 49 | #endif 50 | #ifdef MM_NPI_DDRMC5E_MAIN_3 51 | #define MM_NPI_DDRMC_MAIN_3 MM_NPI_DDRMC5E_MAIN_3 52 | #define MM_NPI_DDRMC_MAIN_3_SIZE MM_NPI_DDRMC5E_MAIN_3_SIZE 53 | #define MM_NPI_DDRMC_NOC_3 MM_NPI_DDRMC5E_NOC_3 54 | #define MM_NPI_DDRMC_NOC_3_SIZE MM_NPI_DDRMC5E_NOC_3_SIZE 55 | #define MM_NPI_DDRMC_UB_3 MM_NPI_DDRMC5E_UB_3 56 | #define MM_NPI_DDRMC_UB_3_SIZE MM_NPI_DDRMC5E_UB_3_SIZE 57 | #endif 58 | #ifdef MM_NPI_DDRMC5E_MAIN_4 59 | #define MM_NPI_DDRMC_MAIN_4 MM_NPI_DDRMC5E_MAIN_4 60 | #define MM_NPI_DDRMC_MAIN_4_SIZE MM_NPI_DDRMC5E_MAIN_4_SIZE 61 | #define MM_NPI_DDRMC_NOC_4 MM_NPI_DDRMC5E_NOC_4 62 | #define MM_NPI_DDRMC_NOC_4_SIZE MM_NPI_DDRMC5E_NOC_4_SIZE 63 | #define MM_NPI_DDRMC_UB_4 MM_NPI_DDRMC5E_UB_4 64 | #define MM_NPI_DDRMC_UB_4_SIZE MM_NPI_DDRMC5E_UB_4_SIZE 65 | #endif 66 | -------------------------------------------------------------------------------- /versal2-pmx-shared-overlay.dtsi: -------------------------------------------------------------------------------- 1 | /* Versal Gen 2 PMXC shared overlay 2 | * 3 | * Copyright (c) 2023, AMD Inc 4 | * All rights reserved. 5 | * 6 | * SPDX-License-Identifier: BSD-3-Clause 7 | */ 8 | 9 | /* 10 | * This defines need to be on top before including 11 | * versal-pmx-shared-overlay.dtsi 12 | */ 13 | #define MM_PMX_PMX_ROM MM_PMC_PMC_ROM 14 | #define MM_PMX_PMX_ROM_SIZE 0x40000 15 | 16 | #include "versal-pmx-shared-overlay.dtsi" 17 | -------------------------------------------------------------------------------- /versal2-wiremap.dtsh: -------------------------------------------------------------------------------- 1 | /* 2 | * Versal Gen 2 GPIO wire-map friendly names. 3 | * 4 | * Copyright (c) 2023, AMD Inc 5 | * All rights reserved. 6 | * 7 | * SPDX-License-Identifier: BSD-3-Clause 8 | */ 9 | #ifndef VERSAL2_WIREMAP_DTSH 10 | #define VERSAL2_WIREMAP_DTSH 11 | 12 | /* Output from ASU-AES */ 13 | #define ASU_AES_KEY_TRANSFER_DONE 0 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /zcu100-arm.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP ZCU100 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | /* 31 | * Please use "board-zynqmp-zcu100.dts" as this file would be 32 | * deprecated. 33 | */ 34 | #include "board-zynqmp-zcu100.dts" 35 | -------------------------------------------------------------------------------- /zcu102-arm.cosim.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP ZCU102 board device tree 3 | * 4 | * Copyright (c) 2016, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #include "zcu102-arm.dts" 31 | #include "zynqmp-pl-remoteport.dtsi" 32 | -------------------------------------------------------------------------------- /zcu102-arm.dts: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP ZCU102 board device tree 3 | * 4 | * Copyright (c) 2020, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | /* 31 | * Please use "board-zynqmp-zcu102.dts" as this file would be 32 | * deprecated. 33 | */ 34 | #include "board-zynqmp-zcu102.dts" 35 | -------------------------------------------------------------------------------- /zynqmp-boot-init.dtsi: -------------------------------------------------------------------------------- 1 | /* 2 | * ZynqMP Init 3 | * 4 | * Copyright (c) 2018, Xilinx Inc 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions are met: 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * * Neither the name of the nor the 15 | * names of its contributors may be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | &amba_prio { 31 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xFD0807E0, 0x1003F, 0x4); // DDR_PHY.DX0GSR0 32 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xFD0809E0, 0x1003F, 0x4); // DDR_PHY.DX2GSR0 33 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xFD080BE0, 0x1003F, 0x4); // DDR_PHY.DX4GSR0 34 | LOADER_DEBUG_WRITE(CPU_NR_APU0, 0xFD080DE0, 0x1003F, 0x4); // DDR_PHY.DX6GSR0 35 | }; 36 | --------------------------------------------------------------------------------