xref: /freebsd/sys/contrib/device-tree/Bindings/clock/nxp,imx95-display-master-csr.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7d0873ebSEmmanuel Vadot%YAML 1.2
3*7d0873ebSEmmanuel Vadot---
4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/nxp,imx95-display-master-csr.yaml#
5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7d0873ebSEmmanuel Vadot
7*7d0873ebSEmmanuel Vadottitle: NXP i.MX95 Display Master Block Control
8*7d0873ebSEmmanuel Vadot
9*7d0873ebSEmmanuel Vadotmaintainers:
10*7d0873ebSEmmanuel Vadot  - Peng Fan <peng.fan@nxp.com>
11*7d0873ebSEmmanuel Vadot
12*7d0873ebSEmmanuel Vadotproperties:
13*7d0873ebSEmmanuel Vadot  compatible:
14*7d0873ebSEmmanuel Vadot    items:
15*7d0873ebSEmmanuel Vadot      - const: nxp,imx95-display-master-csr
16*7d0873ebSEmmanuel Vadot      - const: syscon
17*7d0873ebSEmmanuel Vadot
18*7d0873ebSEmmanuel Vadot  reg:
19*7d0873ebSEmmanuel Vadot    maxItems: 1
20*7d0873ebSEmmanuel Vadot
21*7d0873ebSEmmanuel Vadot  power-domains:
22*7d0873ebSEmmanuel Vadot    maxItems: 1
23*7d0873ebSEmmanuel Vadot
24*7d0873ebSEmmanuel Vadot  clocks:
25*7d0873ebSEmmanuel Vadot    maxItems: 1
26*7d0873ebSEmmanuel Vadot
27*7d0873ebSEmmanuel Vadot  '#clock-cells':
28*7d0873ebSEmmanuel Vadot    const: 1
29*7d0873ebSEmmanuel Vadot    description:
30*7d0873ebSEmmanuel Vadot      The clock consumer should specify the desired clock by having the clock
31*7d0873ebSEmmanuel Vadot      ID in its "clocks" phandle cell. See
32*7d0873ebSEmmanuel Vadot      include/dt-bindings/clock/nxp,imx95-clock.h
33*7d0873ebSEmmanuel Vadot
34*7d0873ebSEmmanuel Vadot  mux-controller:
35*7d0873ebSEmmanuel Vadot    type: object
36*7d0873ebSEmmanuel Vadot    $ref: /schemas/mux/reg-mux.yaml
37*7d0873ebSEmmanuel Vadot
38*7d0873ebSEmmanuel Vadotrequired:
39*7d0873ebSEmmanuel Vadot  - compatible
40*7d0873ebSEmmanuel Vadot  - reg
41*7d0873ebSEmmanuel Vadot  - '#clock-cells'
42*7d0873ebSEmmanuel Vadot  - mux-controller
43*7d0873ebSEmmanuel Vadot  - power-domains
44*7d0873ebSEmmanuel Vadot  - clocks
45*7d0873ebSEmmanuel Vadot
46*7d0873ebSEmmanuel VadotadditionalProperties: false
47*7d0873ebSEmmanuel Vadot
48*7d0873ebSEmmanuel Vadotexamples:
49*7d0873ebSEmmanuel Vadot  - |
50*7d0873ebSEmmanuel Vadot    syscon@4c410000 {
51*7d0873ebSEmmanuel Vadot      compatible = "nxp,imx95-display-master-csr", "syscon";
52*7d0873ebSEmmanuel Vadot      reg = <0x4c410000 0x10000>;
53*7d0873ebSEmmanuel Vadot      #clock-cells = <1>;
54*7d0873ebSEmmanuel Vadot      clocks = <&scmi_clk 62>;
55*7d0873ebSEmmanuel Vadot      power-domains = <&scmi_devpd 3>;
56*7d0873ebSEmmanuel Vadot
57*7d0873ebSEmmanuel Vadot      mux: mux-controller {
58*7d0873ebSEmmanuel Vadot        compatible = "mmio-mux";
59*7d0873ebSEmmanuel Vadot        #mux-control-cells = <1>;
60*7d0873ebSEmmanuel Vadot        mux-reg-masks = <0x4 0x00000001>; /* Pixel_link_sel */
61*7d0873ebSEmmanuel Vadot        idle-states = <0>;
62*7d0873ebSEmmanuel Vadot      };
63*7d0873ebSEmmanuel Vadot    };
64*7d0873ebSEmmanuel Vadot...
65