ARM: dts: am335x: Fix TDA998x ports addressing
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Nov 2022 16:11:09 +0000 (17:11 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 22 Nov 2022 07:17:03 +0000 (09:17 +0200)
Fix addressing in the NXP TDA998x HDMI transmitters' subnodes:
  - Add missing #{address,size}-cells properties to ports capsule,
  - Add missing reg properties to port child nodes,
  - Drop bogus unit addresses from endpoint grandchildren nodes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Message-Id: <e9ac64d29bc18b3b394fd9a2abbfeafacc624f98.1669047037.git.geert+renesas@glider.be>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
arch/arm/boot/dts/am335x-myirtech-myd.dts

index 7cfddada934861bc1da2db9af61317a79707068b..486f24deb875c688313fe525c586970da0ff8dc4 100644 (file)
                audio-ports = < TDA998x_I2S     0x03>;
 
                ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        port@0 {
-                               hdmi_0: endpoint@0 {
+                               reg = <0>;
+
+                               hdmi_0: endpoint {
                                        remote-endpoint = <&lcdc_0>;
                                };
                        };
index 9d81d4cc6890eea98ef359f00165ff4c1db11246..425ad9b81a68ab182c43fcf842cf9665884f9285 100644 (file)
                #sound-dai-cells = <0>;
 
                ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        port@0 {
-                               hdmi_0: endpoint@0 {
+                               reg = <0>;
+
+                               hdmi_0: endpoint {
                                        remote-endpoint = <&lcdc_0>;
                                };
                        };