summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-02-24 16:28:03 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-03-06 20:04:03 +1000
commitc8772c1ae9e79950b110d4b258cfa5c03b046339 (patch)
tree546c391c89d9eb5081de8d296ee0e72677524f10 /conf
parentf472c57a008df2ab8d941fdbad5d9077343462db (diff)
downloadmeta-xilinx-c8772c1ae9e79950b110d4b258cfa5c03b046339.tar.gz
picozed-zynq7: Rework device tree to use kernel source include
* Rework the picozed-zynq7.dts device tree to use the kernel source include 'zynq-7000.dtsi' * Store the new device tree in the device-tree recipe directory * Remove existing device tree from conf/machine/boards Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/boards/picozed/picozed-zynq7-board.dtsi76
-rw-r--r--conf/machine/boards/picozed/picozed-zynq7.dts5
-rw-r--r--conf/machine/picozed-zynq7.conf7
3 files changed, 2 insertions, 86 deletions
diff --git a/conf/machine/boards/picozed/picozed-zynq7-board.dtsi b/conf/machine/boards/picozed/picozed-zynq7-board.dtsi
deleted file mode 100644
index 19d50524..00000000
--- a/conf/machine/boards/picozed/picozed-zynq7-board.dtsi
+++ /dev/null
@@ -1,76 +0,0 @@
1/ {
2 model = "Avnet picoZed";
3 chosen {
4 bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw";
5 linux,stdout-path = "/axi@0/serial@e0001000";
6 } ;
7 ps7_ddr_0: memory@0 {
8 device_type = "memory";
9 reg = <0x0 0x40000000>;
10 } ;
11 ps7_axi_interconnect_0: amba@0 {
12 ps7_ethernet_0: ps7-ethernet@e000b000 {
13 phy-handle = <&phy0>;
14 phy-mode = "rgmii-id";
15 phy0: phy@0 {
16 compatible = "marvell,88e1512";
17 device_type = "ethernet-phy";
18 reg = <0>;
19 } ;
20 } ;
21 ps7_qspi_0: ps7-qspi@e000d000 {
22 flash@0 {
23 compatible = "micron,m25p80", "spansion,s25fl128s", "jedec,spi-nor";
24 reg = <0x0>;
25 spi-max-frequency = <50000000>;
26 #address-cells = <1>;
27 #size-cells = <1>;
28 partition@qspi-fsbl-uboot {
29 label = "qspi-fsbl-uboot";
30 reg = <0x0 0x100000>;
31 };
32 partition@qspi-linux {
33 label = "qspi-linux";
34 reg = <0x100000 0x500000>;
35 };
36 partition@qspi-device-tree {
37 label = "qspi-device-tree";
38 reg = <0x600000 0x20000>;
39 };
40 partition@qspi-rootfs {
41 label = "qspi-rootfs";
42 reg = <0x620000 0x5E0000>;
43 };
44 partition@qspi-bitstream {
45 label = "qspi-bitstream";
46 reg = <0xC00000 0x400000>;
47 };
48 };
49 } ;
50 ps7_usb_0: ps7-usb@e0002000 {
51 xlnx,phy-reset-gpio = <&ps7_gpio_0 7 0>; /* MIO USB PHY Reset */
52 usb-phy = <&usb0_phy>;
53 } ;
54 ps7_sd_1: ps7-sdio@e0101000 {
55 /* The SD1 interface is connected to the non-removable eMMC */
56 non-removable;
57 } ;
58
59 /* Disabled Devices */
60 ps7_sd_0: ps7-sdio@e0100000 { compatible = "invalid"; };
61 ps7_uart_0: serial@e0000000 { compatible = "invalid"; };
62 ps7_ethernet_1: ps7-ethernet@e000c000 { compatible = "invalid"; };
63 ps7_i2c_0: ps7-i2c@e0004000 { compatible = "invalid"; };
64 ps7_i2c_1: ps7-i2c@e0005000 { compatible = "invalid"; };
65 ps7_wdt_0: ps7-wdt@f8005000 { compatible = "invalid"; };
66 ps7_can_0: ps7-can@e0008000 { compatible = "invalid"; };
67 ps7_can_1: ps7-can@e0009000 { compatible = "invalid"; };
68 ps7_usb_1: ps7-usb@e0003000 { compatible = "invalid"; };
69 } ;
70
71 usb0_phy: usb-phy {
72 #phy-cells = <0>;
73 compatible = "usb-nop-xceiv";
74 reset-gpios = <&ps7_gpio_0 7 1>; /* MIO 7, GPIO_ACTIVE_LOW */
75 } ;
76} ;
diff --git a/conf/machine/boards/picozed/picozed-zynq7.dts b/conf/machine/boards/picozed/picozed-zynq7.dts
deleted file mode 100644
index cd580c9e..00000000
--- a/conf/machine/boards/picozed/picozed-zynq7.dts
+++ /dev/null
@@ -1,5 +0,0 @@
1/dts-v1/;
2/include/ "zynq7-base.dtsi"
3/include/ "picozed-zynq7-board.dtsi"
4/ {
5} ;
diff --git a/conf/machine/picozed-zynq7.conf b/conf/machine/picozed-zynq7.conf
index 1f45dad7..a57bbedc 100644
--- a/conf/machine/picozed-zynq7.conf
+++ b/conf/machine/picozed-zynq7.conf
@@ -12,16 +12,13 @@ require conf/machine/include/machine-xilinx-board.inc
12 12
13MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" 13MACHINE_FEATURES = "ext2 vfat usbhost usbgadget"
14 14
15# microZed machine definition known by Xilinx UBOOT 15# u-boot configuration
16UBOOT_MACHINE = "zynq_picozed_config" 16UBOOT_MACHINE = "zynq_picozed_config"
17SPL_BINARY = "boot.bin" 17SPL_BINARY = "boot.bin"
18 18
19SERIAL_CONSOLE = "115200 ttyPS0" 19SERIAL_CONSOLE = "115200 ttyPS0"
20 20
21MACHINE_DEVICETREE := " \ 21MACHINE_DEVICETREE = "picozed/picozed-zynq7.dts"
22 picozed/picozed-zynq7-board.dtsi \
23 picozed/picozed-zynq7.dts \
24 "
25 22
26IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" 23IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb"
27 24