From patchwork Fri Sep 29 15:52:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 9978305 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1AC3760311 for ; Fri, 29 Sep 2017 15:53:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B57C297BE for ; Fri, 29 Sep 2017 15:53:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3234297EA; Fri, 29 Sep 2017 15:53:40 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 88E7A29838 for ; Fri, 29 Sep 2017 15:53:37 +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: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:In-Reply-To: References:List-Owner; bh=8iaEGj5pmOS5AWidCcxftz37Bj54/WGpPW9KvbGYyl4=; b=gRZ jmQSWLpMsyHYli9ReNNLNI9v1hIM1RdwMNll2Sjrhc4xnvZsYi49ZgiBlgZYRW3UnhGPFW6sNbwAZ HKgX/cBlTAKk9ulI5mfbf/CPpmzk4zV3pCAgYhSqdPIn6T2aRIshSTse7e0/Q1M/y0JrRW0ugEGEH GqlyfdaEGsS0Ok4ZvRjNA7GWepfr4xuLX9OnHSasc2n0UPidzIF0Y5Ltbqz4qAZtbOauYjJdICqle toRvXjNsayz4wyM8VMxeyjWLOixX8O+tcRd/TSuFTS/kt6TKXFj0JLE/CkRg7EJNRKDdewHvUxr6I yAHDTf8Hzeq5IKVRWS1yUJ+qoPLmiuw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxxbX-0002aC-Vr; Fri, 29 Sep 2017 15:53:31 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxxbT-0002VN-U6 for linux-arm-kernel@lists.infradead.org; Fri, 29 Sep 2017 15:53:29 +0000 Received: by mail-wm0-x243.google.com with SMTP id m127so106386wmm.0 for ; Fri, 29 Sep 2017 08:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=DNES+k66EEpnczYDe5rS33idTV6S4Ucwv81yfqInz+M=; b=TKsMoVrxJjINFyoTLDp9El50OqVmkEO9lk/cz4d/wcD7fQd+XMT7qS26sGmwNfAyhZ 9l6ObASmyGMo49YoJDf5IQiEv+tLg/H57vhAJ2zqkSK9zVF9GpniuvbxSNffgK0H0apx Edn09cZ3Heov7dI0n4Gdbbf/puuF78fTacflo05Hf8wCDVaUUfdYpXuhqpnNS9+RkGyG 0M/d+Sz3T6T+RgynSYTvYVyzYZrv2Ub+OYvSaHC+g7M+tDB/8XJoSEqnVh2FneSnwUXV 8AWewvX2OjpN2UOMPpbzDlENfqLqH9jCDuV1nN3awDk3N3/dCBsopB51lJKAl5bgYA4x lzaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=DNES+k66EEpnczYDe5rS33idTV6S4Ucwv81yfqInz+M=; b=QKHIWrhM2hqtqKqS9fXuOXpOgAuZyEoejSWCDjQyM6yFTMDQgGK3uW9Qk9hCr5Hehm Y71pdqYRXKX+WfkwTxSPc3sghfiMvDVxgv4ZmlIpvPK+s6Rze/N6f19DL5A8PQiztuIC Bf7NpCGkJwSdXcQaK3eGO4H8Hqr510rYc5vP8QQgwAvEQiZgzN8BugTmkZmEHFd22LLz eu0W5huoAO8HVxkjqDisVHumjanKneLAN1lGukXWRdYk62iDvdZ4b2B2a+LtrroL68Ms xPb1VrPkOuEUFNWxNH6hSrO0+GlgXpTFeVnU3EVO/d8fijPilBcZ31lzwTPiU9T9boXZ XqFQ== X-Gm-Message-State: AHPjjUi7o2s1Re+5g50pphOq3agc6d4xVC2lpKa5Ses+Ax6CDAT2IIXu IqxZqFT0zXzOBgqzl9cSZVk= X-Google-Smtp-Source: AOwi7QB2sVOK6fweVFawCLUD6CMhP8ejNjjSQU1x0nkCzu08euByu4kTBy8Cm5/Ha7RDUzpIw62EgQ== X-Received: by 10.80.244.11 with SMTP id r11mr10405307edm.26.1506700385474; Fri, 29 Sep 2017 08:53:05 -0700 (PDT) Received: from dell.be.48ers.dk (d51a5bc31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id q6sm3875964edk.55.2017.09.29.08.53.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Sep 2017 08:53:04 -0700 (PDT) Received: from peko by dell.be.48ers.dk with local (Exim 4.88) (envelope-from ) id 1dxxb5-0001qy-Qx; Fri, 29 Sep 2017 17:53:03 +0200 From: Peter Korsgaard To: khilman@baylibre.com, narmstrong@baylibre.com Subject: [PATCH] ARM64: dts: meson-gxbb-nexbox-a95x: Enable USB Nodes Date: Fri, 29 Sep 2017 17:52:56 +0200 Message-Id: <20170929155256.7080-1-peter@korsgaard.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170929_085328_142880_E9559DE8 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. 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, Peter Korsgaard , linux-arm-kernel@lists.infradead.org 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 Enable both gxbb USB controllers and add a 5V regulator for the OTG port VBUS, similar to p20x. Signed-off-by: Peter Korsgaard --- .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index 38dfdde5c147..60cd9c3b11c8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -88,6 +88,18 @@ }; }; + usb_pwr: regulator-usb-pwrs { + compatible = "regulator-fixed"; + + regulator-name = "USB_PWR"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + vddio_card: gpio-regulator { compatible = "regulator-gpio"; @@ -294,3 +306,20 @@ pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; + +&usb0_phy { + status = "okay"; + phy-supply = <&usb_pwr>; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};