aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2017-05-14 02:16:14 +0300
committerSimon Horman <[email protected]>2017-05-22 14:54:51 +0200
commitdee3978e96a99a48dc14cea9e55aaaa05e0f287e (patch)
treeef1e7866627151bd2fbf2abf1aaff11ee8223f03
parent12daaf78a723ef7cb7ec46bc604844f31111bc7b (diff)
arm64: dts: renesas: salvator-x: Add DU external dot clock sources
The DU1 and DU2 external dot clocks are fixed frequency clock generators running at 33MHz, while the DU0 and DU3 external dot clocks are generated by an I2C-controlled programmable clock generator. All those clock generators are available on both the H3 and M3-W Salvator-X boards. Add them to the salvator-x.dtsi file. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
-rw-r--r--arch/arm64/boot/dts/renesas/salvator-x.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
index 7240bcd75918..35cd7e367234 100644
--- a/arch/arm64/boot/dts/renesas/salvator-x.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
@@ -198,6 +198,25 @@
#clock-cells = <0>;
clock-frequency = <24576000>;
};
+
+ /* External DU dot clocks */
+ x21_clk: x21-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <33000000>;
+ };
+
+ x22_clk: x22-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <33000000>;
+ };
+
+ x23_clk: x23-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <25000000>;
+ };
};
&audio_clk_a {
@@ -296,6 +315,14 @@
&i2c4 {
status = "okay";
+ versaclock5: clock-generator@6a {
+ compatible = "idt,5p49v5923";
+ reg = <0x6a>;
+ #clock-cells = <1>;
+ clocks = <&x23_clk>;
+ clock-names = "xin";
+ };
+
csa_vdd: adc@7c {
compatible = "maxim,max9611";
reg = <0x7c>;