Skip to content

Commit

Permalink
arm64: boot: xilinx: jupiter: re-arrange devicetrees
Browse files Browse the repository at this point in the history
Having zynqmp-jupiter-sdr-rx2tx2.dts directly including
zynqmp-jupiter-sdr.dts and then removing nodes was clumsy and a bit
confusing. That also lead to having DT tags ("/dts-v1/;") included in
both files which can be problematic for some build systems like
petalinux. Hence, just do things properly and place the common pieces in
a common .dtsi file.

Signed-off-by: Nuno Sá <[email protected]>
  • Loading branch information
nunojsa committed Jan 28, 2025
1 parent 45b5413 commit f1e0168
Show file tree
Hide file tree
Showing 3 changed files with 589 additions and 587 deletions.
7 changes: 1 addition & 6 deletions arch/arm64/boot/dts/xilinx/zynqmp-jupiter-sdr-rx2tx2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@

/dts-v1/;

#include "zynqmp-jupiter-sdr.dts"

/delete-node/ &rx2_dma;
/delete-node/ &tx2_dma;
/delete-node/ &axi_adrv9002_core_rx2;
/delete-node/ &axi_adrv9002_core_tx2;
#include "zynqmp-jupiter-sdr.dtsi"

&axi_adrv9002_core_tx1 {
compatible = "adi,axi-adrv9002-rx2tx2-1.0";
Expand Down
Loading

0 comments on commit f1e0168

Please sign in to comment.