[PATCH 3/4] ARM: dts: at91: rm9200: fix usb device clk id

Michael Grzeschik m.grzeschik at pengutronix.de
Thu Nov 3 12:57:29 PDT 2022


Referring to the datasheet the index 2 is the MCKUDP. When enabled, it;
"Enables the automatic disable of the Master Clock of the USB Device
Port when a suspend condition occurs". We fix the index to the real UDP
id which; "Enables the 48 MHz clock of the USB Device Port".

Cc: nicolas.ferre at microchip.com
Cc: ludovic.desroches at microchip.com
Cc: alexandre.belloni at bootlin.com
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
---
 arch/arm/boot/dts/at91rm9200.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi
index 7a113325abb9ed..6f9004ebf42456 100644
--- a/arch/arm/boot/dts/at91rm9200.dtsi
+++ b/arch/arm/boot/dts/at91rm9200.dtsi
@@ -666,7 +666,7 @@ usb1: gadget at fffb0000 {
 				compatible = "atmel,at91rm9200-udc";
 				reg = <0xfffb0000 0x4000>;
 				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
-				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>, <&pmc PMC_TYPE_SYSTEM 2>;
+				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>, <&pmc PMC_TYPE_SYSTEM 1>;
 				clock-names = "pclk", "hclk";
 				status = "disabled";
 			};
-- 
2.30.2




More information about the linux-arm-kernel mailing list