Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: NXP i.MX8MP Media Block Control maintainers: - Paul Elder <paul.elder@ideasonboard.com> description: The i.MX8MP Media Block Control (MEDIA BLK_CTRL) is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the peripherals within the MEDIAMIX domain. properties: compatible: items: - const: fsl,imx8mp-media-blk-ctrl - const: syscon reg: maxItems: 1 '#address-cells': const: 1 '#size-cells': const: 1 '#power-domain-cells': const: 1 power-domains: maxItems: 10 power-domain-names: items: - const: bus - const: mipi-dsi1 - const: mipi-csi1 - const: lcdif1 - const: isi - const: mipi-csi2 - const: lcdif2 - const: isp - const: dwe - const: mipi-dsi2 clocks: items: - description: The APB clock - description: The AXI clock - description: The pixel clock for the first CSI2 receiver (aclk) - description: The pixel clock for the second CSI2 receiver (aclk) - description: The pixel clock for the first LCDIF (pix_clk) - description: The pixel clock for the second LCDIF (pix_clk) - description: The core clock for the ISP (clk) - description: The MIPI-PHY reference clock used by DSI clock-names: items: - const: apb - const: axi - const: cam1 - const: cam2 - const: disp1 - const: disp2 - const: isp - const: phy interconnects: maxItems: 8 interconnect-names: items: - const: lcdif-rd - const: lcdif-wr - const: isi0 - const: isi1 - const: isi2 - const: isp0 - const: isp1 - const: dwe bridge@5c: type: object $ref: /schemas/display/bridge/fsl,ldb.yaml# unevaluatedProperties: false required: - compatible - reg - '#address-cells' - '#size-cells' - '#power-domain-cells' - power-domains - power-domain-names - clocks - clock-names additionalProperties: false examples: - | #include <dt-bindings/clock/imx8mp-clock.h> #include <dt-bindings/power/imx8mp-power.h> blk-ctrl@32ec0000 { compatible = "fsl,imx8mp-media-blk-ctrl", "syscon"; reg = <0x32ec0000 0x138>; power-domains = <&mediamix_pd>, <&mipi_phy1_pd>, <&mipi_phy1_pd>, <&mediamix_pd>, <&mediamix_pd>, <&mipi_phy2_pd>, <&mediamix_pd>, <&ispdwp_pd>, <&ispdwp_pd>, <&mipi_phy2_pd>; power-domain-names = "bus", "mipi-dsi1", "mipi-csi1", "lcdif1", "isi", "mipi-csi2", "lcdif2", "isp", "dwe", "mipi-dsi2"; clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>, <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>, <&clk IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT>, <&clk IMX8MP_CLK_MEDIA_DISP1_PIX_ROOT>, <&clk IMX8MP_CLK_MEDIA_DISP2_PIX_ROOT>, <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>, <&clk IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>; clock-names = "apb", "axi", "cam1", "cam2", "disp1", "disp2", "isp", "phy"; #power-domain-cells = <1>; #address-cells = <1>; #size-cells = <1>; bridge@5c { compatible = "fsl,imx8mp-ldb"; reg = <0x5c 0x4>, <0x128 0x4>; reg-names = "ldb", "lvds"; clocks = <&clk IMX8MP_CLK_MEDIA_LDB>; clock-names = "ldb"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; ldb_from_lcdif2: endpoint { remote-endpoint = <&lcdif2_to_ldb>; }; }; port@1 { reg = <1>; ldb_lvds_ch0: endpoint { remote-endpoint = <&ldb_to_lvdsx4panel>; }; }; port@2 { reg = <2>; ldb_lvds_ch1: endpoint { }; }; }; }; }; ... |