mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-09 01:59:41 +00:00
arm64: dts: sdm845: Add OPP table for all qup devices
qup has a requirement to vote on the performance state of the CX domain in sdm845 devices. Add OPP tables for these and also add power-domains property for all qup instances for uart and spi. i2c does not support scaling and uses a fixed clock. Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/1593506712-24557-2-git-send-email-rnayak@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
a24ad4878c
commit
13cadb34e5
1 changed files with 83 additions and 0 deletions
|
@ -1090,6 +1090,25 @@ rng: rng@793000 {
|
|||
clock-names = "core";
|
||||
};
|
||||
|
||||
qup_opp_table: qup-opp-table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-19200000 {
|
||||
opp-hz = /bits/ 64 <19200000>;
|
||||
required-opps = <&rpmhpd_opp_min_svs>;
|
||||
};
|
||||
|
||||
opp-75000000 {
|
||||
opp-hz = /bits/ 64 <75000000>;
|
||||
required-opps = <&rpmhpd_opp_low_svs>;
|
||||
};
|
||||
|
||||
opp-100000000 {
|
||||
opp-hz = /bits/ 64 <100000000>;
|
||||
required-opps = <&rpmhpd_opp_svs>;
|
||||
};
|
||||
};
|
||||
|
||||
qupv3_id_0: geniqup@8c0000 {
|
||||
compatible = "qcom,geni-se-qup";
|
||||
reg = <0 0x008c0000 0 0x6000>;
|
||||
|
@ -1111,6 +1130,8 @@ i2c0: i2c@880000 {
|
|||
interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1135,6 +1156,8 @@ uart0: serial@880000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart0_default>;
|
||||
interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1148,6 +1171,8 @@ i2c1: i2c@884000 {
|
|||
interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1172,6 +1197,8 @@ uart1: serial@884000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart1_default>;
|
||||
interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1185,6 +1212,8 @@ i2c2: i2c@888000 {
|
|||
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1209,6 +1238,8 @@ uart2: serial@888000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart2_default>;
|
||||
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1222,6 +1253,8 @@ i2c3: i2c@88c000 {
|
|||
interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1246,6 +1279,8 @@ uart3: serial@88c000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart3_default>;
|
||||
interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1259,6 +1294,8 @@ i2c4: i2c@890000 {
|
|||
interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1283,6 +1320,8 @@ uart4: serial@890000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart4_default>;
|
||||
interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1296,6 +1335,8 @@ i2c5: i2c@894000 {
|
|||
interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1320,6 +1361,8 @@ uart5: serial@894000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart5_default>;
|
||||
interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1333,6 +1376,8 @@ i2c6: i2c@898000 {
|
|||
interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1357,6 +1402,8 @@ uart6: serial@898000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart6_default>;
|
||||
interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1370,6 +1417,8 @@ i2c7: i2c@89c000 {
|
|||
interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1394,6 +1443,8 @@ uart7: serial@89c000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart7_default>;
|
||||
interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
@ -1419,6 +1470,8 @@ i2c8: i2c@a80000 {
|
|||
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1443,6 +1496,8 @@ uart8: serial@a80000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart8_default>;
|
||||
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1456,6 +1511,8 @@ i2c9: i2c@a84000 {
|
|||
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1480,6 +1537,8 @@ uart9: serial@a84000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart9_default>;
|
||||
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1493,6 +1552,8 @@ i2c10: i2c@a88000 {
|
|||
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1517,6 +1578,8 @@ uart10: serial@a88000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart10_default>;
|
||||
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1530,6 +1593,8 @@ i2c11: i2c@a8c000 {
|
|||
interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1554,6 +1619,8 @@ uart11: serial@a8c000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart11_default>;
|
||||
interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1567,6 +1634,8 @@ i2c12: i2c@a90000 {
|
|||
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1591,6 +1660,8 @@ uart12: serial@a90000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart12_default>;
|
||||
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1604,6 +1675,8 @@ i2c13: i2c@a94000 {
|
|||
interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1628,6 +1701,8 @@ uart13: serial@a94000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart13_default>;
|
||||
interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1641,6 +1716,8 @@ i2c14: i2c@a98000 {
|
|||
interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1665,6 +1742,8 @@ uart14: serial@a98000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart14_default>;
|
||||
interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1678,6 +1757,8 @@ i2c15: i2c@a9c000 {
|
|||
interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -1702,6 +1783,8 @@ uart15: serial@a9c000 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart15_default>;
|
||||
interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue