Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp704382yba; Thu, 18 Apr 2019 08:14:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2v3IsPPH08eN0QPXI83/KL44O3/+PyrTUQBXGF9kBu97L5w8EsHYXloGuzXvUAkwYbT2p X-Received: by 2002:aa7:82d6:: with SMTP id f22mr96521511pfn.190.1555600465008; Thu, 18 Apr 2019 08:14:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555600464; cv=none; d=google.com; s=arc-20160816; b=lQhOp9xTVQF4HxZ1RuZ7FhIRyFYrDE1HQrE223D+d93TYND25CaYKDjeLhe6y0vQh6 WV/SXcu0VcXcVHeATk82HNqKMx3MJuBUnP3zkaq9BeE1gMNVGBH0htbu0wM1RT35p+f6 4zpkn793GIebnjW+XsZFusztKASjmVucVp3DgXpzwGmzk3lOyD/aHcG2vIAssyuxM+OB BV7P/cGMcSU+jKwSuXxMlbQJrjs2R5UOT20YFGwJCaVtDo1skBZjkOnMDi+jQgqnbdDH ifpkEJhUpboEGFo9hs48KozqrLFLf9U82W30keOZ6f1KxpJolXnTmLgpLJEmGxEX4mBi pLBA== 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; bh=CjvvLkm1Rwje+bpRKaVw2iBCYJXfDAah8U74zPtFdGY=; b=yix+/0VqLU2HBEIVvzAi20V3sLYKkmdHlnRKczBSM9GoKhgczReDklejL3LC8EOF3x i9ddBH01/be53rG9X9JIXlxoZU7y9FDuw9QHUP0Hkij2lWrvH4yPjJ0igueoIddzQKjj GiyLihqSrW8Bcz+Dq0kR9pIYnmI9y5Xnflb6Ryiq/8oFENVKqm0vpCnzA/eiW5AYJi8i qkcekjn012ZPHF7FIas3A9Zi9RV7WucOvbEwUo6YTi1bWgxUKZ5jRqJ9NormsB8Dji4A idR+AmRWohqQceT5B/m2LLDiF8QUQKfQqNT62Sy2U5rRaASM3lO6/kEArmVcG8thZBVZ SwpA== ARC-Authentication-Results: i=1; mx.google.com; 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 d12si2110443pgj.177.2019.04.18.08.14.10; Thu, 18 Apr 2019 08:14:24 -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; 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 S2389529AbfDRPL5 (ORCPT + 99 others); Thu, 18 Apr 2019 11:11:57 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:45046 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389488AbfDRPLz (ORCPT ); Thu, 18 Apr 2019 11:11:55 -0400 Received: from pgsop.sopnet.com.ar (unknown [179.40.38.12]) (Authenticated sender: pablo@fliagreco.com.ar) by mail2.sp2max.com.br (Postfix) with ESMTPA id C91E67B307B; Thu, 18 Apr 2019 12:11:32 -0300 (-03) From: Pablo Greco To: linux-sunxi@googlegroups.com Cc: Pablo Greco , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Enable AHCI Date: Thu, 18 Apr 2019 12:11:18 -0300 Message-Id: <1555600282-9405-4-git-send-email-pgreco@centosproject.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1555600282-9405-1-git-send-email-pgreco@centosproject.org> References: <1555600282-9405-1-git-send-email-pgreco@centosproject.org> X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: C91E67B307B.A14E8 X-SP2Max-MailScanner: Sem Virus encontrado X-SP2Max-MailScanner-SpamCheck: nao spam, SpamAssassin (not cached, escore=-2.9, requerido 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-SP2Max-MailScanner-From: pgreco@centosproject.org X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just like the Bananapi M2 Ultra, enable the ahci controller and the two regulators needed to activate it. Reviewed-by: Jagan Teki Signed-off-by: Pablo Greco --- arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts index 2a5b80b..c37c7ab 100644 --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts @@ -99,6 +99,12 @@ }; }; +&ahci { + ahci-supply = <®_dldo4>; + phy-supply = <®_eldo3>; + status = "okay"; +}; + &de { status = "okay"; }; @@ -225,6 +231,18 @@ 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"; +}; + &tcon_tv0 { status = "okay"; }; -- 1.8.3.1