diff options
author | Jacopo Mondi <jacopo+renesas@jmondi.org> | 2018-02-23 08:40:54 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-03-13 14:06:03 -0400 |
commit | ba8b5ad0afdda734001176f59d23a4ab31e61e7a (patch) | |
tree | f4c6d4ba85b2adb171d60127ec0ac0c8a30a4e77 | |
parent | 9e1b00a2ef43049617e1d3e99e258e7b2d9f98ea (diff) |
arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells
Add "#address-cells" and "#size-cells" properties to all place-holder nodes
that have children nodes defined by salvator-x[s].dtsi device tree.
This silences the following DTC compiler warnings:
Warning (reg_format): "reg" property in /soc/.. has invalid length (4 bytes)
(#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells
value for /soc/...
Warning (avoid_default_addr_size): Relying on default #size-cells value
for /soc/...
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a77965.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 4286453ba92d..61efb2d22257 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi | |||
@@ -521,6 +521,9 @@ | |||
521 | }; | 521 | }; |
522 | 522 | ||
523 | avb: ethernet@e6800000 { | 523 | avb: ethernet@e6800000 { |
524 | #address-cells = <1>; | ||
525 | #size-cells = <0>; | ||
526 | |||
524 | reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; | 527 | reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; |
525 | /* placeholder */ | 528 | /* placeholder */ |
526 | }; | 529 | }; |
@@ -528,11 +531,21 @@ | |||
528 | csi20: csi2@fea80000 { | 531 | csi20: csi2@fea80000 { |
529 | reg = <0 0xfea80000 0 0x10000>; | 532 | reg = <0 0xfea80000 0 0x10000>; |
530 | /* placeholder */ | 533 | /* placeholder */ |
534 | |||
535 | ports { | ||
536 | #address-cells = <1>; | ||
537 | #size-cells = <0>; | ||
538 | }; | ||
531 | }; | 539 | }; |
532 | 540 | ||
533 | csi40: csi2@feaa0000 { | 541 | csi40: csi2@feaa0000 { |
534 | reg = <0 0xfeaa0000 0 0x10000>; | 542 | reg = <0 0xfeaa0000 0 0x10000>; |
535 | /* placeholder */ | 543 | /* placeholder */ |
544 | |||
545 | ports { | ||
546 | #address-cells = <1>; | ||
547 | #size-cells = <0>; | ||
548 | }; | ||
536 | }; | 549 | }; |
537 | 550 | ||
538 | vin0: video@e6ef0000 { | 551 | vin0: video@e6ef0000 { |
@@ -611,6 +624,9 @@ | |||
611 | }; | 624 | }; |
612 | 625 | ||
613 | i2c2: i2c@e6510000 { | 626 | i2c2: i2c@e6510000 { |
627 | #address-cells = <1>; | ||
628 | #size-cells = <0>; | ||
629 | |||
614 | reg = <0 0xe6510000 0 0x40>; | 630 | reg = <0 0xe6510000 0 0x40>; |
615 | /* placeholder */ | 631 | /* placeholder */ |
616 | }; | 632 | }; |
@@ -621,6 +637,9 @@ | |||
621 | }; | 637 | }; |
622 | 638 | ||
623 | i2c4: i2c@e66d8000 { | 639 | i2c4: i2c@e66d8000 { |
640 | #address-cells = <1>; | ||
641 | #size-cells = <0>; | ||
642 | |||
624 | reg = <0 0xe66d8000 0 0x40>; | 643 | reg = <0 0xe66d8000 0 0x40>; |
625 | /* placeholder */ | 644 | /* placeholder */ |
626 | }; | 645 | }; |
@@ -636,6 +655,9 @@ | |||
636 | }; | 655 | }; |
637 | 656 | ||
638 | i2c_dvfs: i2c@e60b0000 { | 657 | i2c_dvfs: i2c@e60b0000 { |
658 | #address-cells = <1>; | ||
659 | #size-cells = <0>; | ||
660 | |||
639 | reg = <0 0xe60b0000 0 0x425>; | 661 | reg = <0 0xe60b0000 0 0x425>; |
640 | /* placeholder */ | 662 | /* placeholder */ |
641 | }; | 663 | }; |
@@ -681,6 +703,9 @@ | |||
681 | /* placeholder */ | 703 | /* placeholder */ |
682 | 704 | ||
683 | ports { | 705 | ports { |
706 | #address-cells = <1>; | ||
707 | #size-cells = <0>; | ||
708 | |||
684 | port@0 { | 709 | port@0 { |
685 | reg = <0>; | 710 | reg = <0>; |
686 | du_out_rgb: endpoint { | 711 | du_out_rgb: endpoint { |