diff options
author | Tony Lindgren <tony@atomide.com> | 2022-04-29 09:57:36 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2022-05-03 09:15:44 +0300 |
commit | b508079bf2dca43995eb2cfa2aef5a4e7d82d2e6 (patch) | |
tree | 015a655480960d6e3f9956b09be8e098371a40da /arch/arm/boot/dts/omap36xx-clocks.dtsi | |
parent | 32169e7ef4be5cb3af7c2c32fde9e07171b4c80b (diff) | |
download | linux-b508079bf2dca43995eb2cfa2aef5a4e7d82d2e6.tar.bz2 |
ARM: dts: Group omap3 CM_FCLKEN_PER clocks
The clksel related registers on omap3 cause unique_unit_address and
node_name_chars_strict warnings with the W=1 or W=2 make flags enabled.
With the clock drivers updated, we can now avoid most of these warnings
by grouping the TI component clocks using the TI clksel binding, and
with the use of clock-output-names property to avoid non-standard node
names for the clocks.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap36xx-clocks.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap36xx-clocks.dtsi | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/omap36xx-clocks.dtsi b/arch/arm/boot/dts/omap36xx-clocks.dtsi index 4e9cc9003594..c5fdb2bd765d 100644 --- a/arch/arm/boot/dts/omap36xx-clocks.dtsi +++ b/arch/arm/boot/dts/omap36xx-clocks.dtsi @@ -58,12 +58,19 @@ ti,set-bit-to-disable; }; - uart4_fck: uart4_fck@1000 { - #clock-cells = <0>; - compatible = "ti,wait-gate-clock"; - clocks = <&per_48m_fck>; + clock@1000 { + compatible = "ti,clksel"; reg = <0x1000>; - ti,bit-shift = <18>; + #clock-cells = <2>; + #address-cells = <0>; + + uart4_fck: clock-uart4-fck { + #clock-cells = <0>; + compatible = "ti,wait-gate-clock"; + clock-output-names = "uart4_fck"; + clocks = <&per_48m_fck>; + ti,bit-shift = <18>; + }; }; }; |