Skip to content

Commit a00d1c9

Browse files
amergnatmbgg
authored andcommitted
arm64: dts: mediatek: add pwrap support to mt8365 SoC
In order to use the PMIC, the pwrap support should be added to allow communication between the SoC and the PMIC. Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230203-evk-board-support-v3-6-0003e80e0095@baylibre.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent 55749bb commit a00d1c9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8365.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,18 @@
179179
#clock-cells = <1>;
180180
};
181181

182+
pwrap: pwrap@1000d000 {
183+
compatible = "mediatek,mt8365-pwrap";
184+
reg = <0 0x1000d000 0 0x1000>;
185+
reg-names = "pwrap";
186+
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
187+
clocks = <&infracfg CLK_IFR_PWRAP_SPI>,
188+
<&infracfg CLK_IFR_PMIC_AP>,
189+
<&infracfg CLK_IFR_PWRAP_SYS>,
190+
<&infracfg CLK_IFR_PWRAP_TMR>;
191+
clock-names = "spi", "wrap", "sys", "tmr";
192+
};
193+
182194
keypad: keypad@10010000 {
183195
compatible = "mediatek,mt6779-keypad";
184196
reg = <0 0x10010000 0 0x1000>;

0 commit comments

Comments
 (0)