From nobody Sun Feb 8 05:53:27 2026 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51776322C99 for ; Sun, 1 Feb 2026 11:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945701; cv=none; b=fPej1tpbYmhF+gu91gmXU/WEZj43SRTx6VsTeH3oAr2uMLHeg4FHCNYFRx8x5nqBG/VdGW0DefLM/eTyRdx3IpVqCXj7L0KdrEBwhDvLraHzBpfmm39F75z3diYfNA7B8Luzhrx8C0O6JIxhslaXwy5me+kbxnY6hlP/ShmBQUU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945701; c=relaxed/simple; bh=Y377DvLnUIjlGLu/RqWsQKaky9tPtLIOV3/v25fUJJw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mALHDqTsH34yzD9WDf29CVXlrAR3ZqnMGFLEJzg9+Q375OcIdwyZn78mvY+ra7IB339r41lMaV/AqzOBopeme+ayLluCO1l7N93d4eIRaiHGq/MsUXiBGWeS8sCyC00eIMxPnGNukZQ2nTjqSI5Txbb6sGVBE9Aeqkq8RD4zEBE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fbGCCQDV; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fbGCCQDV" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-823210d1d8eso1779504b3a.1 for ; Sun, 01 Feb 2026 03:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769945700; x=1770550500; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Zq91DbVOttbOokKYAPkn2YF5dlqfbHUG1A6X83/uDqk=; b=fbGCCQDVplSDZtrzQe6xgy4xxMFUzokqcrXO1esHpB+tVuXIovCKw4huywhnjknROX sJHA/4xjBKR4En3phXLln9C1vGDVfj9icClLKCI+ugQTrfl3xLL3ZBqttOXtMddQAqlu VBArO1mTpqKgHGdIZkfWIpFcxYpQWB/HBfp5f/6jiqWsbQ0p4o0ZfjmXwKqymj0tet8w 7CpquPazlKQyNktzLnCV6XUh5BOqoXQ5oWELP6qeulZDSYJspH/QFq+fFVkSpINY/ERr lAYqGwvm779G8GIQVKcBO4Bkk15IN2xGoG1klK5RdC7bgpsZ7DDBv0LYBjhETUkNQZAx 3UhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769945700; x=1770550500; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Zq91DbVOttbOokKYAPkn2YF5dlqfbHUG1A6X83/uDqk=; b=ZPJvirtGZy0IvJJypJsKdifn9xpXySrzYNJWkAV0uoBXWGMYqctjW5l5r2cPZG7ccQ FGzkSBTH8Tr/NXcqlQN7ISGHBIGspzk8/dyr5zxCRWPmI22sS+0X3LRFABt9RMPzdAhj pt73Ccx/GRAb36J+S0R/oOCCcKTT0BNFC+SG12IQ0LPK8x+7s9BaJk2PjPvFZOunfv7b cXS6/gYrx+I43JudBuO7VMBtuAs6phMr3EvNw6dVpPLActE+hKhOGY+2J520R2lElIfw jjn6zxcQwuo2cXPW9PIo8a+8PUY/V3idUUx8bEwc/bFchbnZbGv64n7gS07p7KyoQamN pWrg== X-Forwarded-Encrypted: i=1; AJvYcCWFf60o7OeVN2TN2f7SdQ7p+Arb9RzTXrB69hlXYVQPgOwfS0y7hMVN6pnQvec9V1IgNOAFLfurF5t8hyA=@vger.kernel.org X-Gm-Message-State: AOJu0YypSTMVICI3WR0RoOti0LMWAA/UhszE9fOsbd4YcqpuktznwBQf 7GIQOFIR6eCXdec77FYPbJZxzJ1kd20X7rA9ouprsccg5DBMwebA5hinQ+DvKA== X-Gm-Gg: AZuq6aKssX9gX+S+RCjTCSPN2WvMWQvs9lu0v0jmDdEWBcHpx5CVC1XNDIkz/AuvnS4 4tZog2D7+qQ/fyhz9szNR/xp/jvvmmF1Y0fsOPve9aIHTlmPMtP6gf7sbLlzwCpTJSvHAUH8buo eKsZJ3O3EyldDc9AGH+s8+HGCqPizPesXlrnmhuHpxXwIshGRav57mOhEq0gM2nw2HBpPHCH/ek eAlnlUDLmiWRJnww6P6oF9TkjaynWsBluWUBV7acValTRRMMFsKR79ehH3bYQhVx5e4pbu/f86R qAyctx0GtnPYnXRE0NDVAqsifZhouW2lYTmEB14TB8ug/kvzA3C35SPnrJL5HpPYELc6l1/nZJz PzjT4TXUsdvDC9hnP8yS4LFkZmoq95Mf7g+2qL0YzzIfgzgFzWu2Zc02GwIntkW1+eC7pFCNkJs LKpYaT+T93NWaHVMQWsItA3x4lYAc6VYa71g== X-Received: by 2002:a05:6a00:4b46:b0:821:70e7:b10a with SMTP id d2e1a72fcca58-823aa40d7e9mr9801911b3a.8.1769945699636; Sun, 01 Feb 2026 03:34:59 -0800 (PST) Received: from Black-Pearl.localdomain ([115.99.252.105]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-82379c24083sm12994728b3a.55.2026.02.01.03.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 03:34:59 -0800 (PST) From: Charan Pedumuru Date: Sun, 01 Feb 2026 11:34:20 +0000 Subject: [PATCH 1/4] dt-bindings: usb: atmel,at91rm9200-ohci: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260201-atmel-usb-v1-1-d1a3e93003f1@gmail.com> References: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> In-Reply-To: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert Atmel AT91RM9200 / AT91SAM9 style OHCI USB Host Controller binding to DT schema. Changes during conversion: - Include "usb-ohci" as a fallback compatible to allow at91 OHCI driver matching. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91rm9200-ohci.yaml | 85 ++++++++++++++++++= ++++ 1 file changed, 85 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91rm9200-ohci.ya= ml b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-ohci.yaml new file mode 100644 index 000000000000..f04de6d553d2 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-ohci.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91rm9200-ohci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91RM9200 / AT91SAM9 style OHCI USB Host Controller + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel AT91RM9200 / AT91SAM9 OHCI USB Host Controller implements a + USB 1.1 Open Host Controller Interface (OHCI) compliant host interface. + It provides low-speed and full-speed USB host functionality and is + integrated into Atmel AT91RM9200 and AT91SAM9 family SoCs. + +allOf: + - $ref: /schemas/usb/usb.yaml# + +properties: + compatible: + oneOf: + - items: + - const: atmel,at91rm9200-ohci + - const: usb-ohci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 3 + maxItems: 3 + + clock-names: + items: + - const: ohci_clk + - const: hclk + - const: uhpck + + num-ports: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of downstream ports supported by this OHCI control= ler + minimum: 1 + maximum: 15 + + atmel,vbus-gpio: + description: GPIO used to control or sense the USB VBUS power. + minItems: 1 + maxItems: 3 + + atmel,oc-gpio: + description: GPIO used to signal USB overcurrent condition. + minItems: 1 + maxItems: 3 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + usb@500000 { + compatible =3D "atmel,at91rm9200-ohci", "usb-ohci"; + reg =3D <0x500000 0x100000>; + interrupts =3D <20 IRQ_TYPE_LEVEL_HIGH>; + clocks =3D <&uhphs_clk>, <&uhphs_clk>, <&uhpck>; + clock-names =3D "ohci_clk", "hclk", "uhpck"; + atmel,vbus-gpio =3D <&pioA 18 GPIO_ACTIVE_HIGH>; + atmel,oc-gpio =3D <&pioB 10 GPIO_ACTIVE_LOW>; + num-ports =3D <2>; + }; +... --=20 2.52.0 From nobody Sun Feb 8 05:53:27 2026 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 189C92F0C6B for ; Sun, 1 Feb 2026 11:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945706; cv=none; b=REfDfdIUQV7AGlhtWPntBKkt5NrO9VFtEIQlbEDBndai6T3Yqci065cEIFnK0ZIWYd83tW08x3X5XGKDIZcTuTqtHPJAQe75wM0H4aAXvkJ7BR6hrNXikMx11ldkA3R+crO7KvIFVQ65y5//LQdCksN4msfnEJraoun3a8t1ftk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945706; c=relaxed/simple; bh=tiWnkS0c1E2yLOTA6pvv/0fAMnTGnan12wecxsGtKYE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rSCCrjSgztO022F+oiK48Te/CjFi3RHlBSJ5xYyxgrWnA2F17ms8YtJQ0Iok+e5fsONBdy+mNRb3Ki5tTvJPB9vypE7kVCxe/yV0ox6G+VEU7sPnPS3fqzLvwySngWUC33Ml725Np5rG5yRpSp0Emz0oVUSoe4SdB16YjxUYXSY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=c8IeNUEO; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c8IeNUEO" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8230c2d3128so1776824b3a.0 for ; Sun, 01 Feb 2026 03:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769945704; x=1770550504; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uo8u5FaJGPF86RZ/ycn10HpgRIqDDK6kBOV/6qMYc8c=; b=c8IeNUEOHMyTC550aUQN35ieJFdXn80CxFQXHt5zm+W2J6RHBbeJBFZBQ+E2AOmuic SFnSU36BcFgbIL0QID3W5DuD7an2FrJKHkW/6HXuXOvp+GiOHUNXKD52/zpW0fBD/dn/ dm7Ur5BBLWMBa08+c0GTj4Cw1Kq0m54q4GzHbe3TQauf91iEEDYik5KNSwG17lsrdvNi 4ILeWSOnJKhj1ifexfNqkm/0aMD+a6yQ8wTHEkWhW1Vr3W+v9q/mjgnh7hyXtO2MFnuU 6zztG2Z6kfpszxprQ7fieVNcwtKmQKrd+5j53RagaRvZXu8J7GsTa5xKZF44/9lkQJFG dyaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769945704; x=1770550504; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=uo8u5FaJGPF86RZ/ycn10HpgRIqDDK6kBOV/6qMYc8c=; b=suwS9TTGH7Y1io1aZ6M803jgecLChj+p1j0hL+Pc1jYkEXy+czH6U6wzeRH+jQ1k9O Y58ruqThst0YP+b2liRa6auLT/V7QbO6YXH9fNol2rEtAD+ez8fNZnmltG6Rphk5N++G HgFwECqnc7PT/cBOvAG5NKRa7aooTcsBeXYIPa8sX4MlP/4JlpyrLdigIlqgh72BCyd5 sR6xt7kL8ZvftspNQKJsHPhxHZE2QF5M5o7/u1lcq5bbl8ug/Sk++fJCXNZg6VBzsixZ bY6q9gYSLMjRO+HsH/yWND2AvfsI0S7DeMiXT91oJyzzICLYTRsocV1GBkXgT8VcROBg SzYg== X-Forwarded-Encrypted: i=1; AJvYcCXOP47y/u3nBkzBn0vwN2ZZn0aysMatQgRRyQFhuTJ6juGi+t0epH2PwoMbW+Sag1bxOGiTDxyLUw6LGGk=@vger.kernel.org X-Gm-Message-State: AOJu0YwJ5Mqd/HzBsSjDAYhu0BfgIx9A4xkD4g2jw4+oGG0e8G7x+3p3 wsnnbS6aNEG01vkofoatZG+Cx5LN1RShd9TDGpq6V/wfbSrTvrC4lEW2 X-Gm-Gg: AZuq6aLJL2dx+YTOD05ma2wOioZH289cPoYjQrwecpqwf/ja4ExtUe9E96TfRoiRvC3 7co8A3uUQeLGbqZ60rq0JqBRu6uYlEEEPqHy+362RWHUV3/ywGDSMCwdSv8MBXHpx9N21cxQDXu lEaJsOwd3lAvZ+CcFMPbon2iJoxaO/l1YNNUwxOPjk2I+XwgkOw8TwA4FoQuTBhHIxfKyGNIQdx fE0nXhv+B2LlUmcHCIzxgKZ85lGL534FYZdpqPgLbBEDga4FRyK76i5Mmh5j+HCiEecN8dhsqgc 6ufbczpFUBaH1M9qS+JqliKu7FYTrD7tZH40jOgjCLbvmzXKjrPfM+OSXiy1ibekNTpvAnZ8dHo b0mgLXS0zhUY23wixQNBFG7Adg3AotGAx7SyACM+QpQT4LHp7vvPdfxctwSunFYiUsS3/O0cnLk 3HKsfN0j60wi5L4hHdsLFifbKzwuMJ84Sg+A== X-Received: by 2002:a05:6a00:ac03:b0:7ff:f0c2:816e with SMTP id d2e1a72fcca58-823aa6ea4e5mr8829654b3a.28.1769945704450; Sun, 01 Feb 2026 03:35:04 -0800 (PST) Received: from Black-Pearl.localdomain ([115.99.252.105]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-82379c24083sm12994728b3a.55.2026.02.01.03.35.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 03:35:03 -0800 (PST) From: Charan Pedumuru Date: Sun, 01 Feb 2026 11:34:21 +0000 Subject: [PATCH 2/4] dt-bindings: usb: atmel,at91sam9g45-ehci: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260201-atmel-usb-v1-2-d1a3e93003f1@gmail.com> References: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> In-Reply-To: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert Atmel AT91SAM9G45 EHCI USB Host Controller binding to DT schema. Changes during conversion: - Include "usb-ehci" as a fallback compatible to allow atmel EHCI driver matching. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91sam9g45-ehci.yaml | 71 ++++++++++++++++++= ++++ 1 file changed, 71 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91sam9g45-ehci.y= aml b/Documentation/devicetree/bindings/usb/atmel,at91sam9g45-ehci.yaml new file mode 100644 index 000000000000..d7b8d110656c --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91sam9g45-ehci.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91sam9g45-ehci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91SAM9G45 EHCI USB Host Controller + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel AT91SAM9G45 EHCI controller is a high-speed USB 2.0 host + controller compliant with the EHCI specification. It provides USB host + functionality when operating in host mode and requires a peripheral clock + and a UTMI clock for operation. The controller may support multiple USB + ports, with the PHY interface type selectable via the phy_type property. + +allOf: + - $ref: /schemas/usb/usb.yaml# + +properties: + compatible: + oneOf: + - items: + - const: atmel,at91sam9g45-ehci + - const: usb-ehci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: ehci_clk + - const: usb_clk + + phy_type: + enum: + - utmi + - hsic + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + usb@500000 { + compatible =3D "atmel,at91sam9g45-ehci", "usb-ehci"; + reg =3D <0x00500000 0x100000>; + interrupts =3D <41 IRQ_TYPE_LEVEL_HIGH 2>; + clocks =3D <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERA= L 41>; + clock-names =3D "usb_clk", "ehci_clk"; + phy_type =3D "hsic"; + }; +... --=20 2.52.0 From nobody Sun Feb 8 05:53:27 2026 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFC45322522 for ; Sun, 1 Feb 2026 11:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945711; cv=none; b=APjI/vu3O+0f/eIZdfCB9vVEAEL75t6nolCr8wl6DO98YD7QpFJtnFtM1FeKKHRTvLVJxZIj/z1svH1d5zyziThc+7GEAnrz/t5kXJ8ZZq7tT1ApA+SayDUDdEm3Vg0sNAcwan94CjAAUvWqw+ZbdanYpXdZ8+WbIAvF4E3Gj48= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945711; c=relaxed/simple; bh=jRae6im2r158sMjMElzfH9wCVDLeo+Lu6vQSBwtPV1c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qD1rgCnfPRKUT1RhnFB1SXieN+ViVery2zip9YsrWIIa1Op4xNnEKHJWHGmj++vpcNWnQFve+JmYzRFt10QTSnwMJNz7s+W44jezFtEgjZodtGVMkSuDvFJfJOzSk3epFoz+Cn+tqFPuHMSm9Sv/mJ3LJJwRQHMwPIsvxZBCce4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DTSy9CLQ; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DTSy9CLQ" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-8230f8f27cfso1813936b3a.0 for ; Sun, 01 Feb 2026 03:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769945709; x=1770550509; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5XV4nvlQJllxGJymMNGffVCbvnmIzM3P7KoEHXDM6RU=; b=DTSy9CLQtkTW2ka5Q5Rg9MUMToFhBnrY0+lJmOsYZGfkomjCAwWAxSNIrtN9SPPEIu WU2+Q8qlM3DHAG/MQUTPcLbvdGRs+PD5ZinslfW2kASwxXDm894PE6QQwGDsymabVj4q e6I93d9y9EuKsI0Oh5NGzOZdDR7TLZsZEKRadpoAGVRh6JuPiSp0ftCfN5vQZSQ3c5ZB Sd6cUUOm6LqPdiNBI145VoetjxBmBjsymWxHwxSKXe1Sgf8QexsLHCD/pHPd8c02m+L5 RNqb576Zdne+tAUu2Dojzd/ePgVtI45jXJv1hWthYKpsXANwwLkQA7x9IJ0JPTt5qQFL zcNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769945709; x=1770550509; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=5XV4nvlQJllxGJymMNGffVCbvnmIzM3P7KoEHXDM6RU=; b=wMY4x5BP+k/xhyPWfzuHEJiEmwqRwcq7jMzOHvO9a1fxcSKt1nTBZ+llRo1r5G4l62 /K5J0YUZPQmc4TLHAdoP0r8lrTfQA+WVyeeC/SemHt0TjiP7ktiJjcZ1agiqMpo9U5pe Odd0FluN+F2izG7/rYlY2ut8elVJGNtlZlvHudONGMCBS6Myvz1aR535L9Yj5nIlnqNY TacoWO/1dePuVP5v7a+nIAnGSC2fL7Qaap+J4ezo0CTKhO6v7LfytRkAMqor9L2b8bGx bryB0a0eRm2nDx1CBtrKxHyMciRpt1Zr/VTn47YzlWMaOvi+wnrWS1/yaJ1xIKH7z84X u1Bg== X-Forwarded-Encrypted: i=1; AJvYcCXSAlcV+5f6+RHOb1y90lwt6O8bWkgoIF2impfGpooFLYDVDlfmG/OOJ/m0yLoRi0WE+BUCaVprWy3gbF0=@vger.kernel.org X-Gm-Message-State: AOJu0Yy9fofrgyKmvtJAsSw4D+LXXVPXnLIJ4+EHEhNjN0BjA6W6cnt4 IJMg8E/8+oVhfy0t50KXjCF3H0iIdcYitdTB/0SHpzrFoMj47Y3RhJ85 X-Gm-Gg: AZuq6aK1I7fdxuJF2tVCDoR/6xjfUH42SIC9ApSERoQ916s+DfWwjc/bVkYGV0yo2IW srJk7mjS57Gt7fqTN71bsUTyBDMp7k96O9ODRNCcoHshCmRqbyPWk9V2ntbXzDXL/8GcvIPdeNB iaQvSkGM8cqW4uMTW8vmFhYmoOY8Z+cI/ylcvtqZuWPMSU4viKUr2/OFQW29tOB7cGkmvkqgD8m lsgD2HRx/Jsq7hxZnHyxE8d/lqjVc8VCl1oA4vQnBZmTSRbgAoo6FRvSl/U82W62MvQDQb0c59A 1evpmcwk6qbRfnhF/JOeltMwdKUnARyriu02aR1oboQE4tkYNxU1+xGKfg1Yv0C1OTihCaUzNr7 e586FdARGUYWM0LBEC6s5KJVF4DpNX7YyolwYfJazIzPCT+Zg6/Dr8Gf+aQkxCE+6T7HPYvQFQ7 69H3NZBwcFbuT9mDugcItAetFmvrSDBV/yAg== X-Received: by 2002:a05:6a00:4286:b0:821:81ef:5de8 with SMTP id d2e1a72fcca58-823ab65359amr8617021b3a.12.1769945709102; Sun, 01 Feb 2026 03:35:09 -0800 (PST) Received: from Black-Pearl.localdomain ([115.99.252.105]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-82379c24083sm12994728b3a.55.2026.02.01.03.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 03:35:08 -0800 (PST) From: Charan Pedumuru Date: Sun, 01 Feb 2026 11:34:22 +0000 Subject: [PATCH 3/4] dt-bindings: usb: atmel,at91rm9200-udc: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260201-atmel-usb-v1-3-d1a3e93003f1@gmail.com> References: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> In-Reply-To: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert Atmel AT91 USB Device Controller (UDC) binding to DT schema. Changes during conversion: - Include "atmel,pullup-gpio" and "atmel,matrix" in the properties since they are required by existing in-tree DTS definitions. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91rm9200-udc.yaml | 77 ++++++++++++++++++= ++++ 1 file changed, 77 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91rm9200-udc.yam= l b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-udc.yaml new file mode 100644 index 000000000000..3af267c863e0 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91rm9200-udc.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91rm9200-udc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91 USB Device Controller (UDC) + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel AT91 USB Device Controller provides USB gadget (device-mode) + functionality on AT91 SoCs. It requires a peripheral clock and an AHB + clock for operation and may optionally control VBUS power through a GPIO. + +properties: + compatible: + enum: + - atmel,at91rm9200-udc + - atmel,at91sam9260-udc + - atmel,at91sam9261-udc + - atmel,at91sam9263-udc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: pclk + - const: hclk + + atmel,vbus-gpio: + description: GPIO used to enable or control VBUS power for the USB bus. + maxItems: 1 + + atmel,matrix: + $ref: /schemas/types.yaml#/definitions/phandle + description: Phandle to the Atmel bus matrix controller. + + atmel,pullup-gpio: + description: + GPIO controlling the USB D+ pull-up resistor used to signal device + connection to the host. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + gadget@fffa4000 { + compatible =3D "atmel,at91rm9200-udc"; + reg =3D <0xfffa4000 0x4000>; + interrupts =3D <10 4>; + clocks =3D <&udc_clk>, <&udpck>; + clock-names =3D "pclk", "hclk"; + atmel,vbus-gpio =3D <&pioC 5 GPIO_ACTIVE_HIGH>; + }; +... --=20 2.52.0 From nobody Sun Feb 8 05:53:27 2026 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF69432AAAB for ; Sun, 1 Feb 2026 11:35:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945718; cv=none; b=QhHmKx0OMxY0ShCOa24DJrk+YVJwKZIUhgLpoTDtaq355VJpol1F3sk4fFgeNiXykNWtnMzSaqMuqwRkvH/uYgOt0asRr319liCWdOY5VBgJYZUag3eiYbibrrW6x1GAA7m2wUb/lbTaB/DVJTT9YgzpctYCQH4tsD6F9FvGWcc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769945718; c=relaxed/simple; bh=2xjOo4rQYT1KaQC3tvCqFCwXg2yc/61LBfO4QH6BKsY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VoB8LkKcjNHTeN+1B1f0jsSDPHD4TaRjuR25RQTISYhNcZWNxgZ4G+bSGVVd4XFRO0UGLzwYJypo0mOvnhmtQOTFF0/oz6G4qja9PRsh695xYx6Z7p9HYA76BlpsXYCPSt4H6mTpWMXqWf13PU80OetMMIkWEPzgBLi+I8qi1/s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ybim5pxW; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ybim5pxW" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-81dbc0a99d2so1781869b3a.1 for ; Sun, 01 Feb 2026 03:35:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769945714; x=1770550514; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=CwiMlqn8zSWND/MaEGxRB1MrDjr/sEbwA0uoenl3eoE=; b=Ybim5pxWMfq03fGVIv3I691ZgVK1ld+kyr/NWAtj2ej/mi+H6g2OZOlQ5LDbKG+7mk wpUElM66DvA8ju4x8Qvi2CZvJ4kHmktgxQujs7uIfW1NqNylAsWjlm6uV9a6wsIYwCCx /Ps+5LJiBqb6YWgUoeWAKwI0gdj17TrBFOSMtqiiir3mUNaEcCq6tmjdttX2gUq/2YbG oCr5vaPjp6SFNek1JQvhJaW02N+viDHLV+koAS6msh6V7G91RZDxSsxquGVtfcaxMqkC Y8b85tBaCk0K9LHyo3iWowzetEdIfsTp0VLBblTg7m9KM/tH8ABLPMhPk0OvRXeKbNFo Qgxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769945714; x=1770550514; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=CwiMlqn8zSWND/MaEGxRB1MrDjr/sEbwA0uoenl3eoE=; b=UFMqikF8mTUbLhkdbnsnAFFTHFVrYl+ErrxzxjTh4/yuXL0Ms+WMUauuVPf86z3N5B y1H7+WPdH9dBN8q3uxeOuvgVPgXLm20eHXgDXnRVG1bT8jMPkxsecQ9znFm5FELpBLM0 04tjpNQU9Dzujv1gq0QDGD4A6PSteSLWm7JaCOzItHdmOMKoQUYIgMx8s1l2SQksQrP6 0I8DsrEqAg5ErlYx+WtvAPSXK3uvcnlJj+mkdO+3SeD+IswRDviFrGv0FtaZd4gCfo9C HPwK5JtyUidHCo30ZxGMUn/ELxuyMyL9kp3Mjxn6sa3q/Lgt6RAVypUigikL9+MFFyNw SxyA== X-Forwarded-Encrypted: i=1; AJvYcCWmhzRDc8uew3z+esCsYYxYiLTD+pYp0UIcTwLv702w+cwlF9hDz8/DCrGaaEg9A1oimEk6PkAvx2GYLNI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy6jZpgCEP1wW7ENaZ+1TmOwoQsd84XXVEOcnNN3ML/xU9Gj0Ww lp4+jJQMiwnfJGWReLFfYbiLYcal9EynuAaUc42QO9dvTiZu8BmeQq2D X-Gm-Gg: AZuq6aKxTXKi0JE2SCScicsQJRXTvNEzwv2VAe6Tybiruw/CQQwZdysswLTHlmZSTtj EbisNKYvLkNnkIWFojH21eUWS5qtnMQfuqfcgLksUEyanTbTBRXFmKcI2hsSDRNPFwqUQgc25TA KgfArubo/p6WnTsFjsR46ARp8wEJ0bF0jlKdoiAaeTpK4SXUZEwHqjQeOT008G1wyM3raQAC0Xe BH4OTDKJ0PSeUmlfGMZF+z37bGKyktjHL4a2HjaphT6awfEXMv58C0dAqhfeUH6v9pNhcEnLKeQ OKCUzhhsEDWnJfr/o5fCLMqyxpLMlGjjodqyHHxsWssQr8RQ8whfwmYzo6w6jS1CaXpZJiUNHlF qDYUhKTNpQY8Ml/SeyhomswtuaDTl4tAbvDi2iYuQrwyMKzufEfAkkC/TQGoAbKdnI2iCrVF47k CeD2dtPHDsVHw0H/jINF3agoqLjFTdqLqZQg== X-Received: by 2002:a05:6a00:430c:b0:81f:4769:6fde with SMTP id d2e1a72fcca58-823ab670cbbmr8524983b3a.17.1769945713898; Sun, 01 Feb 2026 03:35:13 -0800 (PST) Received: from Black-Pearl.localdomain ([115.99.252.105]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-82379c24083sm12994728b3a.55.2026.02.01.03.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 03:35:13 -0800 (PST) From: Charan Pedumuru Date: Sun, 01 Feb 2026 11:34:23 +0000 Subject: [PATCH 4/4] dt-bindings: usb: atmel,at91sam9rl-udc: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260201-atmel-usb-v1-4-d1a3e93003f1@gmail.com> References: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> In-Reply-To: <20260201-atmel-usb-v1-0-d1a3e93003f1@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Claudiu Beznea , Herve Codina , Nicolas Ferre , Alexandre Belloni Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert Atmel High-Speed USB Device Controller (USBA) binding to DT schema. Changes during conversion: - Include "#address-cells" and "#size-cells" in the properties since they are required by existing in-tree DTS definitions. Signed-off-by: Charan Pedumuru --- .../bindings/usb/atmel,at91sam9rl-udc.yaml | 81 +++++++++++++ .../devicetree/bindings/usb/atmel-usb.txt | 125 -----------------= ---- 2 files changed, 81 insertions(+), 125 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yam= l b/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yaml new file mode 100644 index 000000000000..6f5710cecaee --- /dev/null +++ b/Documentation/devicetree/bindings/usb/atmel,at91sam9rl-udc.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/atmel,at91sam9rl-udc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel High-Speed USB Device Controller (USBA) + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + +description: + The Atmel High-Speed USB Device Controller (USBA) provides USB 2.0 + high-speed gadget functionality on several Atmel and Microchip SoCs. + The controller requires a peripheral clock and a host clock for operation + and may optionally use a GPIO to detect VBUS presence. + +properties: + compatible: + oneOf: + - enum: + - atmel,at91sam9rl-udc + - atmel,at91sam9g45-udc + - atmel,sama5d3-udc + - items: + - const: microchip,lan9662-udc + - const: atmel,sama5d3-udc + - const: microchip,sam9x60-udc + + reg: + maxItems: 2 + + interrupts: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + minItems: 2 + maxItems: 2 + items: + enum: [pclk, hclk] + + atmel,vbus-gpio: + description: GPIO used to detect the presence of VBUS, indicating that + the USB cable is connected. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + gadget@fff78000 { + compatible =3D "atmel,at91sam9g45-udc"; + reg =3D <0x00600000 0x80000 + 0xfff78000 0x400>; + interrupts =3D <27 IRQ_TYPE_LEVEL_HIGH 0>; + clocks =3D <&pmc PMC_TYPE_PERIPHERAL 27>, <&pmc PMC_TYPE_CORE PMC_= UTMI>; + clock-names =3D "pclk", "hclk"; + atmel,vbus-gpio =3D <&pioC 15 GPIO_ACTIVE_HIGH>; + }; +... diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Document= ation/devicetree/bindings/usb/atmel-usb.txt deleted file mode 100644 index 12183ef47ee4..000000000000 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ /dev/null @@ -1,125 +0,0 @@ -Atmel SOC USB controllers - -OHCI - -Required properties: - - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers - used in host mode. - - reg: Address and length of the register set for the device - - interrupts: Should contain ohci interrupt - - clocks: Should reference the peripheral, host and system clocks - - clock-names: Should contain three strings - "ohci_clk" for the peripheral clock - "hclk" for the host clock - "uhpck" for the system clock - - num-ports: Number of ports. - - atmel,vbus-gpio: If present, specifies a gpio that needs to be - activated for the bus to be powered. - - atmel,oc-gpio: If present, specifies a gpio that needs to be - activated for the overcurrent detection. - -usb0: ohci@500000 { - compatible =3D "atmel,at91rm9200-ohci", "usb-ohci"; - reg =3D <0x00500000 0x100000>; - clocks =3D <&uhphs_clk>, <&uhphs_clk>, <&uhpck>; - clock-names =3D "ohci_clk", "hclk", "uhpck"; - interrupts =3D <20 4>; - num-ports =3D <2>; -}; - -EHCI - -Required properties: - - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers - used in host mode. - - reg: Address and length of the register set for the device - - interrupts: Should contain ehci interrupt - - clocks: Should reference the peripheral and the UTMI clocks - - clock-names: Should contain two strings - "ehci_clk" for the peripheral clock - "usb_clk" for the UTMI clock - -Optional properties: - - phy_type : For multi port host USB controllers, should be one of - "utmi", or "hsic". - -usb1: ehci@800000 { - compatible =3D "atmel,at91sam9g45-ehci", "usb-ehci"; - reg =3D <0x00800000 0x100000>; - interrupts =3D <22 4>; - clocks =3D <&utmi>, <&uhphs_clk>; - clock-names =3D "usb_clk", "ehci_clk"; -}; - -AT91 USB device controller - -Required properties: - - compatible: Should be one of the following - "atmel,at91rm9200-udc" - "atmel,at91sam9260-udc" - "atmel,at91sam9261-udc" - "atmel,at91sam9263-udc" - - reg: Address and length of the register set for the device - - interrupts: Should contain macb interrupt - - clocks: Should reference the peripheral and the AHB clocks - - clock-names: Should contain two strings - "pclk" for the peripheral clock - "hclk" for the AHB clock - -Optional properties: - - atmel,vbus-gpio: If present, specifies a gpio that needs to be - activated for the bus to be powered. - -usb1: gadget@fffa4000 { - compatible =3D "atmel,at91rm9200-udc"; - reg =3D <0xfffa4000 0x4000>; - interrupts =3D <10 4>; - clocks =3D <&udc_clk>, <&udpck>; - clock-names =3D "pclk", "hclk"; - atmel,vbus-gpio =3D <&pioC 5 0>; -}; - -Atmel High-Speed USB device controller - -Required properties: - - compatible: Should be one of the following - "atmel,at91sam9rl-udc" - "atmel,at91sam9g45-udc" - "atmel,sama5d3-udc" - "microchip,sam9x60-udc" - "microchip,lan9662-udc" - For "microchip,lan9662-udc" the fallback "atmel,sama5d3-udc" - is required. - - reg: Address and length of the register set for the device - - interrupts: Should contain usba interrupt - - clocks: Should reference the peripheral and host clocks - - clock-names: Should contain two strings - "pclk" for the peripheral clock - "hclk" for the host clock - -Deprecated property: - - ep childnode: To specify the number of endpoints and their properties. - -Optional properties: - - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whe= ther - vbus is present (USB is connected). - -Deprecated child node properties: - - name: Name of the endpoint. - - reg: Num of the endpoint. - - atmel,fifo-size: Size of the fifo. - - atmel,nb-banks: Number of banks. - - atmel,can-dma: Boolean to specify if the endpoint support DMA. - - atmel,can-isoc: Boolean to specify if the endpoint support ISOC. - -usb2: gadget@fff78000 { - #address-cells =3D <1>; - #size-cells =3D <0>; - compatible =3D "atmel,at91sam9rl-udc"; - reg =3D <0x00600000 0x80000 - 0xfff78000 0x400>; - interrupts =3D <27 4 0>; - clocks =3D <&utmi>, <&udphs_clk>; - clock-names =3D "hclk", "pclk"; - atmel,vbus-gpio =3D <&pioB 19 0>; -}; --=20 2.52.0