arm64: dts: qcom: sc7280: fix EUD port properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 8 Mar 2023 12:59:05 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:08 +0000 (23:03 +0900)
[ Upstream commit a369c74243ca4ad60b9de0ac5c2207fb4c4117b8 ]

Nodes with unit addresses must have also 'reg' property:

  sc7280-herobrine-crd.dtb: eud@88e0000: ports:port@0: 'reg' is a required property

Fixes: 0b059979090d ("arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230308125906.236885-10-krzysztof.kozlowski@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index 346da6a..023ce83 100644 (file)
                              <0 0x88e2000 0 0x1000>;
                        interrupts-extended = <&pdc 11 IRQ_TYPE_LEVEL_HIGH>;
                        ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
                                port@0 {
+                                       reg = <0>;
                                        eud_ep: endpoint {
                                                remote-endpoint = <&usb2_role_switch>;
                                        };
                                };
                                port@1 {
+                                       reg = <1>;
                                        eud_con: endpoint {
                                                remote-endpoint = <&con_eud>;
                                        };
                eud_typec: connector {
                        compatible = "usb-c-connector";
                        ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
                                port@0 {
+                                       reg = <0>;
                                        con_eud: endpoint {
                                                remote-endpoint = <&eud_con>;
                                        };