]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: STi: Add fake reg property for remote processors
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 19 Jan 2018 08:09:05 +0000 (09:09 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Mon, 12 Feb 2018 14:24:37 +0000 (15:24 +0100)
As st231-gp0, st231-delta are part of SoC, we add a fake reg
property instead of moving all these nodes outside soc node.
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/st231-gp0 missing or empty reg/ranges property
arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/st231-delta missing or empty reg/ranges property
arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/delta0 missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/st231-gp0 missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/st231-delta missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/delta0 missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/st231-gp0 missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/st231-delta missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/delta0 missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/st231-gp0 missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/st231-delta missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/delta0 missing or empty reg/ranges property

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/boot/dts/stih407-family.dtsi
arch/arm/boot/dts/stih410.dtsi

index c8dc659fd14e0a02af43cf623d6d8564cab7745a..5a0bad07da9e4414e71976928cbfd3823bf6172e 100644 (file)
@@ -805,8 +805,9 @@ mailbox3: mailbox@8f03000 {
                        status          = "okay";
                };
 
-               st231_gp0: st231-gp0 {
+               st231_gp0: st231-gp0@0 {
                        compatible      = "st,st231-rproc";
+                       reg             = <0 0>;
                        memory-region   = <&gp0_reserved>;
                        resets          = <&softreset STIH407_ST231_GP0_SOFTRESET>;
                        reset-names     = "sw_reset";
@@ -818,8 +819,9 @@ st231_gp0: st231-gp0 {
                        mboxes = <&mailbox0 0 2>, <&mailbox2 0 1>, <&mailbox0 0 3>, <&mailbox2 0 0>;
                };
 
-               st231_delta: st231-delta {
+               st231_delta: st231-delta@0 {
                        compatible      = "st,st231-rproc";
+                       reg             = <0 0>;
                        memory-region   = <&delta_reserved>;
                        resets          = <&softreset STIH407_ST231_DMU_SOFTRESET>;
                        reset-names     = "sw_reset";
@@ -982,8 +984,9 @@ sti_uni_reader1: sti-uni-reader@8d84000 {
                        status = "disabled";
                };
 
-               delta0 {
+               delta0@0 {
                        compatible = "st,st-delta";
+                       reg = <0 0>;
                        clock-names = "delta",
                                      "delta-st231",
                                      "delta-flash-promip";
index d9f96470293396cf339bc8ea811ac8be32c3548c..815df2f7c1036d633f412b3f19af5109f1ac9eeb 100644 (file)
@@ -274,7 +274,7 @@ thermal@91a0000 {
                        interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
                };
 
-               delta0 {
+               delta0@0 {
                        compatible = "st,st-delta";
                        clock-names = "delta",
                                      "delta-st231",