* [PATCH] ARM: dts: nuvoton: Add OHCI node
@ 2024-09-30 21:43 William A. Kennington III
2024-10-02 3:09 ` Andrew Jeffery
0 siblings, 1 reply; 2+ messages in thread
From: William A. Kennington III @ 2024-09-30 21:43 UTC (permalink / raw)
To: Tomer Maimon, Rob Herring
Cc: devicetree, linux-kernel, openbmc, William A. Kennington III
From: "William A. Kennington III" <wak@google.com>
The EHCI peripheral already exists in the devicetree, but the hardware
also supports a discrete OHCI unit on the same USB PHY. Generic OHCI
works fine for this device already and has been tested on real hardware.
Signed-off-by: William A. Kennington III <wak@google.com>
---
arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
index 358b52894ac0..5aeb5009a5d7 100644
--- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
@@ -142,6 +142,13 @@ gmac0: eth@f0802000 {
status = "disabled";
};
+ ohci1: ohci@f0807000 {
+ compatible = "generic-ohci";
+ reg = <0xf0807000 0x1000>;
+ interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
ehci1: usb@f0806000 {
compatible = "nuvoton,npcm750-ehci";
reg = <0xf0806000 0x1000>;
--
2.46.1.824.gd892dcdcdd-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ARM: dts: nuvoton: Add OHCI node
2024-09-30 21:43 [PATCH] ARM: dts: nuvoton: Add OHCI node William A. Kennington III
@ 2024-10-02 3:09 ` Andrew Jeffery
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Jeffery @ 2024-10-02 3:09 UTC (permalink / raw)
To: William A. Kennington III, Tomer Maimon, Rob Herring
Cc: devicetree, openbmc, linux-kernel, William A. Kennington III
Hi William,
On Mon, 2024-09-30 at 14:43 -0700, William A. Kennington III wrote:
> From: "William A. Kennington III" <wak@google.com>
>
> The EHCI peripheral already exists in the devicetree, but the hardware
> also supports a discrete OHCI unit on the same USB PHY. Generic OHCI
> works fine for this device already and has been tested on real hardware.
>
> Signed-off-by: William A. Kennington III <wak@google.com>
> ---
> arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
> index 358b52894ac0..5aeb5009a5d7 100644
> --- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
> +++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
> @@ -142,6 +142,13 @@ gmac0: eth@f0802000 {
> status = "disabled";
> };
>
> + ohci1: ohci@f0807000 {
I got an additional warning here too:
+/home/andrew/src/kernel.org/linux/origin/build.multi_v5/arch/arm/boot/dts/nuvoton/nuvoton-npcm750-evb.dtb: ohci@f0807000: $nodename:0: 'ohci@f0807000' does not match '^usb(@.*)?'
+ from schema $id: http://devicetree.org/schemas/usb/generic-ohci.yaml#
Andrew
> + compatible = "generic-ohci";
> + reg = <0xf0807000 0x1000>;
> + interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> +
> ehci1: usb@f0806000 {
> compatible = "nuvoton,npcm750-ehci";
> reg = <0xf0806000 0x1000>;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-02 3:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 21:43 [PATCH] ARM: dts: nuvoton: Add OHCI node William A. Kennington III
2024-10-02 3:09 ` Andrew Jeffery
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox