ARM: dts: omap5: EMIF and LPDDR2 device tree data
v3 cover ARM: dts: omap5: EMIF and LPDDR2 device tree data
This patch series adds Device tree data for the EMIF sdram controllers in OMAP5 and LPDDR2 memory devices in OMAP5-evm board.
Testing:
- Boot tested on OMAP5430 evm.
- Built EMIF as a module.
Changes from v2:
* Rebased on top of
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.8/dts
* Addressed few other comments from Benoit.
Lokesh Vutla (3):
ARM: dts: omap5-evm: Fix size of memory defined for EVM
ARM: dts: omap5: EMIF device tree data for OMAP5 boards
ARM: dts: omap5-evm: LPDDR2 memory device details for EVM
arch/arm/boot/dts/omap5-evm.dts | 13 +++++- arch/arm/boot/dts/omap5.dtsi | 22 ++++++++++ arch/arm/boot/dts/samsung_k3pe0e000b.dtsi | 67 +++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/samsung_k3pe0e000b.dtsi
Signature · 1 line
1.7.9.5
PATCH v3 1/3 ARM: dts: omap5-evm: Fix size of memory defined for EVM
Memory present for OMAP5-evm is 2GB. But in dts file it is specified as 1GB. Correcting the same.
--- arch/arm/boot/dts/omap5-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/omap5-evm.dts +1 -1
@@ -15,7 +15,7 @@ memory { device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ + reg = <0x80000000 0x80000000>; /* 2 GB */ }; vmmcsd_fixed: fixedregulator-mmcsd {
Signature · 1 line
1.7.9.5
PATCH v3 2/3 ARM: dts: omap5: EMIF device tree data for OMAP5 boards
In reply to Lokesh VutlaAdding EMIF device tree data for OMAP5 boards.
--- arch/arm/boot/dts/omap5.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
arch/arm/boot/dts/omap5.dtsi +22 -0
@@ -474,5 +474,27 @@ ti,hwmods = "timer11"; ti,timer-pwm; }; + + emif1: emif at 0x4c000000 { + compatible = "ti,emif-4d5"; + ti,hwmods = "emif1"; + phy-type = <2>; /* DDR PHY type: Intelli PHY */ + reg = <0x4c000000 0x400>; + interrupts = <0 110 0x4>; + hw-caps-read-idle-ctrl; + hw-caps-ll-interface; + hw-caps-temp-alert; + }; + + emif2: emif at 0x4d000000 { + compatible = "ti,emif-4d5"; + ti,hwmods = "emif2"; + phy-type = <2>; /* DDR PHY type: Intelli PHY */ + reg = <0x4d000000 0x400>; + interrupts = <0 111 0x4>; + hw-caps-read-idle-ctrl; + hw-caps-ll-interface; + hw-caps-temp-alert; + }; }; };
Signature · 1 line
1.7.9.5
PATCH v3 3/3 ARM: dts: omap5-evm: LPDDR2 memory device details for EVM
In reply to Lokesh VutlaSamsung's K3PE0E000B memory part is used in OMAP5-evm board. Adding timings and geometry details for Samsung's memory part and attaching the same to device-handle of EMIF1/2.
--- arch/arm/boot/dts/omap5-evm.dts | 11 +++++ arch/arm/boot/dts/samsung_k3pe0e000b.dtsi | 67 +++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 arch/arm/boot/dts/samsung_k3pe0e000b.dtsi
arch/arm/boot/dts/omap5-evm.dts +11 -0
@@ -8,6 +8,7 @@ /dts-v1/; /include/ "omap5.dtsi" +/include/ "samsung_k3pe0e000b.dtsi" / { model = "TI OMAP5 EVM board";
@@ -140,3 +141,13 @@ &mcbsp3 { status = "disabled"; }; + +&emif1 { + cs1-used; + device-handle = <&samsung_K3PE0E000B>; +}; + +&emif2 { + cs1-used; + device-handle = <&samsung_K3PE0E000B>; +};
arch/arm/boot/dts/samsung_k3pe0e000b.dtsi new file +67 -0
67 lines not on this page · raw message
Signature · 1 line
1.7.9.5
v3 cover ARM: dts: omap5: EMIF and LPDDR2 device tree data
In reply to Lokesh VutlaHi Lokesh,
Quoted 4 lines · Lokesh Vutla
This patch series adds Device tree data for the EMIF sdram controllers in OMAP5 and LPDDR2 memory devices in OMAP5-evm board.
Quoted 8 lines
Testing:
- Boot tested on OMAP5430 evm.
- Built EMIF as a module.Changes from v2:
* Rebased on top of
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.gitfor_3.8/dts
* Addressed few other comments from Benoit.
Thanks for this quick update.
I've just applied your series in my for_3.8/dts_part2 branch.
Regards,
Benoit