diff options
3 files changed, 2 insertions, 101 deletions
diff --git a/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf b/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf index acac58f1..188c5c5d 100644 --- a/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf | |||
| @@ -23,11 +23,11 @@ EXTRA_IMAGEDEPENDS += " \ | |||
| 23 | 23 | ||
| 24 | SERIAL_CONSOLE = "115200 ttyPS0" | 24 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 25 | 25 | ||
| 26 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | 26 | KERNEL_DEVICETREE = "zynq-microzed.dtb" |
| 27 | 27 | ||
| 28 | IMAGE_BOOT_FILES += " \ | 28 | IMAGE_BOOT_FILES += " \ |
| 29 | boot.bin \ | 29 | boot.bin \ |
| 30 | devicetree/${MACHINE}.dtb \ | 30 | zynq-microzed.dtb \ |
| 31 | uEnv.txt \ | 31 | uEnv.txt \ |
| 32 | " | 32 | " |
| 33 | 33 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb index cf38c6ce..81965c13 100644 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb +++ b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb | |||
| @@ -20,9 +20,6 @@ SRC_URI_append_zynq = " file://zynq-7000-qspi-dummy.dtsi" | |||
| 20 | COMPATIBLE_MACHINE_picozed-zynq7 = ".*" | 20 | COMPATIBLE_MACHINE_picozed-zynq7 = ".*" |
| 21 | SRC_URI_append_picozed-zynq7 = " file://picozed-zynq7.dts" | 21 | SRC_URI_append_picozed-zynq7 = " file://picozed-zynq7.dts" |
| 22 | 22 | ||
| 23 | COMPATIBLE_MACHINE_microzed-zynq7 = ".*" | ||
| 24 | SRC_URI_append_microzed-zynq7 = " file://microzed-zynq7.dts" | ||
| 25 | |||
| 26 | COMPATIBLE_MACHINE_qemu-zynq7 = ".*" | 23 | COMPATIBLE_MACHINE_qemu-zynq7 = ".*" |
| 27 | SRC_URI_append_qemu-zynq7 = " file://qemu-zynq7.dts" | 24 | SRC_URI_append_qemu-zynq7 = " file://qemu-zynq7.dts" |
| 28 | 25 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/microzed-zynq7.dts b/meta-xilinx-bsp/recipes-bsp/device-tree/files/microzed-zynq7.dts deleted file mode 100644 index b9376a49..00000000 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/microzed-zynq7.dts +++ /dev/null | |||
| @@ -1,96 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2011 - 2014 Xilinx | ||
| 3 | * Copyright (C) 2016 Jagan Teki <jteki@openedev.com> | ||
| 4 | * | ||
| 5 | * This software is licensed under the terms of the GNU General Public | ||
| 6 | * License version 2, as published by the Free Software Foundation, and | ||
| 7 | * may be copied, distributed, and modified under those terms. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | */ | ||
| 14 | /dts-v1/; | ||
| 15 | /include/ "zynq-7000.dtsi" | ||
| 16 | |||
| 17 | / { | ||
| 18 | model = "Zynq MicroZED Development Board"; | ||
| 19 | compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000"; | ||
| 20 | |||
| 21 | aliases { | ||
| 22 | ethernet0 = &gem0; | ||
| 23 | serial0 = &uart1; | ||
| 24 | }; | ||
| 25 | |||
| 26 | memory { | ||
| 27 | device_type = "memory"; | ||
| 28 | reg = <0x0 0x40000000>; | ||
| 29 | }; | ||
| 30 | |||
| 31 | chosen { | ||
| 32 | bootargs = "earlycon"; | ||
| 33 | stdout-path = "serial0:115200n8"; | ||
| 34 | }; | ||
| 35 | |||
| 36 | usb_phy0: phy0 { | ||
| 37 | compatible = "usb-nop-xceiv"; | ||
| 38 | #phy-cells = <0>; | ||
| 39 | }; | ||
| 40 | }; | ||
| 41 | |||
| 42 | &clkc { | ||
| 43 | ps-clk-frequency = <33333333>; | ||
| 44 | }; | ||
| 45 | |||
| 46 | &gem0 { | ||
| 47 | status = "okay"; | ||
| 48 | phy-mode = "rgmii-id"; | ||
| 49 | phy-handle = <ðernet_phy>; | ||
| 50 | |||
| 51 | ethernet_phy: ethernet-phy@0 { | ||
| 52 | reg = <0>; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | |||
| 56 | &sdhci0 { | ||
| 57 | status = "okay"; | ||
| 58 | }; | ||
| 59 | |||
| 60 | &uart1 { | ||
| 61 | status = "okay"; | ||
| 62 | }; | ||
| 63 | |||
| 64 | &usb0 { | ||
| 65 | status = "okay"; | ||
| 66 | dr_mode = "host"; | ||
| 67 | usb-phy = <&usb_phy0>; | ||
| 68 | pinctrl-names = "default"; | ||
| 69 | pinctrl-0 = <&pinctrl_usb0_default>; | ||
| 70 | }; | ||
| 71 | |||
| 72 | &pinctrl0 { | ||
| 73 | pinctrl_usb0_default: usb0-default { | ||
| 74 | mux { | ||
| 75 | groups = "usb0_0_grp"; | ||
| 76 | function = "usb0"; | ||
| 77 | }; | ||
| 78 | |||
| 79 | conf { | ||
| 80 | groups = "usb0_0_grp"; | ||
| 81 | slew-rate = <0>; | ||
| 82 | io-standard = <1>; | ||
| 83 | }; | ||
| 84 | |||
| 85 | conf-rx { | ||
| 86 | pins = "MIO29", "MIO31", "MIO36"; | ||
| 87 | bias-high-impedance; | ||
| 88 | }; | ||
| 89 | |||
| 90 | conf-tx { | ||
| 91 | pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34", | ||
| 92 | "MIO35", "MIO37", "MIO38", "MIO39"; | ||
| 93 | bias-disable; | ||
| 94 | }; | ||
| 95 | }; | ||
| 96 | }; | ||
