Signed-off-by: Neal Liu <[email protected]>
---
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@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@11002000 {
compatible = "mediatek,mt6779-uart",
"mediatek,mt6577-uart";
--
1.7.9.5
+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 <[email protected]>
> Signed-off-by: Neal Liu <[email protected]>
> ---
> 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@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@11002000 {
> compatible = "mediatek,mt6779-uart",
> "mediatek,mt6577-uart";
On 23/12/2020 10:52, Neal Liu wrote:
> +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 <[email protected]>
Apllied with the description and Reviewed-by to v5.11-next/dts64
Thanks a lot!
>> Signed-off-by: Neal Liu <[email protected]>
>> ---
>> 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@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@11002000 {
>> compatible = "mediatek,mt6779-uart",
>> "mediatek,mt6577-uart";
>