ARM: dts: BCM63xx: Add timer and syscon-reboot nodes
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 Apr 2015 22:57:21 +0000 (15:57 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 13 May 2015 18:09:27 +0000 (11:09 -0700)
Add a "brcm,bcm6328-timer" and "syscon-reboot" nodes to allow the
generic syscon-reboot driver to reset a BCM63138 SoC.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm63138.dtsi

index c7175487d7d747c5814252c4117d3a460571d615..0ad836f310f1644b2b5496845aff3f6d28eb68e2 100644 (file)
                #size-cells = <1>;
                ranges = <0 0xfffe8000 0x8100>;
 
+               timer: timer@80 {
+                       compatible = "brcm,bcm6328-timer", "syscon";
+                       reg = <0x80 0x3c>;
+               };
+
                serial0: serial@600 {
                        compatible = "brcm,bcm6345-uart";
                        reg = <0x600 0x1b>;
                        compatible = "brcm,bcm63138-bootlut";
                        reg = <0x8000 0x50>;
                };
+
+               reboot {
+                       compatible = "syscon-reboot";
+                       regmap = <&timer>;
+                       offset = <0x34>;
+                       mask = <1>;
+               };
        };
 };