[PATCH] at91sam9g20.dtsi: set correct USB clock divisors

Andrey Yurovsky yurovsky at gmail.com
Wed Oct 26 10:43:31 PDT 2016


The AT91SAM9G20 has different clock divisors from the otherwise similar
AT91SAM9260. Set them in at91sam9g20.dtsi so that all AT91SAM9G20 users set up
the USB host controller clocks correctly.

Signed-off-by: Andrey Yurovsky <yurovsky at gmail.com>
---
 arch/arm/boot/dts/at91sam9g20.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi
index f593016..6c4488c 100644
--- a/arch/arm/boot/dts/at91sam9g20.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20.dtsi
@@ -62,6 +62,10 @@
 					atmel,clk-output-range = <0 133000000>;
 					atmel,clk-divisors = <1 2 4 6>;
 				};
+
+				usb: usbck {
+					atmel,clk-divisors = <4 2 0 0>;
+				};
 			};
 		};
 	};
-- 
2.7.4




More information about the linux-arm-kernel mailing list