summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-04-24 01:57:21 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2015-05-13 21:09:27 +0300
commit8ab1428864d39e94b4d7842fe1e81b4f08bffd66 (patch)
treee6fb62e06882db18caba07e42a981370bb5bd91f
parentac61cf8a01924b0794d0eda80688714368e27d0b (diff)
downloadlinux-8ab1428864d39e94b4d7842fe1e81b4f08bffd66.tar.xz
ARM: dts: BCM63xx: Add timer and syscon-reboot nodes
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>
-rw-r--r--arch/arm/boot/dts/bcm63138.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm63138.dtsi b/arch/arm/boot/dts/bcm63138.dtsi
index c7175487d7d7..0ad836f310f1 100644
--- a/arch/arm/boot/dts/bcm63138.dtsi
+++ b/arch/arm/boot/dts/bcm63138.dtsi
@@ -140,6 +140,11 @@
#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>;
@@ -162,5 +167,12 @@
compatible = "brcm,bcm63138-bootlut";
reg = <0x8000 0x50>;
};
+
+ reboot {
+ compatible = "syscon-reboot";
+ regmap = <&timer>;
+ offset = <0x34>;
+ mask = <1>;
+ };
};
};