Add basic node support for Mediatek MT8195 SoC
Subsystems (10)
v2 cover Add basic node support for Mediatek MT8195 SoC
MT8195 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA55 and 4 CA78 cores.
MT8195 share many HW IP with MT65xx series.
This patchset was tested on MT8195 evaluation board to shell.
Based on next-20210318
Changes in v2
Fix make dt_binding_check warning in mediatek,ufs-phy.yaml Update usb phy and ufs phy nodes in mt8195.dtsi
Seiya Wang (8):
dt-bindings: timer: Add compatible for Mediatek MT8195
dt-bindings: serial: Add compatible for Mediatek MT8195
dt-bindings: watchdog: Add compatible for Mediatek MT8195
dt-bindings: mmc: Add compatible for Mediatek MT8195
dt-bindings: iio: adc: Add compatible for Mediatek MT8195
dt-bindings: arm: Add compatible for Mediatek MT8195
dt-bindings: phy: fix dt_binding_check warning in
mediatek,ufs-phy.yaml
arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and
Makefile
.../devicetree/bindings/arm/mediatek.yaml | 4 + .../bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 + Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 1 + .../devicetree/bindings/phy/mediatek,ufs-phy.yaml | 8 +- .../devicetree/bindings/serial/mtk-uart.txt | 1 + .../bindings/timer/mediatek,mtk-timer.txt | 1 + .../devicetree/bindings/watchdog/mtk-wdt.txt | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 29 ++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 464 +++++++++++++++++++++ 10 files changed, 509 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsi
--
2.14.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 1/8 dt-bindings: timer: Add compatible for Mediatek MT8195
This commit adds dt-binding documentation of timer for Mediatek MT8195 SoC Platform.
--- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +1 -0
@@ -23,6 +23,7 @@ Required properties: For those SoCs that use SYST * "mediatek,mt8183-timer" for MT8183 compatible timers (SYST) * "mediatek,mt8192-timer" for MT8192 compatible timers (SYST) + * "mediatek,mt8195-timer" for MT8195 compatible timers (SYST) * "mediatek,mt7629-timer" for MT7629 compatible timers (SYST) * "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST)
Signature · 5 lines
2.14.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 1/8] dt-bindings: timer: Add compatible for Mediatek MT8195
Quoted 8 lines · Seiya Wang
This commit adds dt-binding documentation of timer for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>--- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + 1 file changed, 1 insertion(+)
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 1/8] dt-bindings: timer: Add compatible for Mediatek MT8195
In reply to Seiya WangQuoted 4 lines · Seiya Wang
This commit adds dt-binding documentation of timer for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>
Applied to v5.12-next/dts64
Thanks!
Quoted 17 lines
--- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +1
-0@@ -23,6 +23,7 @@ Required properties: For those SoCs that use SYST * "mediatek,mt8183-timer" for MT8183 compatible timers (SYST) * "mediatek,mt8192-timer" for MT8192 compatible timers (SYST) + * "mediatek,mt8195-timer" for MT8195 compatible timers (SYST) * "mediatek,mt7629-timer" for MT7629 compatible timers (SYST) * "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST)
Re: [PATCH v2 1/8] dt-bindings: timer: Add compatible for Mediatek MT8195
Quoted 9 lines · Matthias Brugger
Quoted 4 lines · Seiya Wang
This commit adds dt-binding documentation of timer for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>Applied to v5.12-next/dts64
Usually bindings go through the subsystem maintainer.
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Matthias Brugger
maintainerRe: [PATCH v2 1/8] dt-bindings: timer: Add compatible for Mediatek MT8195
Hi Daniel,
Quoted 4 lines · Daniel Lezcano
Quoted 3 lines · Matthias Brugger
On 19/03/2021 03:34, Seiya Wang wrote:
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
This commit adds dt-binding documentation of timer for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>Applied to v5.12-next/dts64
Usually bindings go through the subsystem maintainer.
Yes I know, although not all maintainers are taking them. I'll coordinate with you the next time, sorry for any inconvenience caused by this.
Regards,
Matthias
PATCH v2 2/8 dt-bindings: serial: Add compatible for Mediatek MT8195
In reply to Seiya WangThis commit adds dt-binding documentation of uart for Mediatek MT8195 SoC Platform.
--- Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/mtk-uart.txt +1 -0
@@ -20,6 +20,7 @@ Required properties: * "mediatek,mt8173-uart" for MT8173 compatible UARTS * "mediatek,mt8183-uart", "mediatek,mt6577-uart" for MT8183 compatible UARTS * "mediatek,mt8192-uart", "mediatek,mt6577-uart" for MT8192 compatible UARTS + * "mediatek,mt8195-uart", "mediatek,mt6577-uart" for MT8195 compatible UARTS * "mediatek,mt8516-uart" for MT8516 compatible UARTS * "mediatek,mt6577-uart" for MT6577 and all of the above
Signature · 5 lines
2.14.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 2/8] dt-bindings: serial: Add compatible for Mediatek MT8195
Quoted 4 lines · Seiya Wang
This commit adds dt-binding documentation of uart for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>
Applied to v5.12-next/dts64
Thanks!
Quoted 17 lines
--- Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/serial/mtk-uart.txt +1
-0@@ -20,6 +20,7 @@ Required properties: * "mediatek,mt8173-uart" for MT8173 compatible UARTS * "mediatek,mt8183-uart", "mediatek,mt6577-uart" for MT8183 compatible UARTS * "mediatek,mt8192-uart", "mediatek,mt6577-uart" for MT8192 compatible UARTS + * "mediatek,mt8195-uart", "mediatek,mt6577-uart" for MT8195 compatible UARTS * "mediatek,mt8516-uart" for MT8516 compatible UARTS * "mediatek,mt6577-uart" for MT6577 and all of the above
PATCH v2 3/8 dt-bindings: watchdog: Add compatible for Mediatek MT8195
In reply to Seiya WangThis commit adds dt-binding documentation of watchdog for Mediatek MT8195 SoC Platform.
--- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +1 -0
@@ -13,6 +13,7 @@ Required properties: "mediatek,mt8183-wdt": for MT8183 "mediatek,mt8516-wdt", "mediatek,mt6589-wdt": for MT8516 "mediatek,mt8192-wdt": for MT8192 + "mediatek,mt8195-wdt", "mediatek,mt6589-wdt": for MT8195 - reg : Specifies base physical address and size of the registers.
Signature · 5 lines
2.14.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 3/8] dt-bindings: watchdog: Add compatible for Mediatek MT8195
Quoted 9 lines · Seiya Wang
This commit adds dt-binding documentation of watchdog for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>Reviewed-by Guenter Roeck <[email protected]>--- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+)
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Matthias Brugger
maintainerRe: [PATCH v2 3/8] dt-bindings: watchdog: Add compatible for Mediatek MT8195
Hi Wim,
Quoted 4 lines · Rob Herring
Quoted 3 lines · Seiya Wang
This commit adds dt-binding documentation of watchdog for Mediatek MT8195 SoC Platform.
Quoted 9 lines
Quoted 6 lines
Signed-off-by Seiya Wang <[email protected]>Reviewed-by Guenter Roeck <[email protected]>--- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+)Acked-by Rob Herring <[email protected]>
I suppose you will take this patch through your tree. If you want me to take it through the MediaTek SoC tree, please let me know.
Regards,
Matthias
PATCH v2 4/8 dt-bindings: mmc: Add compatible for Mediatek MT8195
In reply to Seiya WangThis commit adds dt-binding documentation of mmc for Mediatek MT8195 SoC Platform.
--- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/mtk-sd.yaml +1 -0
@@ -31,6 +31,7 @@ properties: - const: mediatek,mt2701-mmc - items: - const: mediatek,mt8192-mmc + - const: mediatek,mt8195-mmc - const: mediatek,mt8183-mmc clocks:
Signature · 5 lines
2.14.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 4/8] dt-bindings: mmc: Add compatible for Mediatek MT8195
Quoted 5 lines · Seiya Wang
This commit adds dt-binding documentation of mmc for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
Quoted 17 lines
--- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/mmc/mtk-sd.yaml +1
-1@@ -31,6 +31,7 @@ properties: - const: mediatek,mt2701-mmc - items: - const: mediatek,mt8192-mmc + - const: mediatek,mt8195-mmc - const: mediatek,mt8183-mmc clocks: --
Quoted 2 lines
2.14.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 5/8 dt-bindings: iio: adc: Add compatible for Mediatek MT8195
In reply to Seiya WangThis commit adds dt-binding documentation of auxadc for Mediatek MT8195 SoC Platform.
--- Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml +1 -0
@@ -34,6 +34,7 @@ properties: - items: - enum: - mediatek,mt8183-auxadc + - mediatek,mt8195-auxadc - mediatek,mt8516-auxadc - const: mediatek,mt8173-auxadc
Signature · 1 line
2.14.1
Jonathan Cameron
maintainerRe: [PATCH v2 5/8] dt-bindings: iio: adc: Add compatible for Mediatek MT8195
Quoted 4 lines · On Fri, 19 Mar 2021 10:34:24 +0800 Seiya Wang <[email protected]> wrote:
This commit adds dt-binding documentation of auxadc for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for the normal autobuilder fun and games.
Thanks,
Jonathan
Quoted 9 lines
--- Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml +0
-0
Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml properties: · line 40
Quoted 7 lines
Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml +1
-0@@ -34,6 +34,7 @@ properties: - items: - enum: - mediatek,mt8183-auxadc + - mediatek,mt8195-auxadc - mediatek,mt8516-auxadc - const: mediatek,mt8173-auxadc
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 5/8] dt-bindings: iio: adc: Add compatible for Mediatek MT8195
In reply to Seiya WangQuoted 8 lines · Seiya Wang
This commit adds dt-binding documentation of auxadc for Mediatek MT8195 SoC Platform.
Signed-off-by Seiya Wang <[email protected]>--- Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 + 1 file changed, 1 insertion(+)
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 6/8 dt-bindings: arm: Add compatible for Mediatek MT8195
In reply to Seiya WangThis commit adds dt-binding documentation for the Mediatek MT8195 reference board.
--- Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +4 -0
@@ -118,6 +118,10 @@ properties: - enum: - mediatek,mt8183-evb - const: mediatek,mt8183 + - items: + - enum: + - mediatek,mt8195-evb + - const: mediatek,mt8195 - description: Google Krane (Lenovo IdeaPad Duet, 10e,...) items: - enum:
Signature · 1 line
2.14.1
Re: [PATCH v2 6/8] dt-bindings: arm: Add compatible for Mediatek MT8195
Quoted 8 lines · Seiya Wang
This commit adds dt-binding documentation for the Mediatek MT8195 reference board.
Signed-off-by Seiya Wang <[email protected]>--- Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++ 1 file changed, 4 insertions(+)
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 6/8] dt-bindings: arm: Add compatible for Mediatek MT8195
In reply to Seiya WangQuoted 4 lines · Seiya Wang
This commit adds dt-binding documentation for the Mediatek MT8195 reference board.
Signed-off-by Seiya Wang <[email protected]>
Applied to v5.12-next/dts64
Thanks!
Quoted 20 lines
--- Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++ 1 file changed, 4 insertions(+)Documentation/devicetree/bindings/arm/mediatek.yaml +4
-0@@ -118,6 +118,10 @@ properties: - enum: - mediatek,mt8183-evb - const: mediatek,mt8183 + - items: + - enum: + - mediatek,mt8195-evb + - const: mediatek,mt8195 - description: Google Krane (Lenovo IdeaPad Duet, 10e,...) items: - enum:
PATCH v2 7/8 dt-bindings: phy: fix dt_binding_check warning in mediatek,ufs-phy.yaml
In reply to Seiya WangThis commit fixes the warning messages of make dt_binding_check from newly added mediatek,mt8195-ufsphy in mediatek,ufs-phy.yaml
--- Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml +6 -2
@@ -22,8 +22,12 @@ properties: pattern: "^ufs-phy@[0-9a-f]+$" compatible: - enum: mediatek,mt8195-ufsphy - const: mediatek,mt8183-ufsphy + oneOf: + - items: + - enum: + - mediatek,mt8195-ufsphy + - const: mediatek,mt8183-ufsphy + - const: mediatek,mt8183-ufsphy reg: maxItems: 1
Signature · 1 line
2.14.1
Re: [PATCH v2 7/8] dt-bindings: phy: fix dt_binding_check warning in mediatek, ufs-phy.yaml
Quoted 8 lines · Seiya Wang
This commit fixes the warning messages of make
dt_binding_checkfrom newly added mediatek,mt8195-ufsphy in mediatek,ufs-phy.yamlSigned-off-by Seiya Wang <[email protected]>--- Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 7/8] dt-bindings: phy: fix dt_binding_check warning in mediatek,ufs-phy.yaml
In reply to Seiya WangQuoted 2 lines · Seiya Wang
This commit fixes the warning messages of make
dt_binding_checkfrom newly added mediatek,mt8195-ufsphy in mediatek,ufs-phy.yaml
Applied, thanks
Signature · 6 lines
~Vinod _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 8/8 arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and Makefile
In reply to Seiya WangAdd basic chip support for Mediatek MT8195
--- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 29 ++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 464 ++++++++++++++++++++++++++++ 3 files changed, 494 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsi
arch/arm64/boot/dts/mediatek/Makefile +1 -0
@@ -16,4 +16,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
arch/arm64/boot/dts/mediatek/mt8195-evb.dts new file +29 -0
@@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2021 MediaTek Inc. + * Author: Seiya Wang <[email protected]> + */ +/dts-v1/; +#include "mt8195.dtsi" + +/ { + model = "MediaTek MT8195 evaluation board"; + compatible = "mediatek,mt8195-evb", "mediatek,mt8195"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; +}; + +&uart0 { + status = "okay"; +};
arch/arm64/boot/dts/mediatek/mt8195.dtsi new file +464 -0
464 lines not on this page · raw message
Signature · 1 line
2.14.1
Re: [PATCH v2 8/8] arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and Makefile
Quoted 35 lines · Seiya Wang
Add basic chip support for Mediatek MT8195
Signed-off-by Seiya Wang <[email protected]>--- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 29 ++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 464 ++++++++++++++++++++++++++++ 3 files changed, 494 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsiarch/arm64/boot/dts/mediatek/Makefile +1
-0@@ -16,4 +16,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtbarch/arm64/boot/dts/mediatek/mt8195-evb.dts new file +8
-0@@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2021 MediaTek Inc. + * Author: Seiya Wang <[email protected]> + */ +/dts-v1/; +#include "mt8195.dtsi" +
[...]
Quoted 85 lines
arch/arm64/boot/dts/mediatek/mt8195-evb.dts new file +85
-0+ nor_flash: nor@1132c000 { + compatible = "mediatek,mt8195-nor", "mediatek,mt8173-nor"; + reg = <0 0x1132c000 0 0x1000>; + interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&clk26m>, <&clk26m>; + clock-names = "spi", "sf"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + u3phy2: t-phy@11c40000 { + compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v2"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x11c40000 0x700>; + status = "disabled"; + + u2port2: usb-phy@0 { + reg = <0x0 0x700>; + clocks = <&clk26m>; + clock-names = "ref"; + #phy-cells = <1>; + }; + }; + + u3phy3: t-phy@11c50000 { + compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v2"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x11c50000 0x700>; + status = "disabled"; + + u2port3: usb-phy@0 { + reg = <0x0 0x700>; + clocks = <&clk26m>; + clock-names = "ref"; + #phy-cells = <1>; + }; + }; + + u3phy1: t-phy@11e30000 { + compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v2"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x11e30000 0xe00>; + status = "disabled"; + + u2port1: usb-phy@0 { + reg = <0x0 0x700>; + clocks = <&clk26m>; + clock-names = "ref"; + #phy-cells = <1>; + }; + + u3port1: usb-phy@700 { + reg = <0x700 0x700>; + clocks = <&clk26m>; + clock-names = "ref"; + #phy-cells = <1>; + }; + }; + + u3phy0: t-phy@11e40000 { + compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v2"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x11e40000 0xe00>; + status = "disabled"; + + u2port0: usb-phy@0 { + reg = <0x0 0x700>; + clocks = <&clk26m>; + clock-names = "ref"; + #phy-cells = <1>; + }; + + u3port0: usb-phy@700 { + reg = <0x700 0x700>; + clocks = <&clk26m>; + clock-names = "ref"; + #phy-cells = <1>; + }; + }; +
arch/arm64/boot/dts/mediatek/mt8195-evb.dts
Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt8195-evb.dts new file +10
-0+ ufsphy: phy@11fa0000 { + compatible = "mediatek,mt8195-ufsphy", "mediatek,mt8183-ufsphy"; + reg = <0 0x11fa0000 0 0xc000>; + clocks = <&clk26m>, <&clk26m>; + clock-names = "unipro", "mp"; + #phy-cells = <0>; + status = "disabled"; + }; + }; +};
phy part:
Thank you