From 99ac0639fff61cbdcfe58668eb9b0083d624504f Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 14:29:42 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- .../boards/zedboard/zedboard-zynq7-board.dtsi | 72 ++++++++++++++++++++++ .../boards/zedboard/zedboard-zynq7-yocto.dts | 6 ++ conf/machine/boards/zedboard/zedboard-zynq7.dts | 5 ++ 3 files changed, 83 insertions(+) create mode 100644 conf/machine/boards/zedboard/zedboard-zynq7-board.dtsi create mode 100644 conf/machine/boards/zedboard/zedboard-zynq7-yocto.dts create mode 100644 conf/machine/boards/zedboard/zedboard-zynq7.dts (limited to 'conf/machine/boards/zedboard') diff --git a/conf/machine/boards/zedboard/zedboard-zynq7-board.dtsi b/conf/machine/boards/zedboard/zedboard-zynq7-board.dtsi new file mode 100644 index 00000000..f839c76e --- /dev/null +++ b/conf/machine/boards/zedboard/zedboard-zynq7-board.dtsi @@ -0,0 +1,72 @@ +/* + * ZedBoard DTS file header for generic boot. + */ + +/ { + model = "ZedBoard"; + chosen { + bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw"; + linux,stdout-path = "/axi@0/serial@e0001000"; + } ; + ps7_ddr_0: memory@0 { + device_type = "memory"; + reg = <0x0 0x20000000>; + } ; + ps7_axi_interconnect_0: amba@0 { + ps7_ethernet_0: ps7-ethernet@e000b000 { + phy-handle = <&phy0>; + phy-mode = "rgmii-id"; + mdio { + phy0: phy@0 { + compatible = "marvell,88e1518"; + device_type = "ethernet-phy"; + reg = <0>; + } ; + } ; + } ; + ps7_qspi_0: ps7-qspi@e000d000 { + flash@0 { + compatible = "n25q128"; + reg = <0x0>; + spi-max-frequency = <50000000>; + #address-cells = <1>; + #size-cells = <1>; + partition@qspi-fsbl-uboot { + label = "qspi-fsbl-uboot"; + reg = <0x0 0x100000>; + }; + partition@qspi-linux { + label = "qspi-linux"; + reg = <0x100000 0x500000>; + }; + partition@qspi-device-tree { + label = "qspi-device-tree"; + reg = <0x600000 0x20000>; + }; + partition@qspi-rootfs { + label = "qspi-rootfs"; + reg = <0x620000 0x5E0000>; + }; + partition@qspi-bitstream { + label = "qspi-bitstream"; + reg = <0xC00000 0x400000>; + }; + }; + } ; + ps7_gpio_0: ps7-gpio@e000a000 { + gpio-mask-high = <0xc0000>; + gpio-mask-low = <0xfe81>; + } ; + + /* Disabled Devices */ + ps7_sd_1: ps7-sdio@e0101000 { compatible = "invalid"; }; + ps7_uart_0: serial@e0000000 { compatible = "invalid"; }; + ps7_ethernet_1: ps7-ethernet@e000c000 { compatible = "invalid"; }; + ps7_i2c_0: ps7-i2c@e0004000 { compatible = "invalid"; }; + ps7_i2c_1: ps7-i2c@e0005000 { compatible = "invalid"; }; + ps7_wdt_0: ps7-wdt@f8005000 { compatible = "invalid"; }; + ps7_can_0: ps7-can@e0008000 { compatible = "invalid"; }; + ps7_can_1: ps7-can@e0009000 { compatible = "invalid"; }; + ps7_usb_1: ps7-usb@e0003000 { compatible = "invalid"; }; + } ; +} ; diff --git a/conf/machine/boards/zedboard/zedboard-zynq7-yocto.dts b/conf/machine/boards/zedboard/zedboard-zynq7-yocto.dts new file mode 100644 index 00000000..b347c23b --- /dev/null +++ b/conf/machine/boards/zedboard/zedboard-zynq7-yocto.dts @@ -0,0 +1,6 @@ +/dts-v1/; +/include/ "zynq7-base.dtsi" +/include/ "zynq7-mainline-gem.dtsi" +/include/ "zedboard-zynq7-board.dtsi" +/ { +} ; \ No newline at end of file diff --git a/conf/machine/boards/zedboard/zedboard-zynq7.dts b/conf/machine/boards/zedboard/zedboard-zynq7.dts new file mode 100644 index 00000000..e16e15ba --- /dev/null +++ b/conf/machine/boards/zedboard/zedboard-zynq7.dts @@ -0,0 +1,5 @@ +/dts-v1/; +/include/ "zynq7-base.dtsi" +/include/ "zedboard-zynq7-board.dtsi" +/ { +} ; \ No newline at end of file -- cgit v1.2.3-54-g00ecf