How do I configure mmc0 to 208MHz on MCIMX6ULL-EVK?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I configure mmc0 to 208MHz on MCIMX6ULL-EVK?

605件の閲覧回数
JohnKlug
Senior Contributor I

I am seeing:

 

root@imx6ullevk:~# cat /sys/kernel/debug/mmc0/ios 
clock:          132000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      2 (4 bits)
timing spec:    6 (sd uhs SDR104)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)


How do I get the interface to use the 200MHz clock?   What should I put in device tree?

0 件の賞賛
返信
3 返答(返信)

566件の閲覧回数
JohnKlug
Senior Contributor I

I mean the large SD card port on the EK board, which is capable of 1.8 or 3.3V.

This is what I did to create my repo:

repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml

I did not change the kernel or device tree.

0 件の賞賛
返信

570件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Do you mean emmc or sd card here? Which version BSP are you using?

0 件の賞賛
返信

554件の閲覧回数
JohnKlug
Senior Contributor I

The 132000000 is found in device tree here:
usdhc assigned-clock-rates 

This found in change:
SDIO CLOCK CHANGE 

 

Apparently due to a chip errata:

MLK-13188-2 dts: imx6ull: change the usdhc root clock to 396MHz
Due to the errata ERR010450 limit, this patch change the imx6ull
usdhc root clock to 132MHz in soc related dts file, remove all
the root clock setting in board dts file, after this patch,
SDR104/HS200 work at 132MHz, DDR50/DDR52 work at 33MHz.
0 件の賞賛
返信