[PATCH v1 1/2] arm64: dts: mt6779: Support devapc

Neal Liu neal.liu at mediatek.com
Wed Dec 23 04:52:32 EST 2020


+add comments & reviewed-by Hanks

On Wed, 2020-12-23 at 16:44 +0800, Neal Liu wrote:

Support DEVAPC on MT6779 platforms by adding device node.

Reviewed-by: Hanks Chen <hanks.chen at mediatek.com>
> Signed-off-by: Neal Liu <neal.liu at mediatek.com>
> ---
>  arch/arm64/boot/dts/mediatek/mt6779.dtsi |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
> index 370f309..52ecfc7 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
> @@ -189,6 +189,14 @@
>  			#clock-cells = <1>;
>  		};
>  
> +		devapc: devapc at 10207000 {
> +			compatible = "mediatek,mt6779-devapc";
> +			reg = <0 0x10207000 0 0x1000>;
> +			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
> +			clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
> +			clock-names = "devapc-infra-clock";
> +		};
> +
>  		uart0: serial at 11002000 {
>  			compatible = "mediatek,mt6779-uart",
>  				     "mediatek,mt6577-uart";



More information about the Linux-mediatek mailing list