diff options
author | Chen-Yu Tsai <wens@csie.org> | 2020-01-06 16:59:33 +0800 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-01-06 23:24:05 +0100 |
commit | 765866edb16a3c2117c681977e3c64f9f62f2099 (patch) | |
tree | 4ed894ac4be719dee9580b50e466e446820c5052 /arch/arm/boot/dts/sun5i.dtsi | |
parent | 60d0426d7603e72329345060c52cc20154f32a4b (diff) |
ARM: dts: sunxi: Use macros for references to CCU clocks
A few clocks from the CCU were exported later, and references to them in
the device tree were using raw numbers.
Now that the DT binding header changes are in as well, switch to the
macros for more clarity.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'arch/arm/boot/dts/sun5i.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun5i.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 9f0b645fd45e..0b526e6e5a95 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi @@ -185,7 +185,7 @@ mbus: dram-controller@1c01000 { compatible = "allwinner,sun5i-a13-mbus"; reg = <0x01c01000 0x1000>; - clocks = <&ccu 99>; + clocks = <&ccu CLK_MBUS>; dma-ranges = <0x00000000 0x40000000 0x20000000>; #interconnect-cells = <1>; }; |