From: Simon Goldschmidt Date: Sun, 27 Jan 2019 09:45:39 +0100 Subject: [U-Boot] [PATCH 1/5] arm: socfpga: gen5: add reset handles to devicetrees In-Reply-To: <21fdfcac-ac0d-6d8a-2d48-ea9ba617a902@denx.de> References: <20190125203051.10943-1-simon.k.r.goldschmidt@gmail.com> <20190125203051.10943-2-simon.k.r.goldschmidt@gmail.com> <21fdfcac-ac0d-6d8a-2d48-ea9ba617a902@denx.de> Message-ID: <34e619a7-d455-49e4-b242-90bd2f0a85ce@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 26.01.2019 um 09:57 schrieb Marek Vasut: > On 1/25/19 9:30 PM, Simon Goldschmidt wrote: >> The SPL for socfpga gen5 currently takes all peripherals out of reset >> unconditionally. To implement proper reset handling for peripherals, >> some device tree nodes are missing reset handles. >> >> Since the socfpga gen5 devicetrees are currently in sync with Linux 4.20, >> and these reset handles are not added to Linux, yet, let's add them to >> U-Boot specific dtsi files to ease future merging. >> >> This adds a new file socfpga_u-boot.dtsi (note the '_' - if using a '-' >> this file gets pulled in for some a10/s10 devicetrees) that adds the >> missing reset handles. >> >> Signed-off-by: Simon Goldschmidt > > Shouldn't all this be in u-boot specific DTs, instead of the ones > imported from Linux ? The "u-boot,dm-pre-reloc" thing should of course stay in u-boot specific DTs. But I had to add many missing "resets = " references that are yet missing in upstream Linux DTs. Dinh is in the process of adding them and I'll make sure to sync that back to U-Boot once it's in Linux mainline git. I just did not want to wait until that happens... Regards, Simon > >> --- >> >> arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 6 ++ >> arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts | 5 ++ >> .../socfpga_cyclone5_de0_nano_soc-u-boot.dtsi | 6 ++ >> arch/arm/dts/socfpga_cyclone5_de10_nano.dts | 5 ++ > [...] >