From patchwork Mon Sep 3 10:02:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 10585727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54DA516B1 for ; Mon, 3 Sep 2018 10:17:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BC5C29250 for ; Mon, 3 Sep 2018 10:17:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D17D2945E; Mon, 3 Sep 2018 10:17:49 +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.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 BE06729250 for ; Mon, 3 Sep 2018 10:17:48 +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=XPGzgOzU9ZIpPi9w4jel9Hq+mwD/dfE3udf/nEwoAK0=; b=GQYnfUdPjVTOwEZlWEMEWMqYWY /VnAA8slKHkQC/Ov8AbSw9K1uENMEVcCfaOMhBusPWjJOBltQ2GovSSXuh8Xv/fqQiyDbUfPZhTG1 Inw71scGg5yssHkGYd+3KcGPDdSn5e9bvKyjppSpEzmJ3jCNsrohffsZjP1FUiyt4pEyC20fJ5iEC RyERYKW5gqlVl6rAKsEfbUK8jMSMsbvtkpe0TMSL3I9zlrftpPRQ7CX+v94TLrZqAMGcFNom5ofRy NkFyf8194cEHnMA1nfsBn8VZcC27Jlx5G812laaWJnJFdFtS6n4dgqpJhtvoVDdQyr8VPzHIlUPq8 nzbpxwNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwlvP-0007Vz-2f; Mon, 03 Sep 2018 10:17:39 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwlvN-0007UZ-EL for linux-arm-kernel@bombadil.infradead.org; Mon, 03 Sep 2018 10:17:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UNiJvsSjjdgkQ1ZQoChwHdQ+/Jgt1wIrgsMDUlZYcDA=; b=R+hej3Qzr6g7slXA9b96pQ1dn 9+XcS9F/uTvD9kvN7BRaAVgsQKlQzuQyWolWKnvE4+qSQKj6bC4ZLGZhnzLe/h3kbGaPicJCp97Qr p3JC/hd3FCFqp6BB6Y6UebAeDFvZi1mnqbbxoiQgqStfya/xUPxJPgxWnw61tqtlUo/cpp04ZhIAr HacDYjR/7CuI6sZhVY2/vLppdzVk5CEtD13AXJTFAwyDyYCt17BrP3zQmZ4dej91sBUHeIHNpdhtP WNKYFMtuN+0syQLxT0Xvnjo6l9lG3BdMBIHyEp2K7rU4cYPOGNi/cO/F6o5qgaPfD441KKf6X/kYH keuUEqJSQ==; Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwlgi-0000lS-KI for linux-arm-kernel@lists.infradead.org; Mon, 03 Sep 2018 10:02:30 +0000 Received: by mail-wr1-x444.google.com with SMTP id u12-v6so34781wrr.4 for ; Mon, 03 Sep 2018 03:02:18 -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:in-reply-to:references; bh=UNiJvsSjjdgkQ1ZQoChwHdQ+/Jgt1wIrgsMDUlZYcDA=; b=Da0LDtvUx2ZakB3RYUo5s50VYBxKrxaxV+rN/HJEZP6SHYGGVcSrxGBYkVVFuMkMGK +dZ4PFxRXHuinvFrz2NSHlL6k/o/UB/YrXcn4QG1DJkvyuwRfX2bN1vablMwBV49QSyj XwjLVLlKhF6uFG0A5JCkMvIy1O4/XiJ0o7eFc3J5GCqn578gGR+Fr+LINYLX3IRHVoNX KN20NGujdnZC8PY21heiL2hKIOMpmjFNSml33FC71sQNXceZPqA6zjckHFG47mEriDqC dMiRnnrUizmsNroMIjSt4wFl4jBng3f7bYzftyzYnSe9tO6zYFr1hD0qzSGUkx7rBcJv yoIw== 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=UNiJvsSjjdgkQ1ZQoChwHdQ+/Jgt1wIrgsMDUlZYcDA=; b=h6/LnpfWKmTysfF5r4FKyekZIZLe+y1p5j3tpkU+b+LvQo2bJcL9P3/p5W0XxUTMWQ ApVQalr1MkXsZ0vZb57SaFo9SdTma7fkNo0ONkPrz1hdhIVjjuD7ywh9l38gfVsXflx0 kYEgrJrE1qng6SBb6S1ZRtgegAap5OdP2UA/tzh4dI4+IP7/cHk1NKePBPcgDeQro/3A 7w/x1Z0e4brftjZXAqjjqhi4xMrPqHEawByug6ApLlcgNVkRxKxqkIfrpqoka37nKn/p GVJW3AEYSSMf6S5P6qBJs1yql9INor1wdVTrnZPcVEkNC4jZNWBlQsuUsmplyIgkm/ru 23Lg== X-Gm-Message-State: APzg51BdID0oSNuRmjnNf4yc20sSB3fe5HdiinelUmilwG70TzPZP6kt XNzXcdKWWVy2COB0QKCzISU= X-Google-Smtp-Source: ANB0VdaNyNMsh0OqKfQXULzzxhfM4EIKfWqEDJ0m/NjlNsFiVZriZMTIOdT+FGXBpQeEF34mD+zj4Q== X-Received: by 2002:adf:e792:: with SMTP id n18-v6mr7407609wrm.136.1535968937245; Mon, 03 Sep 2018 03:02:17 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id k34-v6sm31773936wre.18.2018.09.03.03.02.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 03:02:16 -0700 (PDT) From: Corentin Labbe To: axboe@kernel.dk, hdegoede@redhat.com, mark.rutland@arm.com, maxime.ripard@bootlin.com, robh+dt@kernel.org, wens@csie.org Subject: [PATCH v5 8/9] ARM: dts: sun8i: r40: add sata node Date: Mon, 3 Sep 2018 12:02:00 +0200 Message-Id: <20180903100201.23131-9-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180903100201.23131-1-clabbe.montjoie@gmail.com> References: <20180903100201.23131-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180903_110228_713785_A42A4DDA X-CRM114-Status: GOOD ( 14.74 ) 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, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe , linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 R40 have a sata controller which is the same as A20. This patch adds a DT node for it. Signed-off-by: Icenowy Zheng Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-r40.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index 852c2ccc3268..d27c522e1918 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -550,6 +550,19 @@ #size-cells = <0>; }; + ahci: sata@1c18000 { + compatible = "allwinner,sun8i-r40-ahci"; + reg = <0x01c18000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; + resets = <&ccu RST_BUS_SATA>; + resets-name = "ahci"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + }; + gmac: ethernet@1c50000 { compatible = "allwinner,sun8i-r40-gmac"; syscon = <&ccu>;