]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: mt8173: Add PMIC wrapper device node
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 20 May 2015 13:32:46 +0000 (15:32 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 6 Jul 2015 16:01:44 +0000 (18:01 +0200)
This adds the device node for the PMIC wrapper.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173.dtsi

index 9fbc4c190dc9f3449471e65c32679403537e2242..ba46fe5a4a568938b51d3e991bf56d8b0b86da75 100644 (file)
@@ -14,6 +14,7 @@
 #include <dt-bindings/clock/mt8173-clk.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/reset-controller/mt8173-resets.h>
 #include "mt8173-pinfunc.h"
 
 / {
                        reg = <0 0x10005000 0 0x1000>;
                };
 
+               pwrap: pwrap@1000d000 {
+                       compatible = "mediatek,mt8173-pwrap";
+                       reg = <0 0x1000d000 0 0x1000>;
+                       reg-names = "pwrap";
+                       interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
+                       resets = <&infracfg MT8173_INFRA_PMIC_WRAP_RST>;
+                       reset-names = "pwrap";
+                       clocks = <&infracfg CLK_INFRA_PMICSPI>, <&infracfg CLK_INFRA_PMICWRAP>;
+                       clock-names = "spi", "wrap";
+               };
+
                sysirq: intpol-controller@10200620 {
                        compatible = "mediatek,mt8173-sysirq",
                                     "mediatek,mt6577-sysirq";