arm64: dts: mt8192: Add usb-phy node
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>
Fri, 18 Mar 2022 14:45:17 +0000 (22:45 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 4 Apr 2022 12:09:37 +0000 (14:09 +0200)
Add xhci node for mt8192 SoC.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220318144534.17996-6-allen-kh.cheng@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8192.dtsi

index 4f26a39..946ebcb 100644 (file)
                        #clock-cells = <1>;
                };
 
+               u3phy0: t-phy@11e40000 {
+                       compatible = "mediatek,mt8192-tphy",
+                                    "mediatek,generic-tphy-v2";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0x0 0x0 0x11e40000 0x1000>;
+
+                       u2port0: usb-phy@0 {
+                               reg = <0x0 0x700>;
+                               clocks = <&clk26m>;
+                               clock-names = "ref";
+                               #phy-cells = <1>;
+                       };
+
+                       u3port0: usb-phy@700 {
+                               reg = <0x700 0x900>;
+                               clocks = <&clk26m>;
+                               clock-names = "ref";
+                               #phy-cells = <1>;
+                       };
+               };
+
                i2c0: i2c@11f00000 {
                        compatible = "mediatek,mt8192-i2c";
                        reg = <0 0x11f00000 0 0x1000>,