]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: dts: mt7623: add pmic wrapper nodes to the mt7623 dtsi file
authorJohn Crispin <john@phrozen.org>
Wed, 26 Apr 2017 09:25:52 +0000 (17:25 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:08 +0000 (10:47 +0200)
Add PMIC wrapper node to the mt7623.dtsi file which
is necessary for the control of PMIC from Mediatek.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623.dtsi

index e77e242b3de109a99117ff083d5aaa39fe052c64..1bc6786915167e5593c4bbb89e26645fae1e0732 100644 (file)
                clock-names = "system-clk", "rtc-clk";
        };
 
+       pwrap: pwrap@1000d000 {
+               compatible = "mediatek,mt7623-pwrap",
+                            "mediatek,mt2701-pwrap";
+               reg = <0 0x1000d000 0 0x1000>;
+               reg-names = "pwrap";
+               interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&infracfg MT2701_INFRA_PMIC_WRAP_RST>;
+               reset-names = "pwrap";
+               clocks = <&infracfg CLK_INFRA_PMICSPI>,
+                        <&infracfg CLK_INFRA_PMICWRAP>;
+               clock-names = "spi", "wrap";
+       };
+
        sysirq: interrupt-controller@10200100 {
                compatible = "mediatek,mt7623-sysirq",
                             "mediatek,mt6577-sysirq";