ARM: dts: msm: Add RSC and PDC devices for kona

Add apps and disp RSC devices. Also update the PDC device
compatible and remove GPIO to PDC irq map from TLMM device.

Change-Id: Ibc746de7766f57dea8c6768fad1dca2179f1efdc
This commit is contained in:
Maulik Shah
2022-10-18 13:23:35 +05:30
committed by Gerrit - the friendly Code Review server
parent 792c7b381a
commit 298bb8e663
2 changed files with 47 additions and 81 deletions

View File

@@ -9,86 +9,6 @@
#interrupt-cells = <2>;
wakeup-parent = <&pdc>;
qcom,gpios-reserved = <28 29 30 31 40 41 42 43>;
irqdomain-map = <0 0 &pdc 79 0>,
<1 0 &pdc 84 0>,
<2 0 &pdc 80 0>,
<3 0 &pdc 82 0>,
<4 0 &pdc 107 0>,
<7 0 &pdc 43 0>,
<11 0 &pdc 42 0>,
<14 0 &pdc 44 0>,
<15 0 &pdc 52 0>,
<19 0 &pdc 67 0>,
<23 0 &pdc 68 0>,
<24 0 &pdc 105 0>,
<27 0 &pdc 92 0>,
<28 0 &pdc 106 0>,
<31 0 &pdc 69 0>,
<35 0 &pdc 70 0>,
<39 0 &pdc 73 0>,
<40 0 &pdc 108 0>,
<43 0 &pdc 71 0>,
<45 0 &pdc 72 0>,
<47 0 &pdc 83 0>,
<51 0 &pdc 74 0>,
<55 0 &pdc 77 0>,
<59 0 &pdc 78 0>,
<63 0 &pdc 75 0>,
<64 0 &pdc 81 0>,
<65 0 &pdc 87 0>,
<66 0 &pdc 88 0>,
<67 0 &pdc 89 0>,
<68 0 &pdc 54 0>,
<70 0 &pdc 85 0>,
<77 0 &pdc 46 0>,
<80 0 &pdc 90 0>,
<81 0 &pdc 91 0>,
<83 0 &pdc 97 0>,
<84 0 &pdc 98 0>,
<86 0 &pdc 99 0>,
<88 0 &pdc 101 0>,
<89 0 &pdc 102 0>,
<92 0 &pdc 103 0>,
<93 0 &pdc 104 0>,
<100 0 &pdc 53 0>,
<103 0 &pdc 47 0>,
<104 0 &pdc 48 0>,
<108 0 &pdc 49 0>,
<109 0 &pdc 94 0>,
<110 0 &pdc 95 0>,
<111 0 &pdc 96 0>,
<112 0 &pdc 55 0>,
<113 0 &pdc 56 0>,
<118 0 &pdc 50 0>,
<121 0 &pdc 51 0>,
<122 0 &pdc 57 0>,
<123 0 &pdc 58 0>,
<124 0 &pdc 45 0>,
<126 0 &pdc 59 0>,
<128 0 &pdc 76 0>,
<129 0 &pdc 86 0>,
<132 0 &pdc 93 0>,
<133 0 &pdc 65 0>,
<134 0 &pdc 66 0>,
<136 0 &pdc 62 0>,
<137 0 &pdc 63 0>,
<138 0 &pdc 64 0>,
<142 0 &pdc 60 0>,
<143 0 &pdc 61 0>,
<147 0 &pdc 109 0>, /* bi_mx_lpass_1_aoss_mx */
<150 0 &pdc 110 0>,
<157 0 &pdc 111 0>,
<158 0 &pdc 112 0>,
<160 0 &pdc 113 0>,
<162 0 &pdc 114 0>,
<164 0 &pdc 115 0>,
<166 0 &pdc 116 0>,
<167 0 &pdc 117 0>,
<175 0 &pdc 118 0>,
<177 0 &pdc 119 0>,
<179 0 &pdc 120 0>;
irqdomain-map-mask = <0xff 0>;
irqdomain-map-pass-thru = <0 0xff>;
trigout_a: trigout_a {
mux {

View File

@@ -664,8 +664,54 @@
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
};
apps_rsc: rsc@18200000 {
label = "apps_rsc";
compatible = "qcom,rpmh-rsc";
reg = <0x18200000 0x10000>,
<0x18210000 0x10000>,
<0x18220000 0x10000>;
reg-names = "drv-0", "drv-1", "drv-2";
qcom,drv-count = <3>;
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
apps_rsc_drv2: drv@2 {
qcom,drv-id = <2>;
qcom,tcs-offset = <0xd00>;
channel@0 {
qcom,tcs-config = <ACTIVE_TCS 2>,
<SLEEP_TCS 3>,
<WAKE_TCS 3>,
<CONTROL_TCS 0>,
<FAST_PATH_TCS 0>;
};
};
};
disp_rsc: rsc@af20000 {
label = "disp_rsc";
compatible = "qcom,rpmh-rsc";
reg = <0xaf20000 0x10000>;
reg-names = "drv-0";
qcom,drv-count = <1>;
interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
disp_rsc_drv0: drv@0 {
qcom,drv-id = <0>;
qcom,tcs-offset = <0x1c00>;
channel@0 {
qcom,tcs-config = <ACTIVE_TCS 0>,
<SLEEP_TCS 1>,
<WAKE_TCS 1>,
<CONTROL_TCS 0>,
<FAST_PATH_TCS 0>;
};
};
};
pdc: interrupt-controller@b220000 {
compatible = "qcom,kona-pdc";
compatible = "qcom,pdc", "qcom,kona-pdc";
reg = <0xb220000 0x30000>, <0x17c000f0 0x60>;
qcom,pdc-ranges = <0 480 94>, <94 609 31>, <125 63 1>, <126 716 12>;
#interrupt-cells = <2>;