[meta-xilinx] [PATCH 5/5] conf/machine/zybo-zynq7: Switch to kernel DTS
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Wed Nov 4 14:02:49 PST 2015
This commit switches the zybo machine over to using the kernel
device tree, and removes the meta-xilinx device tree files.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
conf/machine/boards/zybo/zybo-zynq7-board.dtsi | 78 --------------------------
conf/machine/boards/zybo/zybo-zynq7.dts | 5 --
conf/machine/zybo-zynq7.conf | 9 +--
3 files changed, 2 insertions(+), 90 deletions(-)
delete mode 100644 conf/machine/boards/zybo/zybo-zynq7-board.dtsi
delete mode 100644 conf/machine/boards/zybo/zybo-zynq7.dts
diff --git a/conf/machine/boards/zybo/zybo-zynq7-board.dtsi b/conf/machine/boards/zybo/zybo-zynq7-board.dtsi
deleted file mode 100644
index 5d7a3a8..0000000
--- a/conf/machine/boards/zybo/zybo-zynq7-board.dtsi
+++ /dev/null
@@ -1,78 +0,0 @@
-/ {
- model = "Digilent ZYBO";
- chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw";
- linux,stdout-path = "/axi at 0/serial at e0001000";
- } ;
- ps7_ddr_0: memory at 0 {
- device_type = "memory";
- reg = <0x0 0x20000000>;
- } ;
- ps7_axi_interconnect_0: amba at 0 {
- ps7_slcr_0: ps7-slcr at f8000000 {
- clkc: clkc at 100 {
- /* ZYBO uses a 50 MHz PS Clk */
- ps-clk-frequency = <50000000>;
- } ;
- } ;
- ps7_ethernet_0: ps7-ethernet at e000b000 {
- phy-handle = <&phy0>;
- phy-mode = "rgmii-id";
- phy0: phy at 0 {
- compatible = "realtek,rtl8211e";
- device_type = "ethernet-phy";
- reg = <0>;
- } ;
- } ;
- ps7_qspi_0: ps7-qspi at e000d000 {
- flash at 0 {
- compatible = "micron,m25p80", "spansion,s25fl128s", "jedec,spi-nor";
- reg = <0x0>;
- spi-max-frequency = <50000000>;
- #address-cells = <1>;
- #size-cells = <1>;
- partition at qspi-fsbl-uboot {
- label = "qspi-fsbl-uboot";
- reg = <0x0 0x100000>;
- };
- partition at qspi-linux {
- label = "qspi-linux";
- reg = <0x100000 0x500000>;
- };
- partition at qspi-device-tree {
- label = "qspi-device-tree";
- reg = <0x600000 0x20000>;
- };
- partition at qspi-rootfs {
- label = "qspi-rootfs";
- reg = <0x620000 0x5E0000>;
- };
- partition at qspi-bitstream {
- label = "qspi-bitstream";
- reg = <0xC00000 0x400000>;
- };
- };
- } ;
- ps7_usb_0: ps7-usb at e0002000 {
- xlnx,phy-reset-gpio = <&ps7_gpio_0 46 0>; /* MIO USB PHY Reset */
- usb-phy = <&usb0_phy>;
- } ;
-
- /* Disabled Devices */
- ps7_sd_1: ps7-sdio at e0101000 { compatible = "invalid"; };
- ps7_uart_0: serial at e0000000 { compatible = "invalid"; };
- ps7_ethernet_1: ps7-ethernet at e000c000 { compatible = "invalid"; };
- ps7_i2c_0: ps7-i2c at e0004000 { compatible = "invalid"; };
- ps7_i2c_1: ps7-i2c at e0005000 { compatible = "invalid"; };
- ps7_wdt_0: ps7-wdt at f8005000 { compatible = "invalid"; };
- ps7_can_0: ps7-can at e0008000 { compatible = "invalid"; };
- ps7_can_1: ps7-can at e0009000 { compatible = "invalid"; };
- ps7_usb_1: ps7-usb at e0003000 { compatible = "invalid"; };
- } ;
-
- usb0_phy: usb-phy {
- #phy-cells = <0>;
- compatible = "usb-nop-xceiv";
- reset-gpios = <&ps7_gpio_0 46 1>; /* MIO 46, GPIO_ACTIVE_LOW */
- } ;
-} ;
diff --git a/conf/machine/boards/zybo/zybo-zynq7.dts b/conf/machine/boards/zybo/zybo-zynq7.dts
deleted file mode 100644
index cc51c3b..0000000
--- a/conf/machine/boards/zybo/zybo-zynq7.dts
+++ /dev/null
@@ -1,5 +0,0 @@
-/dts-v1/;
-/include/ "zynq7-base.dtsi"
-/include/ "zybo-zynq7-board.dtsi"
-/ {
-} ;
diff --git a/conf/machine/zybo-zynq7.conf b/conf/machine/zybo-zynq7.conf
index 821119e..d1ef71e 100644
--- a/conf/machine/zybo-zynq7.conf
+++ b/conf/machine/zybo-zynq7.conf
@@ -16,14 +16,9 @@ UBOOT_MACHINE = "zynq_zybo_config"
SERIAL_CONSOLE = "115200 ttyPS0"
-MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
-MACHINE_DEVICETREE := " \
- zybo/zybo-zynq7-board.dtsi \
- zybo/zybo-zynq7.dts \
- common/zynq7-base.dtsi \
- "
-
IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb"
+KERNEL_DEVICETREE = "zynq-zybo.dtb"
+
EXTRA_IMAGEDEPENDS += "virtual/boot-bin"
--
2.1.4
More information about the meta-xilinx
mailing list