[PATCH v5 13/13] arm: dts: mt2701: harmonize node names and compatibles

Matthias Brugger matthias.bgg at gmail.com
Mon Mar 29 14:47:40 BST 2021



On 16/03/2021 10:22, Chunfeng Yun wrote:
> This is used to fix dtbs_check warning
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>


Applied now to v5.12-next/dts32

> ---
> v2~v5: no changes
> ---
>  arch/arm/boot/dts/mt2701.dtsi | 19 +++++++++++--------
>  1 file changed, 11 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index fade14284017..4776f85d6d5b 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -607,7 +607,7 @@
>  	};
>  
>  	usb0: usb at 1a1c0000 {
> -		compatible = "mediatek,mt8173-xhci";
> +		compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci";
>  		reg = <0 0x1a1c0000 0 0x1000>,
>  		      <0 0x1a1c4700 0 0x0100>;
>  		reg-names = "mac", "ippc";
> @@ -620,8 +620,9 @@
>  		status = "disabled";
>  	};
>  
> -	u3phy0: usb-phy at 1a1c4000 {
> -		compatible = "mediatek,mt2701-u3phy";
> +	u3phy0: t-phy at 1a1c4000 {
> +		compatible = "mediatek,mt2701-tphy",
> +			     "mediatek,generic-tphy-v1";
>  		reg = <0 0x1a1c4000 0 0x0700>;
>  		#address-cells = <2>;
>  		#size-cells = <2>;
> @@ -646,7 +647,7 @@
>  	};
>  
>  	usb1: usb at 1a240000 {
> -		compatible = "mediatek,mt8173-xhci";
> +		compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci";
>  		reg = <0 0x1a240000 0 0x1000>,
>  		      <0 0x1a244700 0 0x0100>;
>  		reg-names = "mac", "ippc";
> @@ -659,8 +660,9 @@
>  		status = "disabled";
>  	};
>  
> -	u3phy1: usb-phy at 1a244000 {
> -		compatible = "mediatek,mt2701-u3phy";
> +	u3phy1: t-phy at 1a244000 {
> +		compatible = "mediatek,mt2701-tphy",
> +			     "mediatek,generic-tphy-v1";
>  		reg = <0 0x1a244000 0 0x0700>;
>  		#address-cells = <2>;
>  		#size-cells = <2>;
> @@ -700,8 +702,9 @@
>  		status = "disabled";
>  	};
>  
> -	u2phy0: usb-phy at 11210000 {
> -		compatible = "mediatek,generic-tphy-v1";
> +	u2phy0: t-phy at 11210000 {
> +		compatible = "mediatek,mt2701-tphy",
> +			     "mediatek,generic-tphy-v1";
>  		reg = <0 0x11210000 0 0x0800>;
>  		#address-cells = <2>;
>  		#size-cells = <2>;
> 



More information about the Linux-mediatek mailing list