summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2017-05-03 15:10:22 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-05-10 16:16:09 +0200
commitefe8b9d0122e5ab25f7284a36a716cd6610e8ad4 (patch)
tree52598bbdedcaec14f52e7b558525ecdfabce4c02 /arch
parent18393f70f6854e80d34b3b12d3a9eca84bae0a45 (diff)
downloadu-boot-efe8b9d0122e5ab25f7284a36a716cd6610e8ad4.tar.gz
mips: bmips: add bcm6345-rst driver support for BCM6358
This driver can control up to 32 resets. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/dts/brcm,bcm6358.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi
index 369c240189..df75988c82 100644
--- a/arch/mips/dts/brcm,bcm6358.dtsi
+++ b/arch/mips/dts/brcm,bcm6358.dtsi
@@ -6,6 +6,7 @@
#include <dt-bindings/clock/bcm6358-clock.h>
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/reset/bcm6358-reset.h>
#include "skeleton.dtsi"
/ {
@@ -80,6 +81,12 @@
mask = <0x1>;
};
+ periph_rst: reset-controller@fffe0034 {
+ compatible = "brcm,bcm6345-reset";
+ reg = <0xfffe0034 0x4>;
+ #reset-cells = <1>;
+ };
+
gpio1: gpio-controller@fffe0080 {
compatible = "brcm,bcm6345-gpio";
reg = <0xfffe0080 0x4>, <0xfffe0088 0x4>;