mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
ARM64: dts: rockchip: configure clock frequency for rk3399 tsadc
As the rk3399 SoCs requires initial configuration for tsadc clock frequency. The tsadc can be specified in a device tree node through assigned-clocks. The tsadc clock needs 500KHz~800KHz frequency to work on rk3399 SoCs. We can add the assigned-clock to prevent the firmware or loader has *not* set the division frequency from the source clock. Change-Id: Ieb4cd5aad7d299baab20a9fb9d39211fe00896ff Signed-off-by: Caesar Wang <wxt@rock-chips.com>
This commit is contained in:
@@ -688,6 +688,8 @@
|
||||
rockchip,grf = <&grf>;
|
||||
clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
|
||||
clock-names = "tsadc", "apb_pclk";
|
||||
assigned-clocks = <&cru SCLK_TSADC>;
|
||||
assigned-clock-rates = <750000>;
|
||||
resets = <&cru SRST_TSADC>;
|
||||
reset-names = "tsadc-apb";
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
|
||||
Reference in New Issue
Block a user