Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1002907ybm; Wed, 27 May 2020 13:27:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbiyvNZopJ62TRs96JWPDjqHE/0O4CKwadq9zPjKEnv585wJIUS214HaaU2z1C7i6hUfpe X-Received: by 2002:a17:907:20e5:: with SMTP id rh5mr100395ejb.72.1590611263772; Wed, 27 May 2020 13:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590611263; cv=none; d=google.com; s=arc-20160816; b=nmKItWWeFbssNlGntkccChnn0HbIDuxBXMl72P6gd+cpDbM6hbiiZwQnLGOmYnAcUN pj6MTeASxx8BvMet1LvPHf0NOrOj0U6jvzj+oBNaW0NrsIWMpaAn97RPaeQ5fMLWlyKM BXV2iCzwXRsVMYG21wakhR/pw+ky/uTOcqfEYb03sfy+S7jXR/GrKjAAvJj4uVCmJkrX DkMZZUdyQm3S4SQlUJ1oJ1ZKOIRLj2kbTMVUXWdxP9WhRbC2nr97XdqKYJtnKgV5GN3x ioNHMREVWESdIDFM/RRcW77YlbwRtgfMzyPokgIVcyMiHqXbv6OpRUMzJuy5dSDGOWAI tW6Q== 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=n2i7YqMokQQCtzAPQgYCx/uAKUrhAgN0oaK3zxDLEus=; b=OM5pInroJvV9sxMqXrpz684efhPNXx0TfTjlkF+PrWqRBI2N3kwbm+xrtWMGq0Fa55 +51Tjq/AC3UdV2hA09z05s9zESw/JuHYWXgPPIa+g7zMyMC/WIcHdH31bhM2COV+7R8d 4Hq/DFWsXCcImASw/24vqDx8sbcHZEHgsvehpVlwP9e3/L8NOvPsve4jP6J7sVjN4cSj QcMCnaxco39uNvSsNOLmvIcB4URXKHYejg0wki599RftcnJ5gzFZwC8o4v8vfGrp+/+x rEcXq9Prwxu2LsoTYw/5zHNjqblx65k4ks5UeF9EvFDQ4Vuuh8Ndwn98lC3SAZu9TdIN wLbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si2321349ejz.120.2020.05.27.13.27.20; Wed, 27 May 2020 13:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728878AbgE0UYi (ORCPT + 99 others); Wed, 27 May 2020 16:24:38 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:30112 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728482AbgE0UYi (ORCPT ); Wed, 27 May 2020 16:24:38 -0400 X-IronPort-AV: E=Sophos;i="5.73,442,1583161200"; d="scan'208";a="48174913" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 28 May 2020 05:24:36 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id D0CAB40E1B8A; Thu, 28 May 2020 05:24:34 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 1/3] ARM: dts: r8a7742-iwg21d-q7: Enable HSUSB, USB2.0 and XHCI Date: Wed, 27 May 2020 21:23:31 +0100 Message-Id: <1590611013-26029-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590611013-26029-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1590611013-26029-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable support for HSUB, USB2.0 and xhci on iWave RZ/G1H carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index f23c2ba..f62485a 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -61,6 +61,32 @@ }; }; +&hsusb { + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pci0 { + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + /* Disable hsusb to enable USB2.0 host mode support */ + /* status = "okay"; */ +}; + +&pci1 { + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pci2 { + pinctrl-0 = <&usb2_pins>; + pinctrl-names = "default"; + /* Disable xhci to enable USB2.0 host mode support */ + /* status = "okay"; */ +}; + &pfc { avb_pins: avb { groups = "avb_mdio", "avb_gmii"; @@ -88,6 +114,21 @@ function = "sdhi2"; power-source = <1800>; }; + + usb0_pins: usb0 { + groups = "usb0"; + function = "usb0"; + }; + + usb1_pins: usb1 { + groups = "usb1"; + function = "usb1"; + }; + + usb2_pins: usb2 { + groups = "usb2"; + function = "usb2"; + }; }; &rwdt { @@ -122,3 +163,13 @@ sd-uhs-sdr50; status = "okay"; }; + +&usbphy { + status = "okay"; +}; + +&xhci { + pinctrl-0 = <&usb2_pins>; + pinctrl-names = "default"; + status = "okay"; +}; -- 2.7.4