[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2674392.Lt9SDvczpP@steina-w>
Date: Fri, 29 Aug 2025 08:25:37 +0200
From: Alexander Stein <alexander.stein@...tq-group.com>
To: Frank Li <Frank.li@....com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux@...tq-group.com
Subject:
Re: [PATCH 2/2] arm64: dts: freescale: add initial device tree for
TQMa91xxCA/MBa91xxCA
Hi Frank,
Am Donnerstag, 28. August 2025, 20:26:22 CEST schrieb Frank Li:
> On Thu, Aug 28, 2025 at 11:47:43AM +0200, Alexander Stein wrote:
> > This adds support for TQMa91xxCA module attached to MBa91xxCA board.
> > TQMa91xx is a SOM using i.MX91 SOC. The SOM features PMIC, RAM, e-MMC and
> > some optional peripherals like SPI-NOR, RTC, EEPROM, gyroscope and
> > secure element.
> >
> > Signed-off-by: Alexander Stein <alexander.stein@...tq-group.com>
> > ---
> > arch/arm64/boot/dts/freescale/Makefile | 1 +
> > .../freescale/imx91-tqma9131-mba91xxca.dts | 737 ++++++++++++++++++
> > .../boot/dts/freescale/imx91-tqma9131.dtsi | 295 +++++++
> > 3 files changed, 1033 insertions(+)
> > create mode 100644 arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts
> > create mode 100644 arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
> >
> > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> > index 947de7f125caf..3a937232d6f29 100644
> > --- a/arch/arm64/boot/dts/freescale/Makefile
> > +++ b/arch/arm64/boot/dts/freescale/Makefile
> > @@ -338,6 +338,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqps-mb-smarc-2.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx8ulp-9x9-evk.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx91-11x11-evk.dtb
> > +dtb-$(CONFIG_ARCH_MXC) += imx91-tqma9131-mba91xxca.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb
> >
> ...
> > +
> > + pinctrl_jtag: jtaggrp {
> > + fsl,pins = <MX91_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK 0x051e>,
> > + <MX91_PAD_DAP_TDI__JTAG_MUX_TDI 0x1200>,
> > + <MX91_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO 0x031e>,
> > + <MX91_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS 0x1200>;
> > + };
>
> Any one use it?
You are right. There is no direct user in DT, but their connection is fixed
to JTAG. I'll hook it up to gpio3, as the GPIOs on these pads belong
to this controller.
>
> > +
> > + pinctrl_lpi2c3: lpi2c3grp {
> > + fsl,pins = /* SION | HYS | OD | FSEL_3 | DSE X4 */
> > + <MX91_PAD_GPIO_IO28__LPI2C3_SDA 0x4000199e>,
> > + <MX91_PAD_GPIO_IO29__LPI2C3_SCL 0x4000199e>;
> > + };
> > +
> ...
> > +
> > + /* protectable identification memory (part of M24C64-D @57) */
> > + eeprom@5f {
> > + compatible = "atmel,24c64d-wl";
> > + reg = <0x5f>;
> > + vcc-supply = <&buck4>;
> > + };
> > +
> > + imu@6a {
>
> I am not if "imu" is common node name.
Device tree spec name recommendation only mentions gyrometer, but this is a
gyroscope, so I will go with the latter one.
Best regards
Alexander
>
> Frank
> > + compatible = "st,ism330dhcx";
> > + reg = <0x6a>;
> > + vdd-supply = <&buck4>;
> > + vddio-supply = <&buck4>;
> > + };
> > +};
> > +
> > +&usdhc1 {
> > + pinctrl-names = "default", "state_100mhz", "state_200mhz";
> > + pinctrl-0 = <&pinctrl_usdhc1>;
> > + pinctrl-1 = <&pinctrl_usdhc1>;
> > + pinctrl-2 = <&pinctrl_usdhc1>;
> > + vmmc-supply = <&buck4>;
> > + vqmmc-supply = <&buck5>;
> > + bus-width = <8>;
> > + non-removable;
> > + no-sdio;
> > + no-sd;
> > + status = "okay";
> > +};
> > +
> ...
> > +};
> > --
> > 2.43.0
> >
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
Powered by blists - more mailing lists