Commit 86c5ed12 authored by Chunfeng Yun's avatar Chunfeng Yun Committed by Matthias Brugger

arm64: dts: mediatek: mt8516: harmonize node names and compatibles

This is used to fix dtbs_check warning:
  harmonize node names and compatibles;
  add property "usb-role-switch" for connector dependence.
Signed-off-by: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210316092232.9806-8-chunfeng.yun@mediatek.comSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 357c5f71
...@@ -480,7 +480,7 @@ pwm: pwm@11008000 { ...@@ -480,7 +480,7 @@ pwm: pwm@11008000 {
}; };
usb0: usb@11100000 { usb0: usb@11100000 {
compatible = "mediatek,mtk-musb"; compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb";
reg = <0 0x11100000 0 0x1000>; reg = <0 0x11100000 0 0x1000>;
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "mc"; interrupt-names = "mc";
...@@ -493,7 +493,7 @@ usb0: usb@11100000 { ...@@ -493,7 +493,7 @@ usb0: usb@11100000 {
}; };
usb1: usb@11190000 { usb1: usb@11190000 {
compatible = "mediatek,mtk-musb"; compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb";
reg = <0 0x11190000 0 0x1000>; reg = <0 0x11190000 0 0x1000>;
interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "mc"; interrupt-names = "mc";
...@@ -506,8 +506,9 @@ usb1: usb@11190000 { ...@@ -506,8 +506,9 @@ usb1: usb@11190000 {
status = "disabled"; status = "disabled";
}; };
usb_phy: usb@11110000 { usb_phy: t-phy@11110000 {
compatible = "mediatek,generic-tphy-v1"; compatible = "mediatek,mt8516-tphy",
"mediatek,generic-tphy-v1";
reg = <0 0x11110000 0 0x800>; reg = <0 0x11110000 0 0x800>;
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
......
...@@ -188,6 +188,7 @@ eth_phy: ethernet-phy@0 { ...@@ -188,6 +188,7 @@ eth_phy: ethernet-phy@0 {
&usb0 { &usb0 {
status = "okay"; status = "okay";
dr_mode = "peripheral"; dr_mode = "peripheral";
usb-role-switch;
usb_con: connector { usb_con: connector {
compatible = "usb-c-connector"; compatible = "usb-c-connector";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment