[9610] arm64: dts: add node for cpuidle.
authorlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 21 May 2018 10:13:35 +0000 (19:13 +0900)
committerChungwoo Park <cww.park@samsung.com>
Wed, 23 May 2018 10:52:32 +0000 (19:52 +0900)
Change-Id: Ibc29ca2e7dfc5e0502cc8f80500313b67c79172b
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610.dtsi

index 3bd364a2c13e17be52f1130b59ec5b8573d5fcb7..b4ebd86244529cba98d92178b037067654c573f0 100644 (file)
                cpu_on = <0xC4000003>;
        };
 
+       cpupm {
+               #define POWERMODE_TYPE_CLUSTER  0
+               #define POWERMODE_TYPE_SYSTEM   1
+
+               cpd_cl0 {
+                       device_type = "cpupm";
+                       target-residency = <10000>;
+                       psci-index = <128>;
+                       type = <POWERMODE_TYPE_CLUSTER>;
+                       siblings = "0-3";
+               };
+
+               cpd_cl1 {
+                       device_type = "cpupm";
+                       target-residency = <3000>;
+                       psci-index = <128>;
+                       type = <POWERMODE_TYPE_CLUSTER>;
+                       siblings = "4-7";
+                       entry-allowed = "4-7";
+               };
+
+               sicd {
+                       device_type = "cpupm";
+                       target-residency = <3000>;      /* us */
+                       psci-index = <256>;
+                       type = <POWERMODE_TYPE_SYSTEM>;
+                       siblings = "0-7";
+                       entry-allowed = "0-3";
+                       system-idle;
+               };
+
+               idle-ip {
+                       idle-ip-list =
+                                 "13970000.pwm",               /* [ 0] pwm      */
+                                 "11c30000.adc",               /* [ 1] adc      */
+                                 "110c0000.hsi2c",             /* [ 2] hsi2c_0  */
+                                 "110d0000.hsi2c",             /* [ 3] hsi2c_1  */
+                                 "11d00000.hsi2c",             /* [ 4] hsi2c_2  */
+                                 "11d10000.hsi2c",             /* [ 5] hsi2c_3  */
+                                 "11d20000.hsi2c",             /* [ 6] hsi2c_4  */
+                                 "11d30000.hsi2c",             /* [ 7] hsi2c_5  */
+                                 "11d40000.hsi2c",             /* [ 8] hsi2c_6  */
+                                 "11d50000.hsi2c",             /* [ 9] hsi2c_7  */
+                                 "11d60000.hsi2c",             /* [10] hsi2c_8  */
+                                 "11d70000.hsi2c",             /* [11] hsi2c_9  */
+                                 "11d80000.hsi2c",             /* [12] hsi2c_10 */
+                                 "11d90000.hsi2c",             /* [13] hsi2c_11 */
+                                 "138a0000.hsi2c",             /* [14] hsi2c_12 */
+                                 "138b0000.hsi2c",             /* [15] hsi2c_13 */
+                                 "138c0000.hsi2c",             /* [16] hsi2c_14 */
+                                 "138d0000.hsi2c",             /* [17] hsi2c_15 */
+                                 "13920000.hsi2c",             /* [18] hsi2c_16 */
+                                 "13930000.hsi2c",             /* [19] hsi2c_17 */
+                                 "13830000.i2c",               /* [20] i2c_0 */
+                                 "13840000.i2c",               /* [21] i2c_1 */
+                                 "13850000.i2c",               /* [22] i2c_2 */
+                                 "13860000.i2c",               /* [23] i2c_3 */
+                                 "13870000.i2c",               /* [24] i2c_4 */
+                                 "13880000.i2c",               /* [25] i2c_5 */
+                                 "13890000.i2c",               /* [26] i2c_6 */
+                                 "110c0000.spi",               /* [27] spi_0    */
+                                 "11d00000.spi",               /* [28] spi_1    */
+                                 "11d20000.spi",               /* [29] spi_2    */
+                                 "11d40000.spi",               /* [30] spi_3    */
+                                 "11d60000.spi",               /* [31] spi_4    */
+                                 "11d80000.spi",               /* [32] spi_5    */
+                                 "13900000.spi",               /* [33] spi_6    */
+                                 "13910000.spi",               /* [34] spi_7    */
+                                 "13920000.spi",               /* [35] spi_8    */
+                                 "13940000.spi",               /* [36] spi_9    */
+                                 "13520000.ufs",               /* [37] ufs      */
+                                 "13500000.dwmmc0",            /* [38] dwmmc0   */
+                                 "13550000.dwmmc2",            /* [39] dwmmc2   */
+                                 "13200000.usb",               /* [40] usb      */
+                                 "pd-cam",                     /* [41] pd-cam   */
+                                 "pd-isp",                     /* [42] pd-isp   */
+                                 "pd-vipx1",                   /* [43] pd-vipx1 */
+                                 "pd-vipx2",                   /* [44] pd-vipx2  */
+                                 "pd-g2d",                     /* [45] pd-g2d   */
+                                 "pd-g3d",                     /* [46] pd-g3d  */
+                                 "pd-dispaud",                 /* [47] pd-dispaud  */
+                                 "pd-mfc",                     /* [48] pd-mfc   */
+                                 "148b0000.decon_f";           /* [49] decon_f */
+
+                       fix-idle-ip = "acpm_dvfs";
+                       fix-idle-ip-index = <96>;
+
+                       idle-ip-mask =
+                               <0>,  <1>,  <2>,  <3>,  <4>,  <5>,  <6>,  <7>,  <8>,  <9>,
+                               <10>, <11>, <12>, <13>, <14>, <15>, <16>, <17>, <18>, <19>,
+                               <20>, <21>, <22>, <23>, <24>, <25>, <26>, <27>, <28>, <29>,
+                               <30>, <31>, <32>, <33>, <34>, <35>, <36>, <37>, <38>, <39>,
+                               <40>, <41>, <42>, <43>, <44>, <45>, <46>, <48>, <49>, <96>;
+               };
+       };
+
+       exynos-pm {
+               compatible = "samsung,exynos-pm";
+               reg = <0x0 0x11850000 0x1000>,
+                   <0x0 0x12301200 0x100>;
+               reg-names = "gpio_alive_base",
+                               "gicd_ispendrn_base";
+               num-eint = <24>;
+               num-gic = <16>;
+               suspend_mode_idx = <8>;         /* SYS_SLEEP */
+               suspend_psci_idx = <133>;       /* PSCI_SYSTEM_SLEEP */
+               cp_call_mode_idx = <10>;        /* SYS_SLEEP_AUD_ON */
+               cp_call_psci_idx = <133>;       /* PSCI_SYSTEM_SLEEP */
+               usbl2_suspend_available = <1>;
+               usbl2_suspend_mode_idx = <12>;  /* SYS_SLEEP_USB_ON */
+               extra_wakeup_stat = <0x60c>;
+               conn_req_offset = <0x00c0>;     /* PMU_ALIVE__CONNECT_SLEEP_STATUS */
+       };
+
+       exynos-powermode {
+               wakeup-masks {
+                       wakeup-mask {
+                               /*
+                                * wakeup_mask configuration
+                                *              SICD          SICD_CPD      AFTR          STOP
+                                *              LPD           LPA           ALPA          DSTOP
+                                *              SLEEP         SLEEP_VTS_ON  SLEEP_AUD_ON  FAPO
+                                *              SLEEP_USB_L2
+                                */
+                               wakeup-mask {
+                                       mask = <0x40000000>, <0x0>,        <0x0>,        <0x0>,
+                                              <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0xD00D7E7E>, <0x500D7E7E>, <0x500D7E7E>, <0x0>,
+                                              <0xD00D7E7E>;
+                                       mask-offset = <0x610>;
+                                       stat-offset = <0x600>;
+                               };
+                               wakeup-mask2 {
+                                       mask = <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0xFFFF00FF>, <0xFFFF00FF>, <0xFFFF00FF>, <0x0>,
+                                              <0xFFFF00FF>;
+                                       mask-offset = <0x614>;
+                                       stat-offset = <0x604>;
+                               };
+                               wakeup-mask3 {
+                                       mask = <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0xFFFF00FF>, <0xFFFF00FF>, <0xFFFF00FF>, <0x0>,
+                                              <0xFFFF00FF>;
+                                       mask-offset = <0x618>;
+                                       stat-offset = <0x608>;
+                               };
+                               wakeup-mask4 {
+                                       mask = <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0x0>,        <0x0>,        <0x0>,        <0x0>,
+                                              <0x0>;
+                                       mask-offset = <0x61c>;
+                                       stat-offset = <0x610>;
+                               };
+                       };
+               };
+       };
+
        gic:interrupt-controller@12300000 {
                compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
                #interrupt-cells = <3>;
                        };
                };
        };
-
-       cpupm {
-               #define POWERMODE_TYPE_CLUSTER  0
-               #define POWERMODE_TYPE_SYSTEM   1
-
-               cpd_cl0 {
-                       device_type = "cpupm";
-                       target-residency = <10000>;     /* us */
-                       psci-index = <128>;
-                       type = <POWERMODE_TYPE_CLUSTER>;
-                       siblings = "0-3";
-               };
-
-               cpd_cl1 {
-                       device_type = "cpupm";
-                       target-residency = <3000>;      /* us */
-                       psci-index = <128>;
-                       type = <POWERMODE_TYPE_CLUSTER>;
-                       siblings = "4-7";
-                       entry-allowed = "4-7";
-               };
-       };
 };