Skip to contentSkip to conversation

ARM: dts: ethernut5: Fix the build warning

PATCH In review Wenyou Yang 2 participants 3 messages Aug 8, 2017 – Sep 14, 2017 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: ethernut5: Fix the build warning

Fix the building warning as below:
---8<----
Warning (reg_format): "reg" property in /i2c-gpio-0/pcf8563 at 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 at 50
Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c-gpio-0/pcf8563@50
--->8----

---

 arch/arm/dts/ethernut5.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/ethernut5.dts +2 -0
index e07715225f..5c24deaf4b 100644
@@ -84,6 +84,8 @@
 	};
 
 	i2c-gpio-0 {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		status = "okay";
 
 		pcf8563 at 50 {
Signature · 1 line
2.13.0
#1 lore raw

PATCH 1/1 ARM: dts: ethernut5: Fix the build warning

Quoted 1 line · Wenyou Yang

Fix the building warning as below:

But you need to submit this for Linux as well, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170809/a1a036a1/attachment.sig>
#2 lore raw
In reply to Wenyou Yang
Quoted 1 line · Wenyou Yang

Fix the building warning as below:

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/ced73eae/attachment.sig>