[yocto] iMX6UL dtsi SAI1
Stefano Zuín
szuin at kiversal.com
Mon Aug 28 02:40:27 PDT 2017
Hi there,
I'm developing a device based on iMX6UL and I need to enabled SAI1 with
MCLK as output (generated internally). I define SAI1 and iomuxc as
follows above and I can see in .../pinctrl-maps file that those pins
have been asigned to SAI1. But I can't get this signals in the
oscilloscope (neither MCLK). Have any of you experience with this?
Regards!
/*imx6ul.dtsi:*/
sai1: sai at 02028000 {
compatible = "fsl,imx6ul-sai",
"fsl,imx6sx-sai";
reg = <0x02028000 0x4000>, <0x02028008 0x0500>;
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6UL_CLK_SAI1_IPG>,
<&clks IMX6UL_CLK_DUMMY>,
<&clks IMX6UL_CLK_SAI1>,
<&clks 0>, <&clks 0>;
clock-names = "bus", "mclk0", "mclk1", "mclk2",
"mclk3";
dma-names = "rx", "tx";
dmas = <&sdma 35 24 0>, <&sdma 36 24 0>;
status = "disabled";
};
*/my_board.dtsi:/*
&sai1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai1>;
assigned-clocks = <&clks IMX6UL_CLK_SAI1_SEL>,<&clks IMX6UL_CLK_SAI1>;
assigned-clock-parents = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
assigned-clock-rates = <0>, <11289600>;
status = "okay";
};*/
/*
&iomuxc{
/.../*/
/*
pinctrl_sai1: sai1grp {
fsl,pins = <
MX6UL_PAD_CSI_DATA05__SAI1_TX_BCLK 0x11088
MX6UL_PAD_CSI_DATA04__SAI1_TX_SYNC 0x17088
MX6UL_PAD_CSI_DATA06__SAI1_RX_DATA 0x11088
MX6UL_PAD_CSI_DATA07__SAI1_TX_DATA 0x11088
MX6UL_PAD_CSI_DATA01__SAI1_MCLK 0x17088
/*Pruebas*/
>;
};
...
};
--
------------------------------------------------------------------------
*Stefano Zuin Castillo*
Ingeniero de Software
email: szuin at kiversal.com <mailto:szuin at kiversal.com>
Tel: +34 93 551 14 94
*DEVIMETRIX, S.L.*
C/ Llacuna 162, módulo 118
08018 Barcelona (SPAIN)
www.kiversal.com <http://www.kiversal.com/>
Este correo electrónico y sus documentos adjuntos contienen información privilegiada, personal y estrictamente confidencial, y está prohibida la copia, reenvío o utilización de la información.
Si usted no es la persona destinataria del presente mensaje, no está autorizada a leerlo, retenerlo o difundirlo.
This e-mail and its attachments are privileged, confidential and contain private information, and any sending, using or copy of its information is prohibited.
Any person other than its intended recipient is not authorised to read, retain or distribute this information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170828/4b4d2075/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Imagen 4
Type: image/jpeg
Size: 6731 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170828/4b4d2075/attachment.jpe>
More information about the yocto
mailing list