[PATCH] arm64: dts: imx8mm: Add CPLD on MX8Menlo board

Marcel Ziswiler marcel.ziswiler at toradex.com
Tue Apr 26 14:07:07 PDT 2022


On Tue, 2022-04-26 at 21:59 +0200, Marek Vasut wrote:
> The CPLD on MX8Menlo board is used to operate custom hardware,
> the CPLD content is compatible with previous M53Menlo CPLD,
> add the bindings.

Looks legit (;-p).

> Signed-off-by: Marek Vasut <marex at denx.de>

Reviewed-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>

> Cc: Fabio Estevam <festevam at denx.de>
> Cc: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: devicetree at vger.kernel.org
> To: linux-arm-kernel at lists.infradead.org
> ---
> NOTE: Depends on
>      
> https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=b61b76dfef30945f175d4acfecb9beb862174f01
> ---
>  arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts b/arch/arm64/boot/dts/freescale/imx8mm-
> mx8menlo.dts
> index c20db0c550da..92eaf4ef4563 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts
> @@ -71,7 +71,20 @@ canfd: can at 0 {
>  &ecspi2 {
>         pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_gpio1>;
>         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>, <&gpio3 4 GPIO_ACTIVE_LOW>;
> -       status = "disabled";
> +       status = "okay";
> +
> +       spidev at 0 {
> +               compatible = "menlo,m53cpld";
> +               reg = <0>;
> +               spi-max-frequency = <25000000>;
> +       };
> +
> +       spidev at 1 {
> +               compatible = "menlo,m53cpld";
> +               reg = <1>;
> +               spi-max-frequency = <25000000>;
> +       };
> +
>  };
>  
>  &ethphy0 {


More information about the linux-arm-kernel mailing list