summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-05-20 15:32:46 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2015-07-06 18:01:44 +0200
commit6cf15fc2a1aa062476c26e1895640d1c61f60a72 (patch)
tree4e728ec3d86220e63a3e2cccaf95fd0fbd5b59c9 /arch/arm64/boot
parentarm64: dts: mt8173: Use real clock for UARTs (diff)
downloadlinux-6cf15fc2a1aa062476c26e1895640d1c61f60a72.tar.xz
linux-6cf15fc2a1aa062476c26e1895640d1c61f60a72.zip
arm64: dts: mt8173: Add PMIC wrapper device node
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>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8173.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 9fbc4c190dc9..ba46fe5a4a56 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -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"
/ {
@@ -159,6 +160,17 @@
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";