From patchwork Tue Dec 27 17:58:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Nelson X-Patchwork-Id: 9489757 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 4D1C962AAF for ; Tue, 27 Dec 2016 17:58:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 465431FF26 for ; Tue, 27 Dec 2016 17:58:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B7002094F; Tue, 27 Dec 2016 17:58:56 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D22371FF26 for ; Tue, 27 Dec 2016 17:58:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933294AbcL0R6y (ORCPT ); Tue, 27 Dec 2016 12:58:54 -0500 Received: from mail-io0-f193.google.com ([209.85.223.193]:35671 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932916AbcL0R6x (ORCPT ); Tue, 27 Dec 2016 12:58:53 -0500 Received: by mail-io0-f193.google.com with SMTP id f73so41316330ioe.2; Tue, 27 Dec 2016 09:58:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PZQgfwbPsaEc3vmXFEWwoLw9T8Pm4pnhgkKranbOZJc=; b=PO6k04Iz1OpxhhHr3c+NGICKQCkO5DLfJEVYDYrciLi1ul1aYXSUIRqFE6J7XqWO5T YhL1WdibnbEN2B2mqbpcMDcOqljWXI233cMRdexweePefUXrZb7lwQyDnsLuIN5TMxzz hODGbx72peAvzxumKzNKqIx4SfA/nMOnToKPNYb7eXvV7Z0DgZK4uefiRoyeLVdwulLh ILKq4pAvlDjAEs6EOKiRCC7rrRNfpoM2M2JHJc8vMcOGnFHJ6rtTOVQ1jkETOOJla1e5 67r/7ALhotThsOB8yhqiWLqGFKF5hAaCzNCgNqAsc4jWl+6b9Lg3hXKqKIWiYzyh40a8 bvfg== 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:in-reply-to :references; bh=PZQgfwbPsaEc3vmXFEWwoLw9T8Pm4pnhgkKranbOZJc=; b=XuC3WbFA7kBFtJO2qudwUc3Z+/d4e1tGJ1QGtWtHfqKrH4HmLCkP8lYoNnlPEuAEot qndJZLECbapxbb4NIUJmkYIe5/RVtihygeNPzG4RTh1lqo7A/I1iCLkdvvXEVd3VNrjm Hwl4VPdtJxRde96uiKuJzYbDGdQAotA2S/HpuofklYTvX33j9gu0un0wTuqJ/piQrn2X HvYNImA9QA1hXal/zU9YgEb3znw5KqeviW64jx+caF7Mo9NmO/cADdNjcXbGTLoDGf8G Mi1gGPgqKmK7+1MtS6OWAFVwbFNv3Q8LQEHmOGvQB3LJcC9ATawZ9Z7M+doooTLPvUH6 s0aA== X-Gm-Message-State: AIkVDXK4zvVMG//fvobsaf3autamHNl5PPAPkLMFcekfSET4F1dYjz/iItJ1cUyrO88QEg== X-Received: by 10.107.147.9 with SMTP id v9mr29179376iod.110.1482861532594; Tue, 27 Dec 2016 09:58:52 -0800 (PST) Received: from localhost.localdomain ([64.77.213.245]) by smtp.gmail.com with ESMTPSA id u63sm8445860ita.1.2016.12.27.09.58.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Dec 2016 09:58:51 -0800 (PST) From: Robert Nelson To: tony@atomide.com Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Robert Nelson , Jason Kridner Subject: [PATCH 3/4] ARM: dts: Move most of am335x-bonegreen.dts to am335x-bonegreen-common.dtsi Date: Tue, 27 Dec 2016 11:58:36 -0600 Message-Id: <20161227175837.28970-3-robertcnelson@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161227175837.28970-1-robertcnelson@gmail.com> References: <20161227175837.28970-1-robertcnelson@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is going to be shared with the SeeedStudio BeagleBone Green Wireless Signed-off-by: Robert Nelson CC: Tony Lindgren CC: Jason Kridner --- arch/arm/boot/dts/am335x-bonegreen-common.dtsi | 44 ++++++++++++++++++++++++++ arch/arm/boot/dts/am335x-bonegreen.dts | 38 +--------------------- 2 files changed, 45 insertions(+), 37 deletions(-) create mode 100644 arch/arm/boot/dts/am335x-bonegreen-common.dtsi diff --git a/arch/arm/boot/dts/am335x-bonegreen-common.dtsi b/arch/arm/boot/dts/am335x-bonegreen-common.dtsi new file mode 100644 index 000000000000..853e6d3a028d --- /dev/null +++ b/arch/arm/boot/dts/am335x-bonegreen-common.dtsi @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2012 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. + */ + +&ldo3_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; +}; + +&mmc1 { + vmmc-supply = <&vmmcsd_fixed>; +}; + +&mmc2 { + vmmc-supply = <&vmmcsd_fixed>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_pins>; + bus-width = <8>; + status = "okay"; +}; + +&am33xx_pinmux { + uart2_pins: uart2_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */ + AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */ + >; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +}; + +&rtc { + system-power-controller; +}; diff --git a/arch/arm/boot/dts/am335x-bonegreen.dts b/arch/arm/boot/dts/am335x-bonegreen.dts index dce3c8657e04..a8b4d969ce2a 100644 --- a/arch/arm/boot/dts/am335x-bonegreen.dts +++ b/arch/arm/boot/dts/am335x-bonegreen.dts @@ -9,45 +9,9 @@ #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" +#include "am335x-bonegreen-common.dtsi" / { model = "TI AM335x BeagleBone Green"; compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; }; - -&ldo3_reg { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; -}; - -&mmc1 { - vmmc-supply = <&vmmcsd_fixed>; -}; - -&mmc2 { - vmmc-supply = <&vmmcsd_fixed>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_pins>; - bus-width = <8>; - status = "okay"; -}; - -&am33xx_pinmux { - uart2_pins: uart2_pins { - pinctrl-single,pins = < - AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */ - AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */ - >; - }; -}; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&uart2_pins>; - status = "okay"; -}; - -&rtc { - system-power-controller; -};