From: Sascha Hauer Date: Tue, 7 Jul 2015 12:45:11 +0000 (+0200) Subject: ARM: dts: mt8135: Add pmic wrapper nodes X-Git-Tag: firefly_0821_release~176^2~1183^2~39^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8dd29d28ac83891b2526d8aeec755c3ac49aa138;p=firefly-linux-kernel-4.4.55.git ARM: dts: mt8135: Add pmic wrapper nodes This adds the pmic wrapper node to the MediaTek MT8135 dtsi file. This unit is used to access the PMIC on MediaTek boards. Signed-off-by: Sascha Hauer Signed-off-by: Matthias Brugger --- diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi index b99e48803e53..36ff82aceacb 100644 --- a/arch/arm/boot/dts/mt8135.dtsi +++ b/arch/arm/boot/dts/mt8135.dtsi @@ -15,6 +15,7 @@ #include #include #include +#include #include "skeleton64.dtsi" #include "mt8135-pinfunc.h" @@ -160,6 +161,19 @@ clock-names = "system-clk", "rtc-clk"; }; + pwrap: pwrap@1000f000 { + compatible = "mediatek,mt8135-pwrap"; + reg = <0 0x1000f000 0 0x1000>, + <0 0x11017000 0 0x1000>; + reg-names = "pwrap", "pwrap-bridge"; + interrupts = ; + resets = <&infracfg MT8135_INFRA_PMIC_WRAP_RST>, + <&pericfg MT8135_PERI_PWRAP_BRIDGE_SW_RST>; + reset-names = "pwrap", "pwrap-bridge"; + clocks = <&clk26m>, <&clk26m>; + clock-names = "spi", "wrap"; + }; + sysirq: interrupt-controller@10200030 { compatible = "mediatek,mt8135-sysirq", "mediatek,mt6577-sysirq";