From a58c6d1abc9c150ccaa93c5cbf446824c547a0d2 Mon Sep 17 00:00:00 2001 From: Sarthak Garg Date: Wed, 15 Jul 2020 15:53:29 +0530 Subject: [PATCH] ARM: dts: msm: Add Bus voting and DLL support for holi Add Bus voting and DLL support for holi. Change-Id: I9e971b8ddca619469d22413cc9cf80f8fad0873d --- qcom/holi.dtsi | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index 1515cfcf97b0..58863c57a727 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -1535,6 +1535,35 @@ clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; clock-names = "core", "iface"; + interconnects = <&system_noc MASTER_EMMC &bimc SLAVE_EBI>, + <&bimc MASTER_AMPSS_M0 &config_noc SLAVE_EMMC_CFG>; + interconnect-names = "sdhc-ddr","cpu-sdhc"; + qcom,msm-bus,name = "sdhc1"; + qcom,msm-bus,num-cases = <8>; + qcom,msm-bus,num-paths = <2>; + qcom,msm-bus,vectors-KBps = + /* No Vote */ + <0 0>, <0 0>, + /* 400 KB/s*/ + <1046 1600>, <1600 1600>, + /* 25 MB/s */ + <25600 250000>, <50000 133320>, + /* 50 MB/s */ + <51200 250000>, <65000 133320>, + /* 100 MB/s */ + <102400 250000>, <65000 133320>, + /* 200 MB/s */ + <204800 800000>, <200000 300000>, + /* 400 MB/s */ + <204800 800000>, <200000 300000>, + /* Max. bandwidth */ + <1338562 4096000>, <1338562 4096000>; + qcom,bus-bw-vectors-bps = <0 400000 25000000 50000000 + 100000000 200000000 400000000 4294967295>; + + /* DLL HSR settings. Refer go/hsr - DLL settings */ + qcom,dll-hsr-list = <0x000f642c 0x0 0x0 0x00010800 0x80040868>; + bus-width = <8>; non-removable; supports-cqe; @@ -1554,6 +1583,33 @@ clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>; clock-names = "core", "iface"; + interconnects = <&system_noc MASTER_SDCC_2 &bimc SLAVE_EBI>, + <&bimc MASTER_AMPSS_M0 &config_noc SLAVE_SDCC_2>; + interconnect-names = "sdhc-ddr","cpu-sdhc"; + qcom,msm-bus,name = "sdhc2"; + qcom,msm-bus,num-cases = <7>; + qcom,msm-bus,num-paths = <2>; + qcom,msm-bus,vectors-KBps = + /* No Vote */ + <0 0>, <0 0>, + /* 400 KB/s*/ + <1046 3200>, <1600 1600>, + /* 25 MB/s */ + <65360 250000>, <100000 133320>, + /* 50 MB/s */ + <130718 250000>, <133320 133320>, + /* 100 MB/s */ + <261438 250000>, <150000 133320>, + /* 200 MB/s */ + <261438 800000>, <300000 300000>, + /* Max. bandwidth */ + <1338562 4096000>, <1338562 4096000>; + qcom,bus-bw-vectors-bps = <0 400000 25000000 50000000 + 100000000 200000000 4294967295>; + + /* DLL HSR settings. Refer go/hsr - DLL settings */ + qcom,dll-hsr-list = <0x0007642c 0x0 0x0 0x00010800 0x80040868>; + bus-width = <4>; iommus = <&apps_smmu 0x40 0x0>;