xref: /freebsd-src/sys/contrib/device-tree/src/mips/mobileye/eyeq6h-fixed-clocks.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot/*
3*0e8011faSEmmanuel Vadot * Copyright 2023 Mobileye Vision Technologies Ltd.
4*0e8011faSEmmanuel Vadot */
5*0e8011faSEmmanuel Vadot
6*0e8011faSEmmanuel Vadot#include <dt-bindings/clock/mobileye,eyeq5-clk.h>
7*0e8011faSEmmanuel Vadot
8*0e8011faSEmmanuel Vadot/ {
9*0e8011faSEmmanuel Vadot	xtal: clock-30000000 {
10*0e8011faSEmmanuel Vadot		compatible = "fixed-clock";
11*0e8011faSEmmanuel Vadot		#clock-cells = <0>;
12*0e8011faSEmmanuel Vadot		clock-frequency = <30000000>;
13*0e8011faSEmmanuel Vadot	};
14*0e8011faSEmmanuel Vadot
15*0e8011faSEmmanuel Vadot	pll_west: clock-2000000000-west {
16*0e8011faSEmmanuel Vadot		compatible = "fixed-clock";
17*0e8011faSEmmanuel Vadot		#clock-cells = <0>;
18*0e8011faSEmmanuel Vadot		clock-frequency = <2000000000>;
19*0e8011faSEmmanuel Vadot	};
20*0e8011faSEmmanuel Vadot
21*0e8011faSEmmanuel Vadot	pll_cpu: clock-2000000000-cpu {
22*0e8011faSEmmanuel Vadot		compatible = "fixed-clock";
23*0e8011faSEmmanuel Vadot		#clock-cells = <0>;
24*0e8011faSEmmanuel Vadot		clock-frequency = <2000000000>;
25*0e8011faSEmmanuel Vadot	};
26*0e8011faSEmmanuel Vadot
27*0e8011faSEmmanuel Vadot	/* pll-cpu derivatives */
28*0e8011faSEmmanuel Vadot	occ_cpu: clock-2000000000-occ-cpu {
29*0e8011faSEmmanuel Vadot		compatible = "fixed-factor-clock";
30*0e8011faSEmmanuel Vadot		clocks = <&pll_cpu>;
31*0e8011faSEmmanuel Vadot		#clock-cells = <0>;
32*0e8011faSEmmanuel Vadot		clock-div = <1>;
33*0e8011faSEmmanuel Vadot		clock-mult = <1>;
34*0e8011faSEmmanuel Vadot	};
35*0e8011faSEmmanuel Vadot
36*0e8011faSEmmanuel Vadot	/* pll-west derivatives */
37*0e8011faSEmmanuel Vadot	occ_periph_w: clock-200000000 {
38*0e8011faSEmmanuel Vadot		compatible = "fixed-factor-clock";
39*0e8011faSEmmanuel Vadot		clocks = <&pll_west>;
40*0e8011faSEmmanuel Vadot		#clock-cells = <0>;
41*0e8011faSEmmanuel Vadot		clock-div = <10>;
42*0e8011faSEmmanuel Vadot		clock-mult = <1>;
43*0e8011faSEmmanuel Vadot	};
44*0e8011faSEmmanuel Vadot	uart_clk: clock-200000000-uart {
45*0e8011faSEmmanuel Vadot		compatible = "fixed-factor-clock";
46*0e8011faSEmmanuel Vadot		clocks = <&occ_periph_w>;
47*0e8011faSEmmanuel Vadot		#clock-cells = <0>;
48*0e8011faSEmmanuel Vadot		clock-div = <1>;
49*0e8011faSEmmanuel Vadot		clock-mult = <1>;
50*0e8011faSEmmanuel Vadot	};
51*0e8011faSEmmanuel Vadot
52*0e8011faSEmmanuel Vadot};
53