Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: Andrea della Porta <andrea.porta@suse.com>,
	Peter Robinson <pbrobinson@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Stefan Wahren <wahrenst@gmx.net>,
	Phil Elwell <phil@raspberrypi.com>,
	devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	Dave Stevenson <dave.stevenson@raspberrypi.com>
Subject: Re: [PATCH 3/3] arm64: dts: broadcom: bcm2712: Add USB OTG port
Date: Thu, 3 Sep 2026 13:10:06 -0700	[thread overview]
Message-ID: <754d7b80-c776-4c38-bc47-301a3e69fa7d@broadcom.com> (raw)
In-Reply-To: <apl57BlWIkOWjWAu@apocalypse>

On 9/3/26 06:45, Andrea della Porta wrote:
> Hi Peter,
> 
> On 15:50 Sun 02 Aug     , Peter Robinson wrote:
>> The Raspberry Pi 5 has a USB2 OTG port wired up to the
>> Type-C that uses the same IP in earlier generations so
>> wire this up so it can be used.
>>
>> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>> Cc: Florian Fainelli <florian.fainelli@broadcom.com>
>> Cc: Dave Stevenson <dave.stevenson@raspberrypi.com
>> ---
>>   .../dts/broadcom/bcm2712-rpi-5-b-base.dtsi    |  6 +++++
>>   arch/arm64/boot/dts/broadcom/bcm2712.dtsi     | 25 +++++++++++++++++++
>>   2 files changed, 31 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi
>> index d998bfae91acb..e5030da60f9e7 100644
>> --- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi
>> +++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi
>> @@ -3,6 +3,7 @@
>>   
>>   #include <dt-bindings/gpio/gpio.h>
>>   #include <dt-bindings/input/input.h>
>> +#include <dt-bindings/power/raspberrypi-power.h>
>>   #include "bcm2712.dtsi"
>>   
>>   / {
>> @@ -239,6 +240,11 @@ bluetooth: bluetooth {
>>   	};
>>   };
>>   
>> +&usb {
>> +	power-domains = <&power RPI_POWER_DOMAIN_USB>;
>> +	status = "okay";
>> +};
>> +
>>   &hvs {
>>   	clocks = <&firmware_clocks 4>, <&firmware_clocks 16>;
>>   	clock-names = "core", "disp";
>> diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
>> index c73ed9e066662..f650a5cd8462d 100644
>> --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
>> +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
>> @@ -55,6 +55,13 @@ clk_sw_baud: clk-sw-baud {
>>   			clock-frequency = <96000000>;
>>   			clock-output-names = "sw-baud";
>>   		};
>> +
>> +		clk_usb: clk-usb {
>> +			compatible = "fixed-clock";
>> +			#clock-cells = <0>;
>> +			clock-frequency = <480000000>;
>> +			clock-output-names = "otg";
>> +		};
>>   	};
>>   
>>   	cpus: cpus {
>> @@ -693,6 +700,19 @@ v3d: gpu@1002000000 {
>>   			interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
>>   				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
>>   		};
>> +
>> +		usb: usb@100480000 {
> 
> Please fill in the missing 0 in the unit number. Apart from that, LGTM.

Took care of that while applying, good catch!
-- 
Florian


  reply	other threads:[~2026-09-03 20:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-02 14:50 [PATCH 0/3] Some minor RPi5 bits Peter Robinson
2026-08-02 14:50 ` [PATCH 1/3] arm64: dts: broadcom: bcm2712: add arm PMU Peter Robinson
2026-09-03 14:28   ` Andrea della Porta
2026-08-02 14:50 ` [PATCH 2/3] arm64: dts: broadcom: bcm2712: Add thermal monitor Peter Robinson
2026-09-03 13:46   ` Andrea della Porta
2026-09-03 18:42     ` Peter Robinson
2026-09-03 18:47       ` Stefan Wahren
2026-09-03 18:55         ` Florian Fainelli
2026-09-03 20:55           ` Peter Robinson
2026-09-03 21:17             ` Florian Fainelli
2026-09-03 21:34               ` Peter Robinson
2026-08-02 14:50 ` [PATCH 3/3] arm64: dts: broadcom: bcm2712: Add USB OTG port Peter Robinson
2026-09-03 13:45   ` Andrea della Porta
2026-09-03 20:10     ` Florian Fainelli [this message]
2026-09-02  8:49 ` [PATCH 0/3] Some minor RPi5 bits Peter Robinson
2026-09-03 20:09 ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=754d7b80-c776-4c38-bc47-301a3e69fa7d@broadcom.com \
    --to=florian.fainelli@broadcom.com \
    --cc=andrea.porta@suse.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=pbrobinson@gmail.com \
    --cc=phil@raspberrypi.com \
    --cc=robh@kernel.org \
    --cc=wahrenst@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox