]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx7s: Avoid using label in unit address and reg
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 26 Dec 2017 19:59:45 +0000 (17:59 -0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 27 Dec 2017 02:52:39 +0000 (10:52 +0800)
As recommended by Rob Herring [1] labels should not be used in unit address
and reg, so use its real value directly instead.

[1] https://www.spinics.net/lists/devicetree/msg206567.html

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7s.dtsi

index 2ceb37d892d7fd761e0cea8bb8828685196e58b4..9aa2bb998552b78f3b9875ee570aec1496ba0fab 100644 (file)
@@ -600,9 +600,9 @@ pgc {
                                        #address-cells = <1>;
                                        #size-cells = <0>;
 
-                                       pgc_pcie_phy: pgc-power-domain@IMX7_POWER_DOMAIN_PCIE_PHY {
+                                       pgc_pcie_phy: pgc-power-domain@1 {
                                                #power-domain-cells = <0>;
-                                               reg = <IMX7_POWER_DOMAIN_PCIE_PHY>;
+                                               reg = <1>;
                                                power-supply = <&reg_1p0d>;
                                        };
                                };