[PATCH 2/4] ARM: dts: da850: Add an aemif node
From: Karl Beldan <hidden>
Date: 2016-08-10 19:12:30
Also in:
linux-devicetree, lkml
On Wed, Aug 10, 2016 at 01:18:51PM +0530, Sekhar Nori wrote:
On Tuesday 09 August 2016 10:45 PM, Karl Beldan wrote:quoted
Currently the davinci da8xx boards use the mach-davinci aemif code. Instantiating an aemif node into the DT allows to use the ti-aemif memory driver and is another step to better DT support. Also it will allow to properly pass the emif timings via DT. Signed-off-by: Karl Beldan <redacted> --- arch/arm/boot/dts/da850.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index bc10e7e..f62928c 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi@@ -411,6 +411,16 @@ dma-names = "tx", "rx"; }; }; + aemif: aemif at 68000000 { + compatible = "ti,da850-aemif"; + #address-cells = <2>; + #size-cells = <1>; + + reg = <0x68000000 0x00008000>; + ranges = <0 0 0x60000000 0x08000000 + 1 0 0x68000000 0x00008000>; + status = "disabled"; + }; nand_cs3 at 62000000 { compatible = "ti,davinci-nand"; reg = <0x62000000 0x807ffThe nand node should be part of aemif node like it is done for keystone boards.
Hmm, this is exactly what I have done. Karl