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 32B5FC46467 for ; Wed, 4 Jan 2023 14:06:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 96E8B855A1; Wed, 4 Jan 2023 15:05:27 +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="JPTvL9da"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3A27A8558A; Wed, 4 Jan 2023 15:05:14 +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 5F34385553 for ; Wed, 4 Jan 2023 15:04:54 +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=1672841094; x=1704377094; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=V7xCv7QseLfwG05KgZtqNNy8gJH5alAI2otG5LUE3qc=; b=JPTvL9daOGc+ZCvqhGmnQZXWggWqj/A0y23p7yK8BDcZPuBf8tTyl4uk PuDE610GBLpx1Ml4sl2ZphDiTp46nVXgGMZhLHnFAUp37MNSGA3OdlXiN arJtTrKIhkcCP7aKsiI4Yh/Fur1PyrSOlSHcNhvc7oci/pHT+1le/DLgP 9YD74YLZE0TGkiv60TpABEWkF0+nayAFNd1IgNewmR+w24cUFyYubfOvD p9eUlTrnD61EhOi05EUPg5iBj9GdFb77fI2A18Tt7ssCExou5Q0st/EgG vksYdrnVbzvNvJb6Ci0Y81hhAi75Q94oM9Ug2uwQ68eX1IYqXQ7fdvDsO w==; X-IronPort-AV: E=Sophos;i="5.96,300,1665471600"; d="scan'208";a="190700562" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Jan 2023 07:04:52 -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; Wed, 4 Jan 2023 07:04:44 -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; Wed, 4 Jan 2023 07:04:42 -0700 From: Sergiu Moga To: , , , , , , , , CC: Subject: [PATCH v3 3/9] ARM: dts: sam9x60ek: Add pinctrl and gpio properties for USB Date: Wed, 4 Jan 2023 16:04:12 +0200 Message-ID: <20230104140417.149991-4-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230104140417.149991-1-sergiu.moga@microchip.com> References: <20230104140417.149991-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 and gpio properties required by the USB DT nodes of the sam9x60ek boards. Signed-off-by: Sergiu Moga --- v1 -> v2: - this patch was not here, previously split from 1/6 of v1 v2 -> v3: - nothing arch/arm/dts/sam9x60ek.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts index eb44868a3e..fb1e63c5b2 100644 --- a/arch/arm/dts/sam9x60ek.dts +++ b/arch/arm/dts/sam9x60ek.dts @@ -101,6 +101,13 @@ ; }; + usb1 { + pinctrl_usb_default: usb_default { + atmel,pins = ; + }; + }; + }; }; }; @@ -110,3 +117,17 @@ phy-mode = "rmii"; status = "okay"; }; + +&usb1 { + num-ports = <3>; + atmel,vbus-gpio = <0 + &pioD 15 GPIO_ACTIVE_HIGH + &pioD 16 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_default>; + status = "okay"; +}; + +&usb2 { + status = "okay"; +}; -- 2.34.1