arm64: dts: mt8186: Add dsi node
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>
Wed, 23 Nov 2022 13:55:30 +0000 (21:55 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 9 Jan 2023 16:16:47 +0000 (17:16 +0100)
Add dsi node for mt8186 SoC.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Link: https://lore.kernel.org/r/20221123135531.23221-5-allen-kh.cheng@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8186.dtsi

index c0481f0..4a2f7ad 100644 (file)
                        power-domains = <&spm MT8186_POWER_DOMAIN_DIS>;
                };
 
+               dsi0: dsi@14013000 {
+                       compatible = "mediatek,mt8186-dsi";
+                       reg = <0 0x14013000 0 0x1000>;
+                       clocks = <&mmsys CLK_MM_DSI0>,
+                                <&mmsys CLK_MM_DSI0_DSI_CK_DOMAIN>,
+                                <&mipi_tx0>;
+                       clock-names = "engine", "digital", "hs";
+                       interrupts = <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH 0>;
+                       power-domains = <&spm MT8186_POWER_DOMAIN_DIS>;
+                       resets = <&mmsys MT8186_MMSYS_SW0_RST_B_DISP_DSI0>;
+                       phys = <&mipi_tx0>;
+                       phy-names = "dphy";
+                       status = "disabled";
+
+                       port {
+                               dsi_out: endpoint { };
+                       };
+               };
+
                iommu_mm: iommu@14016000 {
                        compatible = "mediatek,mt8186-iommu-mm";
                        reg = <0 0x14016000 0 0x1000>;