Commit a3888717 authored by Patrice Chotard's avatar Patrice Chotard

ARM: dts: STi: Add fake reg for restart, powerdown and picophy/softreset

Add fake reg property for restart, powerdown, picophyreset
and softreset.
This allows to fix the following warning when compiling
dtb with W=1 option:

arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/restart missing or empty reg/ranges property
arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/powerdown-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/softreset-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/picophyreset-controller missing or empty reg/ranges property

arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/restart missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/powerdown-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/softreset-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/picophyreset-controller missing or empty reg/ranges property

arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/restart missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/powerdown-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/softreset-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/picophyreset-controller missing or empty reg/ranges property

arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/restart missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/powerdown-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/softreset-controller missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/picophyreset-controller missing or empty reg/ranges property
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 5eccdffb
...@@ -125,24 +125,28 @@ soc { ...@@ -125,24 +125,28 @@ soc {
ranges; ranges;
compatible = "simple-bus"; compatible = "simple-bus";
restart { restart: restart-controller@0 {
compatible = "st,stih407-restart"; compatible = "st,stih407-restart";
reg = <0 0>;
st,syscfg = <&syscfg_sbc_reg>; st,syscfg = <&syscfg_sbc_reg>;
status = "okay"; status = "okay";
}; };
powerdown: powerdown-controller { powerdown: powerdown-controller@0 {
compatible = "st,stih407-powerdown"; compatible = "st,stih407-powerdown";
reg = <0 0>;
#reset-cells = <1>; #reset-cells = <1>;
}; };
softreset: softreset-controller { softreset: softreset-controller@0 {
compatible = "st,stih407-softreset"; compatible = "st,stih407-softreset";
reg = <0 0>;
#reset-cells = <1>; #reset-cells = <1>;
}; };
picophyreset: picophyreset-controller { picophyreset: picophyreset-controller@0 {
compatible = "st,stih407-picophyreset"; compatible = "st,stih407-picophyreset";
reg = <0 0>;
#reset-cells = <1>; #reset-cells = <1>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment