From: Quanyang Wang <quanyang.w...@windriver.com>

The dtc has new checks for I2C and SPI buses.
Fix the warnings in node names and unit-addresses.

Warning from Linux kernel:
arch/arm/boot/dts/zynq-zc702.dts:187.13-190.6: Warning (i2c_bus_reg): 
/amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@52: I2C bus unit address format 
error, expected "34"
arch/arm/boot/dts/zynq-zc702.dts:191.13-194.6: Warning (i2c_bus_reg): 
/amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@53: I2C bus unit address format 
error, expected "35"
arch/arm/boot/dts/zynq-zc702.dts:195.13-198.6: Warning (i2c_bus_reg): 
/amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@54: I2C bus unit address format 
error, expected "36"

Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com>
Signed-off-by: Michal Simek <michal.si...@xilinx.com>
---

 arch/arm/dts/zynq-zc702.dts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
index d10695740fa9..b043d341d680 100644
--- a/arch/arm/dts/zynq-zc702.dts
+++ b/arch/arm/dts/zynq-zc702.dts
@@ -181,17 +181,17 @@
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <7>;
-                       hwmon@52 {
+                       hwmon@34 {
                                compatible = "ti,ucd9248";
-                               reg = <52>;
+                               reg = <0x34>;
                        };
-                       hwmon@53 {
+                       hwmon@35 {
                                compatible = "ti,ucd9248";
-                               reg = <53>;
+                               reg = <0x35>;
                        };
-                       hwmon@54 {
+                       hwmon@36 {
                                compatible = "ti,ucd9248";
-                               reg = <54>;
+                               reg = <0x36>;
                        };
                };
        };
-- 
2.25.0

Reply via email to