Skip to content

Commit 2ca0945

Browse files
Peter Ujfalusitmlind
authored andcommitted
ARM: DTS: dra7/dra7xx-clocks: ATL related changes
Modify the clock nodes for the ATL clocks to use the ATL clock driver to handle them. Add the ATL device node at the same time for DRA7. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent b7196ab commit 2ca0945

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

arch/arm/boot/dts/dra7.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,17 @@
984984
#size-cells = <1>;
985985
status = "disabled";
986986
};
987+
988+
atl: atl@4843c000 {
989+
compatible = "ti,dra7-atl";
990+
reg = <0x4843c000 0x3ff>;
991+
ti,hwmods = "atl";
992+
ti,provided-clocks = <&atl_clkin0_ck>, <&atl_clkin1_ck>,
993+
<&atl_clkin2_ck>, <&atl_clkin3_ck>;
994+
clocks = <&atl_gfclk_mux>;
995+
clock-names = "fck";
996+
status = "disabled";
997+
};
987998
};
988999
};
9891000

arch/arm/boot/dts/dra7xx-clocks.dtsi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
&cm_core_aon_clocks {
1111
atl_clkin0_ck: atl_clkin0_ck {
1212
#clock-cells = <0>;
13-
compatible = "fixed-clock";
14-
clock-frequency = <0>;
13+
compatible = "ti,dra7-atl-clock";
14+
clocks = <&atl_gfclk_mux>;
1515
};
1616

1717
atl_clkin1_ck: atl_clkin1_ck {
1818
#clock-cells = <0>;
19-
compatible = "fixed-clock";
20-
clock-frequency = <0>;
19+
compatible = "ti,dra7-atl-clock";
20+
clocks = <&atl_gfclk_mux>;
2121
};
2222

2323
atl_clkin2_ck: atl_clkin2_ck {
2424
#clock-cells = <0>;
25-
compatible = "fixed-clock";
26-
clock-frequency = <0>;
25+
compatible = "ti,dra7-atl-clock";
26+
clocks = <&atl_gfclk_mux>;
2727
};
2828

2929
atl_clkin3_ck: atl_clkin3_ck {
3030
#clock-cells = <0>;
31-
compatible = "fixed-clock";
32-
clock-frequency = <0>;
31+
compatible = "ti,dra7-atl-clock";
32+
clocks = <&atl_gfclk_mux>;
3333
};
3434

3535
hdmi_clkin_ck: hdmi_clkin_ck {

0 commit comments

Comments
 (0)