summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-bsp/device-tree
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-08-25 13:42:41 -0600
committerMark Hatle <mark.hatle@amd.com>2024-09-04 09:01:06 -0500
commit7bba8d33cb85c2ea88b2d62f138528278bf03be4 (patch)
treeb7ee85c93acbc691a265e64535d6e4284a971ffe /meta-xilinx-bsp/recipes-bsp/device-tree
parent2633f0d890eea4b8dde4bf8dd21daca27f95e6b4 (diff)
downloadmeta-xilinx-7bba8d33cb85c2ea88b2d62f138528278bf03be4.tar.gz
meta-xilinx-bsp: Move to meta-xilinx-tools
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp/device-tree')
-rw-r--r--meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend12
-rw-r--r--meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts85
-rw-r--r--meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi20
-rw-r--r--meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi11
4 files changed, 0 insertions, 128 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend
deleted file mode 100644
index d62e305f..00000000
--- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend
+++ /dev/null
@@ -1,12 +0,0 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
2
3# device tree sources for the various machines
4COMPATIBLE_MACHINE:qemu-zynq7 = ".*"
5SRC_URI:append:qemu-zynq7 = " file://qemu-zynq7.dts"
6
7EXTRA_OVERLAYS:append:vek280-versal = " system-vek280.dtsi"
8
9SDFEC_EXTRA_OVERLAYS ??= ""
10SDFEC_EXTRA_OVERLAYS:zcu111-zynqmp = "system-zcu111.dtsi"
11
12EXTRA_OVERLAYS:append:zcu111-zynqmp = "${@' ${SDFEC_EXTRA_OVERLAYS}' if d.getVar('ENABLE_SDFEC_DT') == '1' else ''}"
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts b/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts
deleted file mode 100644
index cd0694d6..00000000
--- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts
+++ /dev/null
@@ -1,85 +0,0 @@
1/dts-v1/;
2/include/ "zynq-7000.dtsi"
3/include/ "zynq-7000-qspi-dummy.dtsi"
4
5/ {
6 model = "Zynq A9 QEMU";
7 compatible = "qemu,xilinx-zynq-a9", "xlnx,zynq-7000";
8
9 aliases {
10 ethernet0 = &gem0;
11 serial0 = &uart1;
12 };
13
14 memory {
15 device_type = "memory";
16 reg = <0x0 0x40000000>;
17 };
18
19 chosen {
20 bootargs = "earlyprintk";
21 stdout-path = "serial0:115200n8";
22 };
23};
24
25&amba {
26 /* Setup a fixed 25 MHz clock (100Mbps) to trick the ethernet driver */
27 fixednetclk: clock {
28 #clock-cells = <0>;
29 compatible = "fixed-clock";
30 clock-frequency = <25000000>;
31 };
32};
33
34&gem0 {
35 status = "okay";
36 clocks = <&clkc 30>, <&clkc 30>, <&fixednetclk>, <&fixednetclk>, <&clkc 30>;
37 phy-mode = "rgmii-id";
38 phy-handle = <&ethernet_phy>;
39
40 ethernet_phy: ethernet-phy@23 {
41 device_type = "ethernet-phy";
42 reg = <23>;
43 };
44};
45
46&sdhci0 {
47 status = "okay";
48};
49
50&uart1 {
51 status = "okay";
52};
53
54&qspi {
55 status = "okay";
56 is-dual = <1>;
57 primary_flash: ps7-qspi@0 {
58 #address-cells = <1>;
59 #size-cells = <1>;
60 compatible = "st,m25p80";
61 reg = <0x0>;
62 spi-max-frequency = <50000000>;
63 partition@0x00000000 {
64 label = "boot";
65 reg = <0x00000000 0x00500000>;
66 };
67 partition@0x00500000 {
68 label = "bootenv";
69 reg = <0x00500000 0x00020000>;
70 };
71 partition@0x00520000 {
72 label = "config";
73 reg = <0x00520000 0x00020000>;
74 };
75 partition@0x00540000 {
76 label = "image";
77 reg = <0x00540000 0x00a80000>;
78 };
79 partition@0x00fc0000 {
80 label = "spare";
81 reg = <0x00fc0000 0x00000000>;
82 };
83 };
84};
85
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi b/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi
deleted file mode 100644
index 0d2ca87d..00000000
--- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi
+++ /dev/null
@@ -1,20 +0,0 @@
1/ {
2/* Reserve the bad block DDR memory for linux to not touch it, refer:CR-1143646 */
3reserved-memory {
4 #address-cells = <2>;
5 #size-cells = <2>;
6 ranges;
7 pl_ddr: buffer@0
8 {
9 no-map;
10 reg = <0x08 0x00 0x00 0x80000000>;
11 };
12
13 lpddr_memory: buffer@1
14 {
15 no-map;
16 reg = <0x500 0x0 0x2 0x0>;
17 };
18
19};
20};
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi b/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi
deleted file mode 100644
index 870f13a8..00000000
--- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi
+++ /dev/null
@@ -1,11 +0,0 @@
1/ {
2/* Add Board specific PL gpio-line-names wrt design to have sdfec functional */
3 amba_pl: pl-bus {
4 axi_gpio: gpio@a00c0000 {
5 gpio-line-names = "LED0","LED1";
6 };
7 gpio_reset: gpio@a00c1000 {
8 gpio-line-names = "RESET";
9 };
10 };
11};