Skip to content

Commit 88ec840

Browse files
mediatek-jitaombgg
authored andcommitted
arm64: dts: mt8183: Add dsi node
Add dsi and mipitx nodes to the MT8183. Signed-off-by: Jitao Shi <jitao.shi@mediatek.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20201127104930.1981497-2-enric.balletbo@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent f15722c commit 88ec840

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

arch/arm64/boot/dts/mediatek/mt8183.dtsi

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,10 +892,27 @@
892892
status = "disabled";
893893
};
894894

895+
mipi_tx0: mipi-dphy@11e50000 {
896+
compatible = "mediatek,mt8183-mipi-tx";
897+
reg = <0 0x11e50000 0 0x1000>;
898+
clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>;
899+
clock-names = "ref_clk";
900+
#clock-cells = <0>;
901+
#phy-cells = <0>;
902+
clock-output-names = "mipi_tx0_pll";
903+
nvmem-cells = <&mipi_tx_calibration>;
904+
nvmem-cell-names = "calibration-data";
905+
};
906+
895907
efuse: efuse@11f10000 {
896908
compatible = "mediatek,mt8183-efuse",
897909
"mediatek,efuse";
898910
reg = <0 0x11f10000 0 0x1000>;
911+
#address-cells = <1>;
912+
#size-cells = <1>;
913+
mipi_tx_calibration: calib@190 {
914+
reg = <0x190 0xc>;
915+
};
899916
};
900917

901918
u3phy: usb-phy@11f40000 {
@@ -937,6 +954,20 @@
937954
#clock-cells = <1>;
938955
};
939956

957+
dsi0: dsi@14014000 {
958+
compatible = "mediatek,mt8183-dsi";
959+
reg = <0 0x14014000 0 0x1000>;
960+
interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_LOW>;
961+
power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
962+
mediatek,syscon-dsi = <&mmsys 0x140>;
963+
clocks = <&mmsys CLK_MM_DSI0_MM>,
964+
<&mmsys CLK_MM_DSI0_IF>,
965+
<&mipi_tx0>;
966+
clock-names = "engine", "digital", "hs";
967+
phys = <&mipi_tx0>;
968+
phy-names = "dphy";
969+
};
970+
940971
smi_common: smi@14019000 {
941972
compatible = "mediatek,mt8183-smi-common", "syscon";
942973
reg = <0 0x14019000 0 0x1000>;

0 commit comments

Comments
 (0)