Loading qcom/lito.dtsi +20 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,9 @@ #include <dt-bindings/soc/qcom,rpmh-rsc.h> #include <dt-bindings/spmi/spmi.h> #define MHZ_TO_MBPS(mhz, w) ((mhz * 1000000 * w) / (1024 * 1024)) #define BW_OPP_ENTRY(mhz, w) opp-mhz {opp-hz = /bits/ 64 <MHZ_TO_MBPS(mhz, w)>;} / { model = "Qualcomm Technologies, Inc. Lito"; compatible = "qcom,lito"; Loading Loading @@ -1971,6 +1974,23 @@ clock-names = "eud_ahb2phy_clk"; status = "ok"; }; suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table { compatible = "operating-points-v2"; BW_OPP_ENTRY( 0, 4); /* 0 MB/s */ BW_OPP_ENTRY( 200, 4); /* 762 MB/s */ BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */ BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */ BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */ BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */ BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */ BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */ BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */ BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */ BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */ BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */ BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */ }; }; #include "lito-pinctrl.dtsi" Loading Loading
qcom/lito.dtsi +20 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,9 @@ #include <dt-bindings/soc/qcom,rpmh-rsc.h> #include <dt-bindings/spmi/spmi.h> #define MHZ_TO_MBPS(mhz, w) ((mhz * 1000000 * w) / (1024 * 1024)) #define BW_OPP_ENTRY(mhz, w) opp-mhz {opp-hz = /bits/ 64 <MHZ_TO_MBPS(mhz, w)>;} / { model = "Qualcomm Technologies, Inc. Lito"; compatible = "qcom,lito"; Loading Loading @@ -1971,6 +1974,23 @@ clock-names = "eud_ahb2phy_clk"; status = "ok"; }; suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table { compatible = "operating-points-v2"; BW_OPP_ENTRY( 0, 4); /* 0 MB/s */ BW_OPP_ENTRY( 200, 4); /* 762 MB/s */ BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */ BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */ BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */ BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */ BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */ BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */ BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */ BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */ BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */ BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */ BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */ }; }; #include "lito-pinctrl.dtsi" Loading