diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2024-02-26 17:26:39 +0000 |
---|---|---|
committer | Caleb Connolly <caleb.connolly@linaro.org> | 2024-03-01 14:52:49 +0000 |
commit | 5566bb447647bc155d06fad852db4ba3006d9329 (patch) | |
tree | df5d957c3726cb54408922191fc14104e89277e0 /arch | |
parent | 0d80f44c644aed766cc26fbb201e1c1a38bca924 (diff) | |
download | u-boot-5566bb447647bc155d06fad852db4ba3006d9329.zip u-boot-5566bb447647bc155d06fad852db4ba3006d9329.tar.gz u-boot-5566bb447647bc155d06fad852db4ba3006d9329.tar.bz2 |
dts: dragonboard820c: use correct bindings for clocks
Don't use hardcoded clock IDs, use the IDs from the dt-bindings to be
compatible with upstream.
Taken from kernel tag v6.7
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/dragonboard820c.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/dts/dragonboard820c.dts b/arch/arm/dts/dragonboard820c.dts index 86b7f83..282c37e 100644 --- a/arch/arm/dts/dragonboard820c.dts +++ b/arch/arm/dts/dragonboard820c.dts @@ -8,6 +8,7 @@ /dts-v1/; #include "skeleton64.dtsi" +#include <dt-bindings/clock/qcom,gcc-msm8996.h> / { model = "Qualcomm Technologies, Inc. DB820c"; @@ -78,7 +79,7 @@ blsp2_uart2: serial@75b0000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x75b0000 0x1000>; - clocks = <&gcc 4>; + clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>; clock-names = "core"; pinctrl-names = "uart"; pinctrl-0 = <&blsp8_uart>; @@ -89,7 +90,7 @@ reg = <0x74a4900 0x314>, <0x74a4000 0x800>; index = <0x0>; bus-width = <4>; - clock = <&gcc 0>; + clock = <&gcc GCC_SDCC1_APPS_CLK>; clock-frequency = <200000000>; }; |