Re: [PATCH 2/2] arm64: dts: fsd: add sysreg device node

From: Krzysztof Kozlowski
Date: Mon Nov 21 2022 - 07:29:07 EST


On 21/11/2022 10:11, Sriranjani P wrote:
> Add SYSREG controller device node, which is available in PERIC, FSYS0 and
> FSYS1 block of FSD SoC.
>
> Signed-off-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
> Signed-off-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>
> Signed-off-by: Sriranjani P <sriranjani.p@xxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/tesla/fsd.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi
> index f35bc5a288c2..db78816ba0bf 100644
> --- a/arch/arm64/boot/dts/tesla/fsd.dtsi
> +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi
> @@ -518,6 +518,21 @@
> "dout_cmu_fsys1_shared0div4";
> };
>
> + sysreg_peric: syscon@14030000 {

Node name system-controller
and either put it next to existing one or next to functional block
(peric clocks?) ordered by unit address.

> + compatible = "tesla,fsd-sysreg", "syscon";
> + reg = <0x0 0x14030000 0x0 0x1000>;
> + };

Best regards,
Krzysztof