Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07440C46467 for ; Tue, 3 Jan 2023 15:37:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9534185524; Tue, 3 Jan 2023 16:36:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="iiXRSA4h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 43DB7854EB; Tue, 3 Jan 2023 16:36:24 +0100 (CET) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BA6B285548 for ; Tue, 3 Jan 2023 16:36:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Sergiu.Moga@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1672760164; x=1704296164; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NJNeR2FMs/VbKdW10obuod7ZGqGs1nydgt1SUiF/L0w=; b=iiXRSA4h1WR9hM/eCVn0y4q0eVt9Lso4iscKfdXKv9Y0vjlUebtaSFcE fLE8DwpY3GIxDg36SVuYkVw+UAm78kooAtAVJHllBE7/s8Gtt1ilSYLE/ 7nSGuYpPs2qJmUt1lgj7FYkSmaTIRf0e+0VflY+7pTAz3n0yYNCofDIx+ tIirXhgBm/JfUAut7v/GP7QR3hVGlHAYrZNgYk6p69rd1CdhYh89rf36X aYtPbwW2xNdZoSavqwjbir7g0gebvKMbZCX3m2uYaB0oibFiv6GtB4pbW ZIycFPk+bfEAWF5qVbW+miNwmBp19IfbXMlRX8Mzl/I2/oYUymjUdCCEk Q==; X-IronPort-AV: E=Sophos;i="5.96,297,1665471600"; d="scan'208";a="194054732" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Jan 2023 08:36:02 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 3 Jan 2023 08:35:51 -0700 Received: from ROB-ULT-M68701.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Tue, 3 Jan 2023 08:35:48 -0700 From: Sergiu Moga To: , , , , , , , , CC: Subject: [PATCH v2 7/9] ARM: dts: sama7g5ek: Add pinctrl, gpio and phy properties for USB Date: Tue, 3 Jan 2023 17:35:16 +0200 Message-ID: <20230103153517.99820-8-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230103153517.99820-1-sergiu.moga@microchip.com> References: <20230103153517.99820-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Add the required pinctrl, gpio and phy properties required by the USB DT nodes of the sama7g5ek boards. Signed-off-by: Sergiu Moga --- v1 -> v2: - this patch was not here, previously split from 4/6 of v1 arch/arm/dts/at91-sama7g5ek.dts | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/at91-sama7g5ek.dts b/arch/arm/dts/at91-sama7g5ek.dts index 9b247fcaf6..31adc4d3e7 100644 --- a/arch/arm/dts/at91-sama7g5ek.dts +++ b/arch/arm/dts/at91-sama7g5ek.dts @@ -761,6 +761,11 @@ pinmux = ; bias-disable; }; + + pinctrl_usb_default: usb_default { + pinmux = ; + bias-disable; + }; }; &pwm { @@ -837,6 +842,35 @@ status = "okay"; }; +&usb2 { + num-ports = <3>; + atmel,vbus-gpio = <0 + 0 + &pioA PIN_PC6 GPIO_ACTIVE_HIGH + >; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_default>; + phys = <&usb_phy2>; + phy-names = "usb"; + status = "okay"; +}; + +&usb3 { + status = "okay"; +}; + +&usb_phy0 { + status = "okay"; +}; + +&usb_phy1 { + status = "okay"; +}; + +&usb_phy2 { + status = "okay"; +}; + &vddout25 { vin-supply = <&vdd_3v3>; status = "okay"; -- 2.34.1