[PATCH 1/2] arm64: dts: mt6779: Support pwrap on Mediatek MT6779 platform

Argus Lin argus.lin at mediatek.com
Mon Jan 4 03:08:22 EST 2021


Support pwrap on Mediatek MT6779 platform by adding pwrap node in dts file.

Signed-off-by: Argus Lin <argus.lin at mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt6779.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 370f309..2c2ca33 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -189,6 +189,15 @@
 			#clock-cells = <1>;
 		};

+		pwrap: pwrap at 1000d000 {
+			compatible = "mediatek,mt6779-pwrap";
+			reg = <0 0x1000d000 0 0x1000>;
+			reg-names = "pwrap";
+			interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_PMIC_AP>;
+			clock-names = "spi", "wrap";
+		};
+
 		uart0: serial at 11002000 {
 			compatible = "mediatek,mt6779-uart",
 				     "mediatek,mt6577-uart";
--
1.8.1.1.dirty


More information about the linux-arm-kernel mailing list