From patchwork Wed Aug 16 16:50:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Nelson X-Patchwork-Id: 9904161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E629600CA for ; Wed, 16 Aug 2017 16:51:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F59128A52 for ; Wed, 16 Aug 2017 16:51:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0440328A55; Wed, 16 Aug 2017 16:51:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8274928A4A for ; Wed, 16 Aug 2017 16:51:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=kZDhwoVl3dS7HLdBaAGssl+6fcl1GFmys58XHGFHu+M=; b=pdY H1KBEVMkHsj5JEXbW7dtHoagV5j6eqxV98s04j6OdYJEHPwDcD6sCVUFg4emL+7pxInnyp7dsRE+x uk+bVRWRVk1ezwNdFUqrmtoxeabeF4b2X4oD6TipRv68YGioEghs21x7VehxjjVQ2vb5If304LLip Jqu1FqzYMbPHtzUYSYvWxfj56lFbjCYIDRjVSBmOH+J8opWxnfsw3UeGUkXh+0+9sebYUgmKaCeCN 3x/cCQBNl5DptRTTiEoDhXQXPQxyhRln67wUSo4MVAJCQoUWQ5bEmxXYakRhKp7Yk8TftBUidEEBL 7bq+t5MXQag5p6R+ya5IK8+9jjCNJuw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1di1XW-0000lJ-5o; Wed, 16 Aug 2017 16:51:30 +0000 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1di1XS-0000j6-Gf for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2017 16:51:28 +0000 Received: by mail-io0-x244.google.com with SMTP id q64so2608696ioi.0 for ; Wed, 16 Aug 2017 09:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qRYuYrD/W3CkGoIfWeCIhPZCBb/i9bwDIz+F5zr+33Q=; b=CZnDYQIat/bOWjfyJy1yPdcsyyV2vmCesCauFzoeThKoUeJBjq5hCnc5jaam6T96O8 VskEAtEAamKga2wJ2beZRTdj9MjZ4Csl4xxz3andISXQfC5qna3uK4yCochH6ZClBNbr tv1+JfVJzD+FOrnA9UPJ3oLhZDdpw59p0fLMbcJ15Z60CdFKfqHPhEuGjfX+kV8FNW9L RWHM3FhUh27I6nnOJigRZVEO1BZE1B0qOEj38tidDVOyl9evPK65bVNg+1+vayqghDBR jrHzaxexpiZFpf20HWz2ohyIxlt2THZ1FaISuWAB21GenSorUWkhVHyXDEyWLgYjTRyH j06A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qRYuYrD/W3CkGoIfWeCIhPZCBb/i9bwDIz+F5zr+33Q=; b=FNjgXQpqqkVg3qsCtz5rR9JfwL0VfU3tqP0emKQiMuCH5hvTKDHfsaqMyhQjkbzFAN 5w8H+fMNPfpaVyFZ3FLByS/mhorXCXGICNwyVT3jxbQvhJTOeKcxNtzMfEuUmBaKeaZQ gD31KLenk+3Rlok97S6Oq5ovtA3KNemzAwg3s87b7lpfTUT9K0SF+LL9GVLWwjYRhUSj 5NX2HhWxp1qlvLkoC9l/5thPPyIFdlLoyvf7rsSrZBlNKIINBQ335u7lf+CgkYMF7xdY CNtTxusMk6uyXuwoLLJuFGQKxA3N8cXQrN2Pxo0gq4MkAAR0oD/LmK89rq2WMZDb53fh bubg== X-Gm-Message-State: AHYfb5iHvBI4uU+HkFPQTUUxMctvFLUSIfWdpUqbyv/pQw0FHJNUr/Ir y+KHPceaANTytA== X-Received: by 10.107.128.203 with SMTP id k72mr1996563ioi.281.1502902265282; Wed, 16 Aug 2017 09:51:05 -0700 (PDT) Received: from hades.VL201.digikey.com ([64.77.213.245]) by smtp.gmail.com with ESMTPSA id k18sm668353itb.40.2017.08.16.09.51.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Aug 2017 09:51:04 -0700 (PDT) From: Robert Nelson To: tony@atomide.com, devicetree@vger.kernel.org Subject: [PATCH v2] ARM: dts: am57xx-beagle-x15: Add support for rev C Date: Wed, 16 Aug 2017 11:50:53 -0500 Message-Id: <20170816165053.19450-1-robertcnelson@gmail.com> X-Mailer: git-send-email 2.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170816_095126_626459_984EE681 X-CRM114-Status: GOOD ( 15.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Lokesh Vutla , Kishon Vijay Abraham I , Drew Fustini , Jason Kridner , linux-omap@vger.kernel.org, Robert Nelson , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Latest update to the BeagleBoard-X15 platform (revision C). This board contains a silicon update (Rev 2.0), which includes a fix for the 2nd ethernet phy when running at 1000 Mbps speeds. This board can be indentified by the [C.00] after [BBRDX15_] in the at24 eeprom: [BBRDX15_C.001731PX150249] Rev C is now in full production and boards are available for end users. https://beagleboard.org/x15 https://github.com/beagleboard/beagleboard-x15/ Signed-off-by: Robert Nelson CC: Tony Lindgren CC: Nishanth Menon CC: Lokesh Vutla CC: Kishon Vijay Abraham I CC: Jason Kridner CC: Drew Fustini --- v2: Rework based on Kishon's [PATCH v2 00/10] ARM: dts: Add iodelay data for MMC --- --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am57xx-beagle-x15-revc.dts | 39 ++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 arch/arm/boot/dts/am57xx-beagle-x15-revc.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 570e107bf702..d51c0def01de 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -656,6 +656,7 @@ dtb-$(CONFIG_SOC_OMAP5) += \ dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-beagle-x15.dtb \ am57xx-beagle-x15-revb1.dtb \ + am57xx-beagle-x15-revc.dtb \ am57xx-cl-som-am57x.dtb \ am57xx-sbc-am57x.dtb \ am572x-idk.dtb \ diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-revc.dts b/arch/arm/boot/dts/am57xx-beagle-x15-revc.dts new file mode 100644 index 000000000000..17c41da3b55f --- /dev/null +++ b/arch/arm/boot/dts/am57xx-beagle-x15-revc.dts @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "am57xx-beagle-x15-common.dtsi" + +/ { + model = "TI AM5728 BeagleBoard-X15 rev C"; +}; + +&tpd12s015 { + gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ + <&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */ + <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ +}; + +&mmc1 { + pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; + pinctrl-0 = <&mmc1_pins_default>; + pinctrl-1 = <&mmc1_pins_hs>; + pinctrl-2 = <&mmc1_pins_sdr12>; + pinctrl-3 = <&mmc1_pins_sdr25>; + pinctrl-4 = <&mmc1_pins_sdr50>; + pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>; + pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&ldo1_reg>; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_1_8v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_hs>; + pinctrl-2 = <&mmc2_pins_ddr_rev20>; +};