Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2133276ybh; Fri, 17 Jul 2020 10:02:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJP6oZlfuRn7ywt+qjh6uYhdrLJgs809C6LzJW8rNXWv6ltZ07QggVj3xNkbGBUXdk+IAu X-Received: by 2002:a17:906:7d1:: with SMTP id m17mr9885332ejc.490.1595005362739; Fri, 17 Jul 2020 10:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595005362; cv=none; d=google.com; s=arc-20160816; b=OrqgSmj+h1OHN03et05tM9twVvI214oNpMMqbGl8Wuop3/IO9HCpy3C+afy/MWa9ux d2D2Mc3bDxhjjKU9AvgcJuFfnK3Za/m4oAyFSDlZlUDII5U54pyHI97hwvBVknSGyfzN HiUzNnm5nU+Rdqy2VJdtUYuGTNFTm+DJfSB+93JsQB3zEah/ENg303sbZ0xJn6xO4YN0 f2zXydBGAo8RH4yI8vO6Udy/9bMe9QWyx2S/lX+DJIFamzeoyQVOnVsr4y/wN2uqu4kZ XqRDoTAsjuDMV69dWsGMW6ND/fZM3V41Tq1+HjQGPmZ9aJsU2+tEvbBjStdnyg+UCSyj QmZg== 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=qRLlOmqMMdV7T9T26tWcTxOKpLlXc3770gsoVRLjWpU=; b=nC8mxm9uDdoHAyjQy5U/KW/h2oBRMvpHgwk+keN3kBaZIxyFO4/jWQ+APnUfa40I79 emDfSVbB48s4Ehc4FRCbhNIOg7jjCMm9r3QY+UVCGSGZM3UEj15Tr2yiaS/xdXoL89JO tXb1H9sg0PjcECxNUbDEPXd3alXBRc1Tbq+Gq50ySLljItOhOE6fk/jvjd3X1gyvty8F TRTDdIGenpHrXqgsmVpBy8RkFD6x7rn8LlRf6RI3fuWbyWBFAiOL4udpZmItM+ZZmE61 Ko1Ab5s1QlwrMa9Rk9ey48RlLJpW0X93/+nK/1eT/0I7yWE70MYztGvozOHf1v6C6OiE RrJQ== 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 i23si5552714edx.261.2020.07.17.10.02.18; Fri, 17 Jul 2020 10:02:42 -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 S1727982AbgGQRAg (ORCPT + 99 others); Fri, 17 Jul 2020 13:00:36 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:46867 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727926AbgGQRAf (ORCPT ); Fri, 17 Jul 2020 13:00:35 -0400 X-IronPort-AV: E=Sophos;i="5.75,362,1589209200"; d="scan'208";a="52419826" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 18 Jul 2020 02:00:33 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 0CC8B40061A0; Sat, 18 Jul 2020 02:00:30 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Rob Herring , Linus Walleij , devicetree@vger.kernel.org Cc: Magnus Damm , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH v2 2/2] ARM: dts: r8a7742-iwg21d-q7: Enable HSUSB, USB2.0 and xHCI Date: Fri, 17 Jul 2020 18:00:25 +0100 Message-Id: <1595005225-11519-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1595005225-11519-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1595005225-11519-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 HSUSB, USB2.0 and xHCI on iWave RZ/G1H carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Biju Das --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index e90aaf1c94f0..f4910e709b87 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -131,6 +131,30 @@ }; }; +&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 on J2 */ + /* status = "okay"; */ +}; + +&pci1 { + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pci2 { + /* Disable xhci to enable USB2.0 host mode support on J23 bottom port */ + /* status = "okay"; */ +}; + &pfc { avb_pins: avb { groups = "avb_mdio", "avb_gmii"; @@ -168,6 +192,16 @@ groups = "ssi34_ctrl", "ssi3_data", "ssi4_data"; function = "ssi"; }; + + usb0_pins: usb0 { + groups = "usb0"; + function = "usb0"; + }; + + usb1_pins: usb1 { + groups = "usb1_pwen"; + function = "usb1"; + }; }; &rcar_sound { @@ -222,3 +256,11 @@ &ssi4 { shared-pin; }; + +&usbphy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; -- 2.17.1