OSDN Git Service

arm64: dts: exynos: Add bus nodes using VDD_INT for Exynos5433
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 8 Dec 2016 04:58:10 +0000 (13:58 +0900)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 2 Jan 2017 18:32:40 +0000 (20:32 +0200)
This patch adds the AMBA AXI bus nodes using VDD_INT for Exynos5433 SoC.

Following list specify the detailed correlation between sub-block and clock:
- CLK_ACLK_G2D_{400|266}  : Bus clock for G2D (2D graphic engine)
- CLK_ACLK_MSCL_400       : Bus clock for MSCL (Memory to memory Scaler)
- CLK_ACLK_GSCL_333       : Bus clock for GSCL (General Scaler)
- CLK_SCLK_JPEG_MSCL      : Bus clock for JPEG
- CLK_ACLK_MFC_400        : Bus clock for MFC (Multi Format Codec)
- CLK_ACLK_HEVC_400       : Bus clock for HEVC (High Efficient Video Codec)
- CLK_ACLK_BUS0_400       : NoC's (Network On Chip) bus clock for PERIC/PERIS/FSYS/MSCL
- CLK_ACLK_BUS1_400       : NoC's bus clock for MFC/HEVC/G3D
- CLK_ACLK_BUS2_400       : NoC's bus clock for GSCL/DISP/G2D/CAM0/CAM1/ISP

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/exynos/exynos5433.dtsi

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi
new file mode 100644 (file)
index 0000000..c42dc39
--- /dev/null
@@ -0,0 +1,197 @@
+/*
+ * Samsung's Exynos5433 SoC Memory interface and AMBA bus device tree source
+ *
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Chanwoo Choi <cw00.choi@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+&soc {
+       bus_g2d_400: bus0 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_G2D_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_g2d_400_opp_table>;
+               status = "disabled";
+       };
+
+       bus_g2d_266: bus1 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_G2D_266>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_g2d_266_opp_table>;
+               status = "disabled";
+       };
+
+       bus_gscl: bus2 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_GSCL_333>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_gscl_opp_table>;
+               status = "disabled";
+       };
+
+       bus_hevc: bus3 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_HEVC_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_hevc_opp_table>;
+               status = "disabled";
+       };
+
+       bus_jpeg: bus4 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_SCLK_JPEG_MSCL>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_g2d_400_opp_table>;
+               status = "disabled";
+       };
+
+       bus_mfc: bus5 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_MFC_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_g2d_400_opp_table>;
+               status = "disabled";
+       };
+
+       bus_mscl: bus6 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_MSCL_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_g2d_400_opp_table>;
+               status = "disabled";
+       };
+
+       bus_noc0: bus7 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_BUS0_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_hevc_opp_table>;
+               status = "disabled";
+       };
+
+       bus_noc1: bus8 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_top CLK_ACLK_BUS1_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_hevc_opp_table>;
+               status = "disabled";
+       };
+
+       bus_noc2: bus9 {
+               compatible = "samsung,exynos-bus";
+               clocks = <&cmu_mif CLK_ACLK_BUS2_400>;
+               clock-names = "bus";
+               operating-points-v2 = <&bus_noc2_opp_table>;
+               status = "disabled";
+       };
+
+       bus_g2d_400_opp_table: opp_table2 {
+               compatible = "operating-points-v2";
+               opp-shared;
+
+               opp@400000000 {
+                       opp-hz = /bits/ 64 <400000000>;
+                       opp-microvolt = <1075000>;
+               };
+               opp@267000000 {
+                       opp-hz = /bits/ 64 <267000000>;
+                       opp-microvolt = <1000000>;
+               };
+               opp@200000000 {
+                       opp-hz = /bits/ 64 <200000000>;
+                       opp-microvolt = <975000>;
+               };
+               opp@160000000 {
+                       opp-hz = /bits/ 64 <160000000>;
+                       opp-microvolt = <962500>;
+               };
+               opp@134000000 {
+                       opp-hz = /bits/ 64 <134000000>;
+                       opp-microvolt = <950000>;
+               };
+               opp@100000000 {
+                       opp-hz = /bits/ 64 <100000000>;
+                       opp-microvolt = <937500>;
+               };
+       };
+
+       bus_g2d_266_opp_table: opp_table3 {
+               compatible = "operating-points-v2";
+
+               opp@267000000 {
+                       opp-hz = /bits/ 64 <267000000>;
+               };
+               opp@200000000 {
+                       opp-hz = /bits/ 64 <200000000>;
+               };
+               opp@160000000 {
+                       opp-hz = /bits/ 64 <160000000>;
+               };
+               opp@134000000 {
+                       opp-hz = /bits/ 64 <134000000>;
+               };
+               opp@100000000 {
+                       opp-hz = /bits/ 64 <100000000>;
+               };
+       };
+
+       bus_gscl_opp_table: opp_table4 {
+               compatible = "operating-points-v2";
+
+               opp@333000000 {
+                       opp-hz = /bits/ 64 <333000000>;
+               };
+               opp@222000000 {
+                       opp-hz = /bits/ 64 <222000000>;
+               };
+               opp@166500000 {
+                       opp-hz = /bits/ 64 <166500000>;
+               };
+       };
+
+       bus_hevc_opp_table: opp_table5 {
+               compatible = "operating-points-v2";
+               opp-shared;
+
+               opp@400000000 {
+                       opp-hz = /bits/ 64 <400000000>;
+               };
+               opp@267000000 {
+                       opp-hz = /bits/ 64 <267000000>;
+               };
+               opp@200000000 {
+                       opp-hz = /bits/ 64 <200000000>;
+               };
+               opp@160000000 {
+                       opp-hz = /bits/ 64 <160000000>;
+               };
+               opp@134000000 {
+                       opp-hz = /bits/ 64 <134000000>;
+               };
+               opp@100000000 {
+                       opp-hz = /bits/ 64 <100000000>;
+               };
+       };
+
+       bus_noc2_opp_table: opp_table6 {
+               compatible = "operating-points-v2";
+
+               opp@400000000 {
+                       opp-hz = /bits/ 64 <400000000>;
+               };
+               opp@200000000 {
+                       opp-hz = /bits/ 64 <200000000>;
+               };
+               opp@134000000 {
+                       opp-hz = /bits/ 64 <134000000>;
+               };
+               opp@100000000 {
+                       opp-hz = /bits/ 64 <100000000>;
+               };
+       };
+};
index 8c4ee84..68f764e 100644 (file)
        };
 };
 
+#include "exynos5433-bus.dtsi"
 #include "exynos5433-pinctrl.dtsi"
 #include "exynos5433-tmu.dtsi"