Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp648340imm; Fri, 13 Jul 2018 04:04:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfcwmkGPXyp0kThkDIb+z45dAs/C2QS8bnEMNH8q6Pv8miAXIS20wOx+FZw9c2sIlCz4YMj X-Received: by 2002:a63:c44a:: with SMTP id m10-v6mr5705091pgg.416.1531479861519; Fri, 13 Jul 2018 04:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531479861; cv=none; d=google.com; s=arc-20160816; b=z3HXMFJujw1vDPTWvmP1nxCA2qixq1aHhAmgNeQPEqrzm0j3ToPUUfE7B7wz6vvf1Z EzsZ0hCPhY8jtDPen9l9pebn4iROweapkOZYBG8Lxu98bW1vgKRdVEtRvcZuc4c0qvsG 1kzc0ecfGTzOIBIYhWtbbrk4U8dcq1227CEDe5iUajzyec8yRfTxXeI1pP9EgKvuB6+B VUIPDIqJox3vnfbZCeplJxvxw6K29s5mcLaZTSYdhfd2jDZctznajGO740wNuyBIl3Tn Q/Dk2H3+EAHWyBqApJB42h3cv+mrT3hHsOUnM2pV0QKxL71fpLCglXK+/ktR9IF4CfQv nimw== 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=SfJgK+bi2J4jnNDfFkUldHkyAJ+BTKp6VkmyhXu1Liw=; b=boggeuafHRBS3abR1T1ehYPPdNmIzej25V++N8HlBPv3m9ynZcrYXMFNNR63iTRPp/ YZiTDrSCUSXC9YYLZdpVRRw6F/xY7I2KSLsSrdkUeV8P7v0xCU9WFyts6O27GM3H33Vt a0sHQ62v1J5u2wXZLSZxKk/pGaynKCb40M00i8gdeWvck3aY77XKjN37Gk42NSluXEy2 TiV5t3nBGbLli0GI1TRj+PE3Fso567PQjyliFVaqvkZ5u54SQJwkqppVtjJNH1dtQUa0 wQOhYD9KvwuWS9xy/rm1UTXh0aQpS08sNqxxj63S3NEBfg0dKtn6LixqyvtL8f6wftEj d96A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0vUtQgRq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10-v6si23652075plv.1.2018.07.13.04.04.06; Fri, 13 Jul 2018 04:04:21 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0vUtQgRq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731589AbeGMLRf (ORCPT + 99 others); Fri, 13 Jul 2018 07:17:35 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40043 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731261AbeGMLRe (ORCPT ); Fri, 13 Jul 2018 07:17:34 -0400 Received: by mail-wr1-f67.google.com with SMTP id t6-v6so24699809wrn.7 for ; Fri, 13 Jul 2018 04:03:23 -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=SfJgK+bi2J4jnNDfFkUldHkyAJ+BTKp6VkmyhXu1Liw=; b=0vUtQgRqrhrcCTCxiTyPB2gMyDKTjOtnwyhLR3z+T0lqxSPMoTXWSwRa7gwcZOq2l6 lJmVmR3rg0oIsZodbjJL4422vtEPef7FoHcvpKe8qgyOq0bzDZzEI4JS4veKbi79GxSN fPnUZ+w4hRxHlTMcolJ5GYCm8jG2KW55vVoJBJ26Mu06bFOpuRQJ6MK25yJuxYLbvWpK 7govz89z43l+lWqSh45/WDTSwjxtPP8MQeWc9TMDQHIWocJe94ANMrc9y/WSH7LHp0Bk GGEBSwG+aeQtIxPfTCW+5vNHAhUTWDUPYW7g9+EFeBEg1eB4CzEr45wutzKZBM43V0rq X+2Q== 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=SfJgK+bi2J4jnNDfFkUldHkyAJ+BTKp6VkmyhXu1Liw=; b=d3SJTF4fOudMqyC2dSOJi7QfhSqZayRXy4GHrSCLHevygGAB0rssEJxdElfBlAW1KX IwjowePJQn51lodckA9BQNWFQtyFOSHmZtxKhzpao3qLhppz9Qp31OnuTZ2LUZGSAYlc 6qmPvc2I+F+GWfQvNowIXFqg1yqezcC5Jxeak/xORjir2B3bFQbMg5si/eKY59iN9dmd Iktwyk/dy5cOqbz1Fqn2MES3vCuhCYddkCt9DHl+X0ij8a0PKBIGdlRorSHIc79KbnGb hJ1lgJM4BZ+VaxpT3NHMGaXFpKSCBCAfJx9DR3ZtPYVdjc7sp0o27teXNfQzkMKXk+zH 5pbA== X-Gm-Message-State: AOUpUlHFGwwJwMiIrZw+TBfvcYPlsBZ8yDnSuFW4MyvX/Ll0rNTho8o3 +Oljaa4VG3EhVwEpRhLui9Og/w== X-Received: by 2002:adf:a541:: with SMTP id j1-v6mr5009144wrb.155.1531479802631; Fri, 13 Jul 2018 04:03:22 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id y14-v6sm4598045wrq.45.2018.07.13.04.03.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jul 2018 04:03:22 -0700 (PDT) From: Corentin Labbe To: hdegoede@redhat.com, linux@armlinux.org.uk, mark.rutland@arm.com, maxime.ripard@free-electrons.com, robh+dt@kernel.org, tj@kernel.org, wens@csie.org 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, thierry.reding@gmail.com, icenowy@aosc.io, Corentin Labbe Subject: [PATCH v3 9/9] ARM: dts: sun8i: sun8i-r40-bananapi-m2-ultra: enable AHCI Date: Fri, 13 Jul 2018 11:03:06 +0000 Message-Id: <1531479786-4911-10-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531479786-4911-1-git-send-email-clabbe@baylibre.com> References: <1531479786-4911-1-git-send-email-clabbe@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enable the AHCI controller. Since this controller need two regulator, this patch add them. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts index c39b9169ea64..07eaf6cd9d19 100644 --- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts +++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts @@ -105,6 +105,11 @@ }; }; +&ahci { + ahci-supply = <®_dldo4>; + status = "okay"; +}; + &de { status = "okay"; }; @@ -251,6 +256,22 @@ regulator-name = "vcc-wifi"; }; +®_dldo4 { + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-name = "vdd2v5-sata"; +}; + +®_eldo3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-name = "vdd1v2-sata"; +}; + +&sata_port0 { + port-supply = <®_eldo3>; +}; + &tcon_tv0 { status = "okay"; }; -- 2.16.4