arm64: dts: mediatek: Add smi_common node for MT8183
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 30 Oct 2020 11:36:18 +0000 (12:36 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 27 Nov 2020 11:01:36 +0000 (12:01 +0100)
The SMI (Smart Multimedia Interface) Common is a bridge between the m4u
(Multimedia Memory Management Unit) and the Multimedia HW. This block is
needed to support different multimedia features, like display, video
decode, and camera. Also is needed to control the power domains of such
HW blocks.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201030113622.201188-13-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 08a914d3a643529517b8082f28f247bddcf72752..360a638d6b87e9eff16e3547b7ae5f9ffc1b8dfc 100644 (file)
                        #clock-cells = <1>;
                };
 
+               smi_common: smi@14019000 {
+                       compatible = "mediatek,mt8183-smi-common", "syscon";
+                       reg = <0 0x14019000 0 0x1000>;
+                       clocks = <&mmsys CLK_MM_SMI_COMMON>,
+                                <&mmsys CLK_MM_SMI_COMMON>,
+                                <&mmsys CLK_MM_GALS_COMM0>,
+                                <&mmsys CLK_MM_GALS_COMM1>;
+                       clock-names = "apb", "smi", "gals0", "gals1";
+               };
+
                imgsys: syscon@15020000 {
                        compatible = "mediatek,mt8183-imgsys", "syscon";
                        reg = <0 0x15020000 0 0x1000>;