Re: [PATCH V5 4/5] MIPS: Loongson64: DTS: Add RTC support to LS7A PCH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 02, 2023 at 05:50:49PM +0800, Binbin Zhou wrote:
> The RTC module is now supported, enable it.
> 
> Acked-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> Signed-off-by: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
> Signed-off-by: WANG Xuerui <git@xxxxxxxxxx>
> ---
>  arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> index 2f45fce2cdc4..7c69e8245c2f 100644
> --- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> +++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> @@ -19,6 +19,13 @@ pic: interrupt-controller@10000000 {
>  			#interrupt-cells = <2>;
>  		};
>  
> +		rtc0: rtc@100d0100 {
> +			compatible = "loongson,ls7a-rtc";
> +			reg = <0 0x100d0100 0 0x78>;
> +			interrupt-parent = <&pic>;
> +			interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
> +		};
> +
>  		ls7a_uart0: serial@10080000 {
>  			compatible = "ns16550a";
>  			reg = <0 0x10080000 0 0x100>;
> -- 
> 2.39.1

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux