Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp209454imm; Thu, 30 Aug 2018 12:03:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYgBAXn/I2bk4W0WXw+E0I+CZKGm/f2pctIhw3lYi8LLMYr0dXk6THKm2PxmHwdGjBgIITj X-Received: by 2002:a17:902:4e:: with SMTP id 72-v6mr11413895pla.318.1535655795028; Thu, 30 Aug 2018 12:03:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535655795; cv=none; d=google.com; s=arc-20160816; b=NvwpodeFvc/CIxYxEgWsrKLyo3zcGVRk4Ker+iU87UwTRI6F8AiMFphHJ+CKUe+AiY 9Q9wm840KY9U9dKXZW5ym8x1iQ9hY2rqk0JNyjo9rtpAnzlJ+EStZqDKMtzTdaN0HGWP odhrVPLtrFtDe4RFDdhel2OFga+rQiKAfPk+FGRzjRwKWsgVxg7kv+AQuzgb2IfLkqEi RvfxtfBTK4XOmr01TTWbn1zXNQvqe+Syql2g0D8G+K3zN2SuSibj5Ub1egzevITLto1z PVlozZS0WVmmD198PUj7KlVNjw1+EhYhSsTaHvGjlQglmUOu2E+RSHvE2OMVnyi2S0lp WZNw== 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=/Tdxgkt9CvsMDffYgLZwCBYAMe31gzmLe/ZAbH0KQ5c=; b=eK4O7OhzWfcdrDuOdfhFEWJKSS+qFHdLdYUS3nQ9omlhfQiKM+OB4bDf/fIZ0NXSTr 798cqZlxaBeaKu8v/i35RdbU41l1l+PDJeHaFwJCg2cDowMK8v3MhHQ5mKq5PHsRT9Ng OGlvn8R45pAkT3eCrmCeUVZIAk37XDxD4TNxEpk5LmUBGmEhyGXVFjy+mCJ3QV2LVul7 BoYYkAWgCMVpMyou/Es9GZEziLeY3tPrLWRjoxjwjgTbRY8yIU/3EiqHPdy+FmQf7oKv kq0FKM3DgMCBV8FHiWdyNkMLEH1N8R+8Gnn8HW0SsHOuRN528dMlHA5LRJr77Fi4+W+C bAaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bdVcOQBh; 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 d37-v6si7309670pla.40.2018.08.30.12.03.00; Thu, 30 Aug 2018 12:03:14 -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=bdVcOQBh; 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 S1728353AbeH3XFZ (ORCPT + 99 others); Thu, 30 Aug 2018 19:05:25 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37614 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728118AbeH3XFY (ORCPT ); Thu, 30 Aug 2018 19:05:24 -0400 Received: by mail-wr1-f68.google.com with SMTP id u12-v6so9003549wrr.4; Thu, 30 Aug 2018 12:01:47 -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=/Tdxgkt9CvsMDffYgLZwCBYAMe31gzmLe/ZAbH0KQ5c=; b=bdVcOQBhDKg1YU7EuaVN50ehxdx8lwubQ6N2NC1qOENkXiSnFjX6M95te/1JvU+DLc 5a9zj1tpIOzhcGIo5rcHAANACJN2T/0abHljawknikpjNiZgqrWwDVVTvjszntiMm5BD nr8TFwV78fCiJ5XJYEKzG+ImdbIFI+lvLnad2pQb3LUcrxMiYkvB1lreOe3CENHZi6G9 QqmxA1JB9od6d39rAQG/4G0ZJpRZy333jdIGKxYUOjvTU7oWQ3H9q1eiY34H7VlyWRge zZXsH+vXL5OPCSozU+fiM8uHaw5Mssn9TGjoA6q+dcu6eeqG9hvyg5gBhnXY9mCGMCoV LlIw== 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=/Tdxgkt9CvsMDffYgLZwCBYAMe31gzmLe/ZAbH0KQ5c=; b=aIVvlM3vV1Fq+xtPqAPTysnLUb35HeL0O57cV7w3hHH5kpAduH/0uzG27CnMan4EHn Atft3DmR6B5v9I0rKyp9I29Clx58CqPaUqbqE6UbzXXs692L6xLFX1t2Bo4TmpCUI5Qu m+TemfgCa0AplTeoBmciuD8QF8P4PR7CmzxjLuDsoBGCmL25PnhM7VuczPMu9EkqMS2N 87oqkNGtpJ1sqRT7tgkOY9e1J09g/7GSGOVE8nrGyjMq93HZ+uVzunj3JkdWG2ZYFN29 HE6cHqIumPW12Diu5/Bh1D3s6cFsdyLVBMuDc9qgYfMRWb0P9elJLMB1/dMiETdNmTKd DY1A== X-Gm-Message-State: APzg51A9JWgz2zbvOpCSzpBpmDpDbF+Qa2Lx+Uoi/TCaiql6q4w3t+Nl 4tfPn06g2ydzh/o200fQGgE= X-Received: by 2002:adf:dcc1:: with SMTP id x1-v6mr8674417wrm.21.1535655706835; Thu, 30 Aug 2018 12:01:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 12:01:46 -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 Subject: [PATCH v4 12/13] ARM: dts: sun4i: a10: add sata-port/sata-phy nodes Date: Thu, 30 Aug 2018 21:01:19 +0200 Message-Id: <20180830190120.722-13-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 This patch convert sun4i-a10 sata to the new binding which use a sata phy node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun4i-a10.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 3d62a8950720..52d5c2e79499 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -556,7 +556,20 @@ reg = <0x01c18000 0x1000>; interrupts = <56>; clocks = <&ccu CLK_AHB_SATA>, <&ccu CLK_SATA>; + #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,sun4i-a10-sata-phy"; + reg = <0x01c180c0 0x200>; + #phy-cells = <0>; }; ehci1: usb@1c1c000 { -- 2.16.4