From: Wenyou Yang Date: Tue, 8 Aug 2017 00:50:33 +0000 (+0800) Subject: ARM: dts: ethernut5: Fix the build warning X-Git-Tag: v2017.11-rc1~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e9f8f2f5101ee66804c29683fba90b8e307a314;p=platform%2Fkernel%2Fu-boot.git ARM: dts: ethernut5: Fix the build warning Fix the building warning as below: ---8<---- Warning (reg_format): "reg" property in /i2c-gpio-0/pcf8563@50 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c-gpio-0/pcf8563@50 Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c-gpio-0/pcf8563@50 --->8---- Signed-off-by: Wenyou Yang Reviewed-by: Tom Rini --- diff --git a/arch/arm/dts/ethernut5.dts b/arch/arm/dts/ethernut5.dts index e077152..5c24dea 100644 --- a/arch/arm/dts/ethernut5.dts +++ b/arch/arm/dts/ethernut5.dts @@ -84,6 +84,8 @@ }; i2c-gpio-0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; pcf8563@50 {