projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df704c
)
ARM: dts: ls1021a: add reboot node to .dtsi
author
Rasmus Villemoes
<rasmus.villemoes@prevas.dk>
Tue, 5 Dec 2017 08:12:47 +0000
(09:12 +0100)
committer
Shawn Guo
<shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000
(16:15 +0800)
The LS1021A can be reset via the dcfg regmap in the same way as the
arm64 layerscape SoCs, so add the corresponding DT node.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/ls1021a.dtsi
b/arch/arm/boot/dts/ls1021a.dtsi
index a861a4b9e319202f37733674d3105a311a12d9b2..2bd04cdd618fde3f207fb247c6e3dd7a2cc2a83d 100644
(file)
--- a/
arch/arm/boot/dts/ls1021a.dtsi
+++ b/
arch/arm/boot/dts/ls1021a.dtsi
@@
-108,6
+108,13
@@
<GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
};
+ reboot {
+ compatible = "syscon-reboot";
+ regmap = <&dcfg>;
+ offset = <0xb0>;
+ mask = <0x02>;
+ };
+
soc {
compatible = "simple-bus";
#address-cells = <2>;