Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp209779imm; Thu, 30 Aug 2018 12:03:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbQxY2eilpTDtHhl6I0RF4bc6njusXFL6sYpu6F/coR1IZGFQI7W3YdbXQmWdv0W3MotJQ2 X-Received: by 2002:a17:902:8345:: with SMTP id z5-v6mr11238018pln.147.1535655821099; Thu, 30 Aug 2018 12:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535655821; cv=none; d=google.com; s=arc-20160816; b=JFSmtwT2CsJPRvjeah6W/KZF8YhOMhk+9OpmhqzGVQSzuLb9vheFm7a3rVanR6fYap DOzVcnJNSz4qoGjjoTexf0fuSH8DTqN9OAKED+XbyYVHcV1u7rsDWelrCXbf3t6X6pgM tIPUUxvJ2+nk+rjntRLzElYTNpRFh6safN6HTcY8NN0RO/mqMPJGQ+XWgHoP8XPvfrIs ojJjW4QdJrcDLdeKHKDyN0XLO1I9DTaXiKqD85I/YQLs0asAmTRuep4uZx2xqqthW1Y2 l4f0hCLBmqh/fXXYTDCJ1zmnoWNihxxWsnFKf8s/AYZXM7VYE/AcIqIa03P0fRVrSnm8 bkJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=qpn+V0z5TaoK+rCQvEV6gj7EtBpctPHnnDY7C6IV55A=; b=dA8sUBCGwHgB1ZMzVugYOHMAs5kNmZDMeLnX5S6eyxmjccjyTNmNHvGGYw9NxiaiyC TcW1JymBxIMsjpvkn2Hn/wc/43Xl8qgQXxpv8PGMSNCgub7fJIYWct4pamPJDz8BBdio E3/qTF7cRE6IzbUOhSSBnmLzY18oUXCfwt8SKOFWJ60krDs5WRfwDk9YJrvZdPy77XB+ QVmEMzvcaqagoaw5fCbgXBE8YADfDUr8/0GZMxZYuRuYhhhEGTAsFOUT/Om8QGU/J/4E PALKjbPEugi2Dx2opA37naR3NFyqvkbXWsiGRBMnkVQZyUGof1YMB5AWz5bv8oT6EmI/ ouUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MKu/E/VK"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j125-v6si7364586pfc.243.2018.08.30.12.03.26; Thu, 30 Aug 2018 12:03:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MKu/E/VK"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728212AbeH3XFU (ORCPT + 99 others); Thu, 30 Aug 2018 19:05:20 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:40396 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727177AbeH3XFU (ORCPT ); Thu, 30 Aug 2018 19:05:20 -0400 Received: by mail-wm0-f65.google.com with SMTP id 207-v6so3042557wme.5; Thu, 30 Aug 2018 12:01:43 -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=qpn+V0z5TaoK+rCQvEV6gj7EtBpctPHnnDY7C6IV55A=; b=MKu/E/VKoTesFb4kDZjoXvEWLAK1SkUckVuiZ0xKt1zIFShbUEFE8aXAGfqIMlUeAq vsDkhu7VV9xNPStOe5WBw52JEN51Jy6u/0X7neLjIqRNfzElirChtpRQwZgogweYjLME 3r/ktmQC5RSh3lidLvcKbCL7d+IKD1KRGnKOPa7faD/wI1COTLegDW1XjIKa8tUrwp48 Yc6Mx0DLWNWBSKeplX956Om2LAem1kozSaBVRGaOkeFUQzQuLVpWc93Hd5rLuJ69R5bp DcrOMRjzhUulVPVQmIdE/ygC91NvzHT6HUj1dxf2G2Flqh6+v6k4CNAitJ/3U0Ce+kxe XlEg== 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=qpn+V0z5TaoK+rCQvEV6gj7EtBpctPHnnDY7C6IV55A=; b=Tnlpj2tj+uIQ5vGmVa+IWAs6WsqJg+QT05bqxp1CaXxJFUty7JMRSmjbyBRC0+7BQZ Qzn4PQ29szpCJ7UITyAKn9EWMr4GjjH8gtiQ5HVLOyM7p85Rq80AiYMgrt2suRwTRrkf a8nxMH73ns/VMFJBCRY2ckVn9yOd5JWkiVhiaZ03raT4PMUFU6kUne05IxR6uRbcduzA IlKH50jaGVkKfEkLlnhN2Pdc5ElMICcqNywhTyvkV5a3KRavBjTIU4pgbB2C1Zm7m3j9 79euHE0ZLHS8DSD/M2famgprI4FAMYATTvJQTtEqzDVOFhWkp/IiHgcb9UPw+f1nhnxc b2FA== X-Gm-Message-State: APzg51B8ljl9ihn4quEDmFgXuQcjI3NG6+0Y2lWgzXU9E26npGzE3WWe I7zDSmWbwqBfZmccWwFAITQ= X-Received: by 2002:a1c:a401:: with SMTP id n1-v6mr2828082wme.125.1535655702588; Thu, 30 Aug 2018 12:01:42 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id w17-v6sm2937095wmc.43.2018.08.30.12.01.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 12:01:41 -0700 (PDT) From: Corentin Labbe To: axboe@kernel.dk, hdegoede@redhat.com, kishon@ti.com, mark.rutland@arm.com, maxime.ripard@bootlin.com, robh+dt@kernel.org, wens@csie.org, clabbe.montjoie@gmail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v4 09/13] ARM: dts: sun8i: r40: add sata node Date: Thu, 30 Aug 2018 21:01:16 +0200 Message-Id: <20180830190120.722-10-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180830190120.722-1-clabbe.montjoie@gmail.com> References: <20180830190120.722-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index 852c2ccc3268..d6b5820da850 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -550,6 +550,29 @@ #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"; + + sata_port: sata-port@0 { + reg = <0>; + phys = <&sata_phy>; + }; + }; + + sata_phy: sata-phy@1c180c0 { + compatible = "allwinner,sun8i-r40-sata-phy"; + reg = <0x1c180c0 0x200>; + #phy-cells = <0>; + }; + gmac: ethernet@1c50000 { compatible = "allwinner,sun8i-r40-gmac"; syscon = <&ccu>; -- 2.16.4