From: "Derald D. Woods" <woods.technical@gmail.com>
To: linux-omap@vger.kernel.org
Cc: tony@atomide.com, linux-kernel@vger.kernel.org,
"Derald D. Woods" <woods.technical@gmail.com>
Subject: [PATCH 2/2] ARM: dts: omap3-evm: Add OMAP3530 specific device tree processor data
Date: Sat, 2 Sep 2017 19:38:16 -0500 [thread overview]
Message-ID: <20170903003816.5536-3-woods.technical@gmail.com> (raw)
In-Reply-To: <20170903003816.5536-1-woods.technical@gmail.com>
This commit allows OMAP3530 variants to use common data that is
available in 'omap3-evm-processor-common.dtsi'. It adds proper pinmux
macros for 'omap3_pmx_core2' on OMAP3430. The Micron NAND chip is also
added for the TMDSEVM3530 processor module.
---
arch/arm/boot/dts/omap3-evm.dts | 76 ++++++++++++++++++++++++++++++++++++++---
1 file changed, 72 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-evm.dts b/arch/arm/boot/dts/omap3-evm.dts
index 99b2bfcd1059..21a3b88aef0c 100644
--- a/arch/arm/boot/dts/omap3-evm.dts
+++ b/arch/arm/boot/dts/omap3-evm.dts
@@ -9,13 +9,81 @@
#include "omap34xx.dtsi"
#include "omap3-evm-common.dtsi"
+#include "omap3-evm-processor-common.dtsi"
/ {
model = "TI OMAP35XX EVM (TMDSEVM3530)";
- compatible = "ti,omap3-evm", "ti,omap3";
+ compatible = "ti,omap3-evm", "ti,omap3430", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&hsusb2_2_pins>;
+
+ ehci_phy_pins: pinmux_ehci_phy_pins {
+ pinctrl-single,pins = <
+
+ /* EHCI PHY reset GPIO etk_d7.gpio_21 */
+ OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)
+
+ /* EHCI VBUS etk_d8.gpio_22 */
+ OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)
+ >;
+ };
+
+ /* Used by OHCI and EHCI. OHCI won't work without external phy */
+ hsusb2_2_pins: pinmux_hsusb2_2_pins {
+ pinctrl-single,pins = <
+
+ /* etk_d10.hsusb2_clk */
+ OMAP3430_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)
+
+ /* etk_d11.hsusb2_stp */
+ OMAP3430_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)
+
+ /* etk_d12.hsusb2_dir */
+ OMAP3430_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)
+
+ /* etk_d13.hsusb2_nxt */
+ OMAP3430_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)
+
+ /* etk_d14.hsusb2_data0 */
+ OMAP3430_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)
+
+ /* etk_d15.hsusb2_data1 */
+ OMAP3430_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)
+ >;
+ };
+};
+
+&gpmc {
+ nand@0,0 {
+ compatible = "ti,omap2-nand";
+ reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
+ interrupt-parent = <&gpmc>;
+ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
+ <1 IRQ_TYPE_NONE>; /* termcount */
+ linux,mtd-name= "micron,mt29f2g16abdhc";
+ nand-bus-width = <16>;
+ gpmc,device-width = <2>;
+ ti,nand-ecc-opt = "bch8";
+
+ gpmc,sync-clk-ps = <0>;
+ gpmc,cs-on-ns = <0>;
+ gpmc,cs-rd-off-ns = <44>;
+ gpmc,cs-wr-off-ns = <44>;
+ gpmc,adv-on-ns = <6>;
+ gpmc,adv-rd-off-ns = <34>;
+ gpmc,adv-wr-off-ns = <44>;
+ gpmc,we-off-ns = <40>;
+ gpmc,oe-off-ns = <54>;
+ gpmc,access-ns = <64>;
+ gpmc,rd-cycle-ns = <82>;
+ gpmc,wr-cycle-ns = <82>;
+ gpmc,wr-access-ns = <40>;
+ gpmc,wr-data-mux-bus-ns = <0>;
- memory@80000000 {
- device_type = "memory";
- reg = <0x80000000 0x10000000>; /* 256 MB */
+ #address-cells = <1>;
+ #size-cells = <1>;
};
};
--
2.14.1
next prev parent reply other threads:[~2017-09-03 0:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 0:38 [PATCH 0/2] Update TMDSEVM3530 support for omap3-evm Derald D. Woods
2017-09-03 0:38 ` [PATCH 1/2] ARM: dts: omap3-evm-37xx: Add common processor module support Derald D. Woods
2017-09-03 0:38 ` Derald D. Woods [this message]
2017-09-05 16:49 ` [PATCH 0/2] Update TMDSEVM3530 support for omap3-evm Tony Lindgren
2017-09-12 3:46 ` [PATCH v2 0/4] " Derald D. Woods
2017-09-12 3:46 ` [PATCH v2 1/4] ARM: dts: omap3-evm-37xx: Add common processor module support Derald D. Woods
2017-09-12 3:46 ` [PATCH v2 2/4] ARM: dts: omap3-evm: Add OMAP3530 specific device tree processor data Derald D. Woods
2017-09-12 3:46 ` [PATCH v2 3/4] ARM: dts: omap3: Fix Sharp LS037V7DW01 compatible string and envdd supply Derald D. Woods
2017-09-12 14:34 ` Tony Lindgren
2017-09-12 17:33 ` Derald D. Woods
2017-09-12 3:46 ` [PATCH v2 4/4] ARM: dts: omap3-evm: Add DSS {vdds_dsi,vdda_video}-supply references Derald D. Woods
2017-09-12 23:48 ` [PATCH v3 0/4] Update TMDSEVM3530 support for omap3-evm Derald D. Woods
2017-09-12 23:48 ` [PATCH v3 1/4] ARM: dts: omap3-evm-37xx: Add common processor module support Derald D. Woods
2017-09-12 23:48 ` [PATCH v3 2/4] ARM: dts: omap3-evm: Add OMAP3530 specific device tree processor data Derald D. Woods
2017-09-12 23:48 ` [PATCH v3 3/4] ARM: dts: omap3: Add Sharp LS037V7DW01 'envdd' supply Derald D. Woods
2017-09-12 23:48 ` [PATCH v3 4/4] ARM: dts: omap3-evm: Add DSS {vdds_dsi,vdda_video}-supply references Derald D. Woods
2017-09-29 2:04 ` [PATCH v3 0/4] Update TMDSEVM3530 support for omap3-evm Derald D. Woods
2017-09-29 16:20 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170903003816.5536-3-woods.technical@gmail.com \
--to=woods.technical@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox