From patchwork Mon Mar 13 16:43:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9621529 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 DF78760492 for ; Mon, 13 Mar 2017 16:45:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D0EC4284D3 for ; Mon, 13 Mar 2017 16:45:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5928284D9; Mon, 13 Mar 2017 16:45: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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 5588D284D3 for ; Mon, 13 Mar 2017 16:45:35 +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:References: In-Reply-To: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:List-Owner; bh=FyOWAMZdhh7/2yhAV6tpCyKlSHe1EkC9+y+4B7UOtB4=; b=XIt3IhgUcfPU8GXml6wnU4yDXg 7oS42uZRPwMRtpsQ3miSa3snAG2twv7Rtst9NzOM/dbwHiWHpZ9USTx7B7azK/93ehp6OsS23LMiC xq7qAeLXs55I3WpLuBWM12IGUwWBnCZi/NS6dmzQSeYM87UQoOT/tETmVZv8Rfd+RZO3BzvrOstso Xt8ZcmJ912NDE3T+QBF8oB8EathmuUA41ajL/61hrT6z+hNfq5++dWwojDH+qFROasBIWyy27BcYt zi8DRtf514INtyVy53G6rXx9rz7tHU1QB8yZLwJKT2u5auFFi3wFa+qRZUjXpCwpKdauG2p1PHVsB i9Z/kV7Q==; 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 1cnT6C-0007F2-Cc; Mon, 13 Mar 2017 16:45:32 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cnT4d-00052p-G9 for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2017 16:44:03 +0000 Received: by mail-wm0-x231.google.com with SMTP id t189so44671151wmt.1 for ; Mon, 13 Mar 2017 09:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=76pzl7mqkOs0HQnKCpXglGO69LtFD6xMqetQc8XpZL8=; b=BTGoZsZDc9av0mT/pd14sHBLOHv2FSQNvmRvo3cqknpppDmqcIl45/grzhQUn7HbVc 6TjmG+lEBixk7+w9yl4RlenWjrGFQOsXd35xGrxbG7r5/xlO9SFefG7MvqWsHbhiEmr7 OPnKy/mrw/DNz4PXrt81W4GTRNa1RV/9j1NwOTpft3INT7Dfrf7mUQt+N1521VUa71ub 4TiQAcOsisKHI8ecsj3FcYkLLNW6NVQfCgxM0Tzg0LPO4L+upkG0MUSPSgyEE6wrOUX7 00uQ+HYbm4H76QE/Xw9tVpW1JPGAxrL8yQt5fL9P9qJyAjQk4ynueJkZf3rwRQ9/t3E/ yAmg== 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=76pzl7mqkOs0HQnKCpXglGO69LtFD6xMqetQc8XpZL8=; b=NJSpYAOdywUD+9z5NMUd5VBN72PXPxhwQULmRL1hR5L6GqiJCdUiBiV7Zdxu9NgJQB ktFbuXAwivHhqEA71wK2Kq8daPrws39tf8pVnc528Liq25LdtdunJclU5+MU+pqeUFBL okJ1IYN9/wm2zrBBZZdD3GZG5d2RIVBNxvnJSL7x/5uSHIkfedgh4zZrY31LX+sdWLbi L/Dwh8V7P2opw86ascAg3uZCjZe3T7qdnxebLf2KSo5tk9bufayYIpIxGHR2eDjJAiSv oeSpe7z28zzxqk+C1ea3vgxlNPvmttVi3Futyzn1KxOz0BH6L2ijzGSpGs64Hm5g4soE qjUA== X-Gm-Message-State: AFeK/H3U0LqAUZuBBR368ac++ZD6XjRp1Y2ByfE0IL0mTFL0SAVabUON99NqqYE39Z3ZkP+k X-Received: by 10.28.195.197 with SMTP id t188mr11760389wmf.61.1489423413631; Mon, 13 Mar 2017 09:43:33 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id g45sm25594602wrd.11.2017.03.13.09.43.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Mar 2017 09:43:33 -0700 (PDT) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Neil Armstrong , Michael Turquette , Kevin Hilman , Patrick Titiano , Tony Lindgren , Paul Walmsley Subject: [PATCH 3/4] ARM: dts: dm8168-evm: add SATA node Date: Mon, 13 Mar 2017 17:43:18 +0100 Message-Id: <1489423399-3824-4-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1489423399-3824-1-git-send-email-bgolaszewski@baylibre.com> References: <1489423399-3824-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170313_094355_689947_8E6375BE X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-omap@vger.kernel.org, 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 Add the SATA controller node to the dm8168-evm device tree. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/dm8168-evm.dts | 4 ++++ arch/arm/boot/dts/dm816x.dtsi | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dm8168-evm.dts b/arch/arm/boot/dts/dm8168-evm.dts index f13e214..547856e 100644 --- a/arch/arm/boot/dts/dm8168-evm.dts +++ b/arch/arm/boot/dts/dm8168-evm.dts @@ -179,3 +179,7 @@ pinctrl-0 = <&usb1_pins>; mentor,multipoint = <0>; }; + +&sata { + clocks = <&sysclk5_ck>, <&sata_refclk>; +}; diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 276211e..6131081 100644 --- a/arch/arm/boot/dts/dm816x.dtsi +++ b/arch/arm/boot/dts/dm816x.dtsi @@ -293,6 +293,13 @@ phy-handle = <&phy1>; }; + sata: sata@4a140000 { + compatible = "ti,dm816-ahci"; + reg = <0x4a140000 0xffff>; + interrupts = <16>; + ti,hwmods = "sata"; + }; + mcspi1: spi@48030000 { compatible = "ti,omap4-mcspi"; reg = <0x48030000 0x1000>;