Skip to content

Commit 6a28525

Browse files
committed
arm64: dts: mt7988: try to fix the empty reg/ranges error
arch/arm64/boot/dts/mediatek/mt7988a.dtsi:715.26-737.5: Warning (unit_address_vs_reg): /soc/xs-phy@11e10000: node has a unit name, but no reg or ranges property arch/arm64/boot/dts/mediatek/mt7988a.dtsi:685.24-706.5: Warning (simple_bus_reg): /soc/t-phy@11c50000: missing or empty reg/ranges property arch/arm64/boot/dts/mediatek/mt7988a.dtsi:715.26-737.5: Warning (simple_bus_reg): /soc/xs-phy@11e10000: missing or empty reg/ranges property
1 parent 7f630dd commit 6a28525

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

arch/arm64/boot/dts/mediatek/mt7988a.dtsi

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -685,20 +685,21 @@
685685
tphy: t-phy@11c50000 {
686686
compatible = "mediatek,mt7986-tphy",
687687
"mediatek,generic-tphy-v2";
688-
#address-cells = <2>;
689-
#size-cells = <2>;
688+
reg = <0 0x11c50000 0 0x1000>;
689+
#address-cells = <1>;
690+
#size-cells = <1>;
690691
ranges;
691692
status = "disabled";
692693

693694
tphyu2port0: usb-phy@11c50000 {
694-
reg = <0 0x11c50000 0 0x700>;
695+
reg = <0x0 0x700>;
695696
clocks = <&infracfg CLK_INFRA_USB_UTMI_CK_P1>;
696697
clock-names = "ref";
697698
#phy-cells = <1>;
698699
};
699700

700701
tphyu3port0: usb-phy@11c50700 {
701-
reg = <0 0x11c50700 0 0x900>;
702+
reg = <0x700 0x900>;
702703
clocks = <&infracfg CLK_INFRA_USB_PIPE_CK_P1>;
703704
clock-names = "ref";
704705
#phy-cells = <1>;
@@ -715,20 +716,21 @@
715716
xsphy: xs-phy@11e10000 {
716717
compatible = "mediatek,mt7988-xsphy",
717718
"mediatek,xsphy";
718-
#address-cells = <2>;
719-
#size-cells = <2>;
719+
reg = <0 0x11e10000 0 0x1000>;
720+
#address-cells = <1>;
721+
#size-cells = <1>;
720722
ranges;
721723
status = "disabled";
722724

723725
xphyu2port0: usb-phy@11e10000 {
724-
reg = <0 0x11e10000 0 0x400>;
726+
reg = <0x0 0x400>;
725727
clocks = <&infracfg CLK_INFRA_USB_UTMI>;
726728
clock-names = "ref";
727729
#phy-cells = <1>;
728730
};
729731

730732
xphyu3port0: usb-phy@11e13000 {
731-
reg = <0 0x11e13400 0 0x500>;
733+
reg = <0x400 0x500>;
732734
clocks = <&infracfg CLK_INFRA_USB_PIPE>;
733735
clock-names = "ref";
734736
#phy-cells = <1>;

0 commit comments

Comments
 (0)