* [PATCH 1/3] devicetree: Add bindings for the ATH79 reset controller
[not found] <1438622633-9407-1-git-send-email-albeu@free.fr>
@ 2015-08-03 17:23 ` Alban Bedel
2015-08-03 17:23 ` [PATCH 3/3] MIPS: ath79: Add the reset controller to the AR9132 dtsi Alban Bedel
1 sibling, 0 replies; 4+ messages in thread
From: Alban Bedel @ 2015-08-03 17:23 UTC (permalink / raw)
To: Philipp Zabel
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Ralf Baechle, devicetree, linux-kernel, linux-mips, Alban Bedel
Signed-off-by: Alban Bedel <albeu@free.fr>
---
.../devicetree/bindings/reset/ath79-reset.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/ath79-reset.txt
diff --git a/Documentation/devicetree/bindings/reset/ath79-reset.txt b/Documentation/devicetree/bindings/reset/ath79-reset.txt
new file mode 100644
index 0000000..4c56330
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/ath79-reset.txt
@@ -0,0 +1,20 @@
+Binding for Qualcomm Atheros AR7xxx/AR9XXX reset controller
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+Required Properties:
+- compatible: has to be "qca,<soctype>-reset", "qca,ar7100-reset"
+ as fallback
+- reg: Base address and size of the controllers memory area
+- #reset-cells : Specifies the number of cells needed to encode reset
+ line, should be 1
+
+Example:
+
+ reset-controller@1806001c {
+ compatible = "qca,ar9132-reset", "qca,ar7100-reset";
+ reg = <0x1806001c 0x4>;
+
+ #reset-cells = <1>;
+ };
--
2.0.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 3/3] MIPS: ath79: Add the reset controller to the AR9132 dtsi
[not found] <1438622633-9407-1-git-send-email-albeu@free.fr>
2015-08-03 17:23 ` [PATCH 1/3] devicetree: Add bindings for the ATH79 reset controller Alban Bedel
@ 2015-08-03 17:23 ` Alban Bedel
2015-08-03 18:23 ` Ralf Baechle
1 sibling, 1 reply; 4+ messages in thread
From: Alban Bedel @ 2015-08-03 17:23 UTC (permalink / raw)
To: Philipp Zabel
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Ralf Baechle, devicetree, linux-kernel, linux-mips, Alban Bedel
Signed-off-by: Alban Bedel <albeu@free.fr>
---
arch/mips/boot/dts/qca/ar9132.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/mips/boot/dts/qca/ar9132.dtsi b/arch/mips/boot/dts/qca/ar9132.dtsi
index 4759cff..fb7734e 100644
--- a/arch/mips/boot/dts/qca/ar9132.dtsi
+++ b/arch/mips/boot/dts/qca/ar9132.dtsi
@@ -115,6 +115,14 @@
interrupt-controller;
#interrupt-cells = <1>;
};
+
+ rst: reset-controller@1806001c {
+ compatible = "qca,ar9132-reset",
+ "qca,ar7100-reset";
+ reg = <0x1806001c 0x4>;
+
+ #reset-cells = <1>;
+ };
};
spi@1f000000 {
--
2.0.0
^ permalink raw reply [flat|nested] 4+ messages in thread