]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: STi: Add fake reg property for miphy28lp_phy
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 18 Jan 2018 16:34:59 +0000 (17:34 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Mon, 12 Feb 2018 14:24:35 +0000 (15:24 +0100)
Add fake reg property to miphy28lp_phy.
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/miphy28lp missing or empty reg/ranges property

arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/miphy28lp missing or empty reg/ranges property

arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
Node /soc/miphy28lp missing or empty reg/ranges property

arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/miphy28lp 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-b2260.dts
arch/arm/boot/dts/stih418-b2199.dts
arch/arm/boot/dts/stihxxx-b2120.dtsi

index 1608c70f05a987dde12c5ec195dd2d3f1e40234e..e279cd07ba672d6cb9d855e43ef69e415ae13ad3 100644 (file)
@@ -389,12 +389,13 @@ usb2_picophy0: phy1 {
                        reset-names = "global", "port";
                };
 
-               miphy28lp_phy: miphy28lp {
+               miphy28lp_phy: miphy28lp@0 {
                        compatible = "st,miphy28lp-phy";
                        st,syscfg = <&syscfg_core>;
                        #address-cells  = <1>;
                        #size-cells     = <1>;
                        ranges;
+                       reg = <0 0>;
 
                        phy_port0: port@9b22000 {
                                reg = <0x9b22000 0xff>,
index 69c2abcaeda86a4fd742fdda0ad31536cd7c832a..cea5c840ca9f61aace908caa65d04932d30fdc18 100644 (file)
@@ -200,7 +200,7 @@ codec {
                        };
                };
 
-               miphy28lp_phy: miphy28lp {
+               miphy28lp_phy: miphy28lp@0 {
 
                        phy_port1: port@9b2a000 {
                                st,osc-force-ext;
index 1ce38ce79952ead0387e747493465f8bac0ad915..be0bbb05c5ec1febaf8073c0b29f419b6a113da3 100644 (file)
@@ -88,7 +88,7 @@ mmc0: sdhci@9060000 {
                        non-removable;
                };
 
-               miphy28lp_phy: miphy28lp {
+               miphy28lp_phy: miphy28lp@0 {
 
                        phy_port0: port@9b22000 {
                                st,osc-rdy;
index 1fd3a2b5b938286eb0d72bc38708a6e2c9331066..66c1c6a5eb76e9bd35f7ab32b864f54d26d92896 100644 (file)
@@ -80,7 +80,7 @@ hdmiddc: i2c@9541000 {
                        st,i2c-min-sda-pulse-width-us = <5>;
                };
 
-               miphy28lp_phy: miphy28lp {
+               miphy28lp_phy: miphy28lp@0 {
 
                        phy_port0: port@9b22000 {
                                st,osc-rdy;