Message ID | 20250401154404.45932-5-laurentiumihalcea111@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | imx8mp: add support for the IMX AIPSTZ bridge | expand |
On Tue, Apr 01, 2025 at 11:44:02AM -0400, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> > > AIPS5 is actually AIPSTZ5 as it offers some security-related > configurations. Since these configurations need to be applied before > accessing any of the peripherals on the bus, it's better to make AIPSTZ5 > be their parent instead of keeping AIPS5 and adding a child node for > AIPSTZ5. Also, because of the security configurations, the address space > of the bus has to be changed to that of the configuration registers. > > Finally, since AIPSTZ5 belongs to the AUDIOMIX power domain, add the > missing 'power-domains' property. The domain needs to be powered on before > attempting to configure the security-related registers. > > The DT node name is not changed to avoid potential issues with DTs in > which this node is referenced. > > Co-developed-by: Daniel Baluta <daniel.baluta@nxp.com> > Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> > Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index ce6793b2d57e..aa7940c65f2d 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -1399,12 +1399,14 @@ eqos: ethernet@30bf0000 { > }; > }; > > - aips5: bus@30c00000 { > - compatible = "fsl,aips-bus", "simple-bus"; > - reg = <0x30c00000 0x400000>; > + aips5: bus@30df0000 { > + compatible = "fsl,imx8mp-aipstz"; > + reg = <0x30df0000 0x10000>; > + power-domains = <&pgc_audio>; > #address-cells = <1>; > #size-cells = <1>; > - ranges; > + #access-controller-cells = <3>; > + ranges = <0x30c00000 0x30c00000 0x400000>; > > spba-bus@30c00000 { > compatible = "fsl,spba-bus", "simple-bus"; > -- > 2.34.1 >
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index ce6793b2d57e..aa7940c65f2d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1399,12 +1399,14 @@ eqos: ethernet@30bf0000 { }; }; - aips5: bus@30c00000 { - compatible = "fsl,aips-bus", "simple-bus"; - reg = <0x30c00000 0x400000>; + aips5: bus@30df0000 { + compatible = "fsl,imx8mp-aipstz"; + reg = <0x30df0000 0x10000>; + power-domains = <&pgc_audio>; #address-cells = <1>; #size-cells = <1>; - ranges; + #access-controller-cells = <3>; + ranges = <0x30c00000 0x30c00000 0x400000>; spba-bus@30c00000 { compatible = "fsl,spba-bus", "simple-bus";