diff options
author | Loic Pallardy <loic.pallardy@st.com> | 2016-11-16 07:57:00 -0500 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2016-11-23 03:09:03 -0500 |
commit | 86b4522d19329b3bf9c05722f217568b803439f7 (patch) | |
tree | dba50f6e3ab6fd38afe0a624bb66250d060ee9d9 /arch/arm/boot | |
parent | 5bf7b6e86f29f064979d7b3e6dd21c5dd1feb855 (diff) |
ARM: dts: STiH407-family: fix i2c nodes
The I2C nodes are missing #address-cells and #size-cells. This is
causing warning at device tree compilation when some I2C device
sub-nodes are defined.
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/stih407-family.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 91096a49efa9..8f79b4147bba 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi | |||
@@ -283,6 +283,8 @@ | |||
283 | clock-frequency = <400000>; | 283 | clock-frequency = <400000>; |
284 | pinctrl-names = "default"; | 284 | pinctrl-names = "default"; |
285 | pinctrl-0 = <&pinctrl_i2c0_default>; | 285 | pinctrl-0 = <&pinctrl_i2c0_default>; |
286 | #address-cells = <1>; | ||
287 | #size-cells = <0>; | ||
286 | 288 | ||
287 | status = "disabled"; | 289 | status = "disabled"; |
288 | }; | 290 | }; |
@@ -296,6 +298,8 @@ | |||
296 | clock-frequency = <400000>; | 298 | clock-frequency = <400000>; |
297 | pinctrl-names = "default"; | 299 | pinctrl-names = "default"; |
298 | pinctrl-0 = <&pinctrl_i2c1_default>; | 300 | pinctrl-0 = <&pinctrl_i2c1_default>; |
301 | #address-cells = <1>; | ||
302 | #size-cells = <0>; | ||
299 | 303 | ||
300 | status = "disabled"; | 304 | status = "disabled"; |
301 | }; | 305 | }; |
@@ -309,6 +313,8 @@ | |||
309 | clock-frequency = <400000>; | 313 | clock-frequency = <400000>; |
310 | pinctrl-names = "default"; | 314 | pinctrl-names = "default"; |
311 | pinctrl-0 = <&pinctrl_i2c2_default>; | 315 | pinctrl-0 = <&pinctrl_i2c2_default>; |
316 | #address-cells = <1>; | ||
317 | #size-cells = <0>; | ||
312 | 318 | ||
313 | status = "disabled"; | 319 | status = "disabled"; |
314 | }; | 320 | }; |
@@ -322,6 +328,8 @@ | |||
322 | clock-frequency = <400000>; | 328 | clock-frequency = <400000>; |
323 | pinctrl-names = "default"; | 329 | pinctrl-names = "default"; |
324 | pinctrl-0 = <&pinctrl_i2c3_default>; | 330 | pinctrl-0 = <&pinctrl_i2c3_default>; |
331 | #address-cells = <1>; | ||
332 | #size-cells = <0>; | ||
325 | 333 | ||
326 | status = "disabled"; | 334 | status = "disabled"; |
327 | }; | 335 | }; |
@@ -335,6 +343,8 @@ | |||
335 | clock-frequency = <400000>; | 343 | clock-frequency = <400000>; |
336 | pinctrl-names = "default"; | 344 | pinctrl-names = "default"; |
337 | pinctrl-0 = <&pinctrl_i2c4_default>; | 345 | pinctrl-0 = <&pinctrl_i2c4_default>; |
346 | #address-cells = <1>; | ||
347 | #size-cells = <0>; | ||
338 | 348 | ||
339 | status = "disabled"; | 349 | status = "disabled"; |
340 | }; | 350 | }; |
@@ -348,6 +358,8 @@ | |||
348 | clock-frequency = <400000>; | 358 | clock-frequency = <400000>; |
349 | pinctrl-names = "default"; | 359 | pinctrl-names = "default"; |
350 | pinctrl-0 = <&pinctrl_i2c5_default>; | 360 | pinctrl-0 = <&pinctrl_i2c5_default>; |
361 | #address-cells = <1>; | ||
362 | #size-cells = <0>; | ||
351 | 363 | ||
352 | status = "disabled"; | 364 | status = "disabled"; |
353 | }; | 365 | }; |
@@ -363,6 +375,8 @@ | |||
363 | clock-frequency = <400000>; | 375 | clock-frequency = <400000>; |
364 | pinctrl-names = "default"; | 376 | pinctrl-names = "default"; |
365 | pinctrl-0 = <&pinctrl_i2c10_default>; | 377 | pinctrl-0 = <&pinctrl_i2c10_default>; |
378 | #address-cells = <1>; | ||
379 | #size-cells = <0>; | ||
366 | 380 | ||
367 | status = "disabled"; | 381 | status = "disabled"; |
368 | }; | 382 | }; |
@@ -376,6 +390,8 @@ | |||
376 | clock-frequency = <400000>; | 390 | clock-frequency = <400000>; |
377 | pinctrl-names = "default"; | 391 | pinctrl-names = "default"; |
378 | pinctrl-0 = <&pinctrl_i2c11_default>; | 392 | pinctrl-0 = <&pinctrl_i2c11_default>; |
393 | #address-cells = <1>; | ||
394 | #size-cells = <0>; | ||
379 | 395 | ||
380 | status = "disabled"; | 396 | status = "disabled"; |
381 | }; | 397 | }; |