[PATCH 3/7] arm64: dts: Add X-Gene reboot driver dts node

2014-10-23 Thread Feng Kan
Add X-Gene platform reboot driver dts node.

Signed-off-by: Feng Kan 
---
 arch/arm64/boot/dts/apm-storm.dtsi | 12 
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/apm-storm.dtsi 
b/arch/arm64/boot/dts/apm-storm.dtsi
index a80f2fa..9532aa3 100644
--- a/arch/arm64/boot/dts/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm-storm.dtsi
@@ -103,6 +103,11 @@
#size-cells = <2>;
ranges;
 
+   scu: system-clk-controller@1700 {
+   compatible = "apm,xgene-scu","syscon";
+   reg = <0x0 0x1700 0x0 0x400>;
+   };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
@@ -354,6 +359,13 @@
};
};
 
+   reboot: reboot@1714 {
+   compatible = "syscon-reboot";
+   regmap = <>;
+   offset = <0x14>;
+   mask = <0x1>;
+   };
+
pcie0: pcie@1f2b {
status = "disabled";
device_type = "pci";
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 3/7] arm64: dts: Add X-Gene reboot driver dts node

2014-10-23 Thread Feng Kan
Add X-Gene platform reboot driver dts node.

Signed-off-by: Feng Kan f...@apm.com
---
 arch/arm64/boot/dts/apm-storm.dtsi | 12 
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/apm-storm.dtsi 
b/arch/arm64/boot/dts/apm-storm.dtsi
index a80f2fa..9532aa3 100644
--- a/arch/arm64/boot/dts/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm-storm.dtsi
@@ -103,6 +103,11 @@
#size-cells = 2;
ranges;
 
+   scu: system-clk-controller@1700 {
+   compatible = apm,xgene-scu,syscon;
+   reg = 0x0 0x1700 0x0 0x400;
+   };
+
clocks {
#address-cells = 2;
#size-cells = 2;
@@ -354,6 +359,13 @@
};
};
 
+   reboot: reboot@1714 {
+   compatible = syscon-reboot;
+   regmap = scu;
+   offset = 0x14;
+   mask = 0x1;
+   };
+
pcie0: pcie@1f2b {
status = disabled;
device_type = pci;
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/