From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Tue, 18 Oct 2016 08:57:06 +0200 Subject: [U-Boot] [PATCH] ARM: zynq: Extend picozed board support In-Reply-To: References: <1476703132-31975-1-git-send-email-oscargomezf@gmail.com> <3b0080c5-2511-dd4d-f19f-e5ccbb7bbe89@xilinx.com> <16c3b024-d883-2251-4fbf-3ecdea0e818a@xilinx.com> Message-ID: <9b67a93d-867f-03f5-001a-593a0ea2d527@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17.10.2016 23:28, Moritz Fischer wrote: > Hi Oscar, > > On Mon, Oct 17, 2016 at 5:33 PM, Oscar Gomez Fuente > wrote: >> Ok Michal, >> >> Then you're suggesting change the zynq-picozed.dts file to: > > If you're planning to include this into others, make it a .dtsi file. > >> >> diff --git a/arch/arm/dts/zynq-picozed.dts b/arch/arm/dts/zynq-picozed.dts >> index 3408df8..d8ed298 100644 >> --- a/arch/arm/dts/zynq-picozed.dts >> +++ b/arch/arm/dts/zynq-picozed.dts >> @@ -14,6 +14,8 @@ >> >> aliases { >> serial0 = &uart1; >> + spi0 = &qspi; >> + ethernet0 = &gem0; >> }; >> >> memory { >> @@ -26,3 +28,18 @@ >> u-boot,dm-pre-reloc; >> status = "okay"; >> }; >> + >> +&qspi { >> + u-boot,dm-pre-reloc; >> + status = "okay"; >> +}; >> + >> +&gem0 { >> + status = "okay"; >> + phy-mode = "rgmii-id"; >> + phy-handle = <ðernet_phy>; >> + >> + ethernet_phy: ethernet-phy at 0 { >> + reg = <0>; >> + }; >> +}; >> >> And add a new dts file with the configuration of the PizoZed FMC Carrier V2 >> (in this case V2. Avnet has two PicoZed FMC carriers V1 and V2). For >> example: zynq-picozed-fmc-v2.dts >> >> * >> * Avnet PicoZed FMC carrier V2 DTS >> * >> * Copyright (C) 2015 Xilinx, Inc. >> * >> * SPDX-License-Identifier: GPL-2.0+ >> */ >> /dts-v1/; >> #include "zynq-picozed.dts" > > should be a .dtsi file then. If you can't use picozed without carrier board then zynq-picozed should be dtsi. Thanks, Michal