diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2022-07-12 12:42:06 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-07-25 13:02:04 -0400 |
commit | ffa792871927ef9b646a119a9cf832fa4a0212a6 (patch) | |
tree | 0cde44daa5362e20a5c404c57ae5661d325970b3 /arch/arm/dts/sdm845.dtsi | |
parent | 866985b7e6fd91ecfd17229d1a35cb21c281a0b7 (diff) |
clocks: sdm845: Import qcom,gcc-sdm845.h
Rather than using magic numbers as clock ids for peripherals import
qcom,gcc-sdm845.h from Linux to be used standard macros for clock ids.
So start using corresponding clk-id macro for debug UART.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'arch/arm/dts/sdm845.dtsi')
-rw-r--r-- | arch/arm/dts/sdm845.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/dts/sdm845.dtsi b/arch/arm/dts/sdm845.dtsi index 88030156d9..b9506f1297 100644 --- a/arch/arm/dts/sdm845.dtsi +++ b/arch/arm/dts/sdm845.dtsi @@ -8,6 +8,7 @@ /dts-v1/; +#include <dt-bindings/clock/qcom,gcc-sdm845.h> #include "skeleton64.dtsi" / { @@ -55,7 +56,7 @@ reg = <0xa84000 0x4000>; reg-names = "se_phys"; clock-names = "se-clk"; - clocks = <&gcc 0x58>; + clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; pinctrl-names = "default"; pinctrl-0 = <&qup_uart9>; qcom,wrapper-core = <0x8a>; |