diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-11-18 07:23:11 -0500 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2016-11-18 07:26:25 -0500 |
commit | 88b9ca09c5ce9988760a2b2f6f55fece0ffd4301 (patch) | |
tree | a2c0224ea66088c889f430110532ec692bac93b7 | |
parent | 4eb74a7c24d76c2f741ab745ea0fce4ea2beb0e1 (diff) |
arm64: dts: exynos: TM2 - add support for GScaler devices
This patch adds device nodes for GScaler devices to Exynos5433 SoC dtsi
and proper initial clock configuration to TM2 dts.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 10 | ||||
-rw-r--r-- | arch/arm64/boot/dts/exynos/exynos5433.dtsi | 69 |
2 files changed, 79 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index 2569e4ab6f7e..8eb59adc2bc4 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | |||
@@ -23,6 +23,9 @@ | |||
23 | compatible = "samsung,tm2", "samsung,exynos5433"; | 23 | compatible = "samsung,tm2", "samsung,exynos5433"; |
24 | 24 | ||
25 | aliases { | 25 | aliases { |
26 | gsc0 = &gsc_0; | ||
27 | gsc1 = &gsc_1; | ||
28 | gsc2 = &gsc_2; | ||
26 | pinctrl0 = &pinctrl_alive; | 29 | pinctrl0 = &pinctrl_alive; |
27 | pinctrl1 = &pinctrl_aud; | 30 | pinctrl1 = &pinctrl_aud; |
28 | pinctrl2 = &pinctrl_cpif; | 31 | pinctrl2 = &pinctrl_cpif; |
@@ -186,6 +189,13 @@ | |||
186 | <66700000>, <66700000>; | 189 | <66700000>, <66700000>; |
187 | }; | 190 | }; |
188 | 191 | ||
192 | &cmu_gscl { | ||
193 | assigned-clocks = <&cmu_gscl CLK_MOUT_ACLK_GSCL_111_USER>, | ||
194 | <&cmu_gscl CLK_MOUT_ACLK_GSCL_333_USER>; | ||
195 | assigned-clock-parents = <&cmu_top CLK_ACLK_GSCL_111>, | ||
196 | <&cmu_top CLK_ACLK_GSCL_333>; | ||
197 | }; | ||
198 | |||
189 | &cpu0 { | 199 | &cpu0 { |
190 | cpu-supply = <&buck3_reg>; | 200 | cpu-supply = <&buck3_reg>; |
191 | }; | 201 | }; |
diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 7d718272caf6..945b2502a4ca 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi | |||
@@ -805,6 +805,45 @@ | |||
805 | reg = <0x145f0000 0x1038>; | 805 | reg = <0x145f0000 0x1038>; |
806 | }; | 806 | }; |
807 | 807 | ||
808 | gsc_0: video-scaler@13C00000 { | ||
809 | compatible = "samsung,exynos5433-gsc"; | ||
810 | reg = <0x13c00000 0x1000>; | ||
811 | interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>; | ||
812 | clock-names = "pclk", "aclk", "aclk_xiu", | ||
813 | "aclk_gsclbend"; | ||
814 | clocks = <&cmu_gscl CLK_PCLK_GSCL0>, | ||
815 | <&cmu_gscl CLK_ACLK_GSCL0>, | ||
816 | <&cmu_gscl CLK_ACLK_XIU_GSCLX>, | ||
817 | <&cmu_gscl CLK_ACLK_GSCLBEND_333>; | ||
818 | iommus = <&sysmmu_gscl0>; | ||
819 | }; | ||
820 | |||
821 | gsc_1: video-scaler@13C10000 { | ||
822 | compatible = "samsung,exynos5433-gsc"; | ||
823 | reg = <0x13c10000 0x1000>; | ||
824 | interrupts = <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>; | ||
825 | clock-names = "pclk", "aclk", "aclk_xiu", | ||
826 | "aclk_gsclbend"; | ||
827 | clocks = <&cmu_gscl CLK_PCLK_GSCL1>, | ||
828 | <&cmu_gscl CLK_ACLK_GSCL1>, | ||
829 | <&cmu_gscl CLK_ACLK_XIU_GSCLX>, | ||
830 | <&cmu_gscl CLK_ACLK_GSCLBEND_333>; | ||
831 | iommus = <&sysmmu_gscl1>; | ||
832 | }; | ||
833 | |||
834 | gsc_2: video-scaler@13C20000 { | ||
835 | compatible = "samsung,exynos5433-gsc"; | ||
836 | reg = <0x13c20000 0x1000>; | ||
837 | interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>; | ||
838 | clock-names = "pclk", "aclk", "aclk_xiu", | ||
839 | "aclk_gsclbend"; | ||
840 | clocks = <&cmu_gscl CLK_PCLK_GSCL2>, | ||
841 | <&cmu_gscl CLK_ACLK_GSCL2>, | ||
842 | <&cmu_gscl CLK_ACLK_XIU_GSCLX>, | ||
843 | <&cmu_gscl CLK_ACLK_GSCLBEND_333>; | ||
844 | iommus = <&sysmmu_gscl2>; | ||
845 | }; | ||
846 | |||
808 | sysmmu_decon0x: sysmmu@0x13a00000 { | 847 | sysmmu_decon0x: sysmmu@0x13a00000 { |
809 | compatible = "samsung,exynos-sysmmu"; | 848 | compatible = "samsung,exynos-sysmmu"; |
810 | reg = <0x13a00000 0x1000>; | 849 | reg = <0x13a00000 0x1000>; |
@@ -825,6 +864,36 @@ | |||
825 | #iommu-cells = <0>; | 864 | #iommu-cells = <0>; |
826 | }; | 865 | }; |
827 | 866 | ||
867 | sysmmu_gscl0: sysmmu@0x13C80000 { | ||
868 | compatible = "samsung,exynos-sysmmu"; | ||
869 | reg = <0x13C80000 0x1000>; | ||
870 | interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>; | ||
871 | clock-names = "aclk", "pclk"; | ||
872 | clocks = <&cmu_gscl CLK_ACLK_SMMU_GSCL0>, | ||
873 | <&cmu_gscl CLK_PCLK_SMMU_GSCL0>; | ||
874 | #iommu-cells = <0>; | ||
875 | }; | ||
876 | |||
877 | sysmmu_gscl1: sysmmu@0x13C90000 { | ||
878 | compatible = "samsung,exynos-sysmmu"; | ||
879 | reg = <0x13C90000 0x1000>; | ||
880 | interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>; | ||
881 | clock-names = "aclk", "pclk"; | ||
882 | clocks = <&cmu_gscl CLK_ACLK_SMMU_GSCL1>, | ||
883 | <&cmu_gscl CLK_PCLK_SMMU_GSCL1>; | ||
884 | #iommu-cells = <0>; | ||
885 | }; | ||
886 | |||
887 | sysmmu_gscl2: sysmmu@0x13CA0000 { | ||
888 | compatible = "samsung,exynos-sysmmu"; | ||
889 | reg = <0x13CA0000 0x1000>; | ||
890 | interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>; | ||
891 | clock-names = "aclk", "pclk"; | ||
892 | clocks = <&cmu_gscl CLK_ACLK_SMMU_GSCL2>, | ||
893 | <&cmu_gscl CLK_PCLK_SMMU_GSCL2>; | ||
894 | #iommu-cells = <0>; | ||
895 | }; | ||
896 | |||
828 | serial_0: serial@14c10000 { | 897 | serial_0: serial@14c10000 { |
829 | compatible = "samsung,exynos5433-uart"; | 898 | compatible = "samsung,exynos5433-uart"; |
830 | reg = <0x14c10000 0x100>; | 899 | reg = <0x14c10000 0x100>; |