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: 9621547 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 DE68460492 for ; Mon, 13 Mar 2017 16:50:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEB37284D1 for ; Mon, 13 Mar 2017 16:50:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C376B284D8; Mon, 13 Mar 2017 16:50:01 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 6744E284D1 for ; Mon, 13 Mar 2017 16:50:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754251AbdCMQqs (ORCPT ); Mon, 13 Mar 2017 12:46:48 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:37990 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754171AbdCMQoP (ORCPT ); Mon, 13 Mar 2017 12:44:15 -0400 Received: by mail-wm0-f50.google.com with SMTP id t189so44671167wmt.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=TTBw9Lw9i+am6/FBj/t7RmM9wTh1Wka4QxqbZyLbIIX9HX4tXaMTAKMsrDlyHgWqVA vg1AcHoPHh/wW3S7Le+U5ZKQrDPYUL6GodtM2AHox87PW/Pntinhfkcq038f1rUPdtGK XKoYZP82y0pBf2LBij4UJBir/62M2dQnH1+WSyCtvOniM2kMYk/SRY8C26cy06GGQ/pn DJaDpKb6h/SMSv3/sDk/oM8qumXGXygsO5JkHrwiaZcQ4NqEf+0HqrBTyb2+UxDLfrND JwBLciyp6kYZj9HkbjOXhq8kBmgVNy04W1FXsb8btPZJXwADtslLhkBURWtzKHlAU1mn K0VQ== X-Gm-Message-State: AFeK/H3ick05+3YU2Phhq38OALXGf0HCREJtj8RmD0ItDH6fFIuqEg93zJcoT+myTrSbTcf5 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 Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Bartosz Golaszewski 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> 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 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>;