arm/boot/dts/at91sam9260.dtsi USB clock divisors and AT91SAM9G20
Andrey Yurovsky
yurovsky at gmail.com
Tue Oct 25 10:49:01 PDT 2016
I'm working at an AT91SAM9G20 on which the USB clock divisor was wrong
and traced the issue down to arm/boot/dts/at91sam9260.dtsi which is
included like this:
at91sam9g20ek_common.dtsi
at91sam9g20.dtsi
at91sam9260.dtsi
This has a node:
usb: usbck {
compatible = "atmel,at91rm9200-clk-usb";
#clock-cells = <0>;
atmel,clk-divisors = <1 2 4 0>;
clocks = <&pllb>;
};
However the G20 parts seem to need a different divisor, for me this works:
usb: usbck {
compatible = "atmel,at91rm9200-clk-usb";
#clock-cells = <0>;
atmel,clk-divisors = <4 2 0 0>;
clocks = <&pllb>;
};
Should the USB clock node be moved to a separate .dtsi file to account
for this difference?
More information about the linux-arm-kernel
mailing list