|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
用AM3352的板子,内核4.19,emmc1 不能使能8线 l9 v& F0 e9 m, J
我看了很多贴子的log似乎都用的4线 驱动omap_hsmmc.c
( [2 L& L# g. K/ N3 g& K&mmc2 {
( h2 |4 A/ @- E) Z4 ^1 o; U vmmc-supply = <&vmmcsd_fixed>;
. p. X$ h0 U4 l$ ] pinctrl-names = "default";
: h3 J# V- ]; o* G pinctrl-0 = <&emmc_pins>;* I! M) o+ z$ y" }; q1 J
bus-width = <8>;
& o% G* f9 ]# k% m3 S9 l status = "okay";
- e( U9 f4 Y: X2 ]1 g ti,non-removable;0 Z1 k+ m/ Z2 w9 X6 w, @
};9 R4 T. g/ b: E
* \, |" h7 h. ~; s* D: ]) a
/ c# ~8 j: k2 G4 p信息:4 _! }3 ]8 _# i( x! i2 N$ {
root:~# cat /sys/kernel/debug/mmc1/ios
: a- [% j: h# \+ H+ X7 lclock: 52000000 Hz+ ^$ a, v/ z; ~! _/ n! V
vdd: 20 (3.2 ~ 3.3 V)
$ i& p- J1 [4 E- lbus mode: 2 (push-pull)
. d" A" G! M# n! w/ R! bchip select: 0 (don't care)2 }! q- h1 Z6 g) E8 T
power mode: 2 (on)
3 }' A, q/ ?' J- _* dbus width: 2 (4 bits)
9 z, t" a; j0 }) N9 j# Z1 N/ U6 Z; stiming spec: 1 (mmc high-speed)1 l/ K$ X* ?0 r( m5 `
7 R G0 ~/ }' U: m0 |+ a$ }# w' d7 G
( \6 {: D$ D$ h+ R1 m$ V
; P/ Y) R. B7 {9 d; r0 `$ J& glog:
) M: U2 d+ @- t n2 Q[ 1.662924] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
0 O3 ] n' _6 R' ~5 s; ~& z5 L- P. ^9 g! h[ 1.672359] omap_hsmmc 481d8000.mmc: omap_hsmmc_set_bus_width ios->timing=1 ios->bus_width=0
3 S" A' S+ t, ~% p& x: e( `: y, K% E8 F[ 1.680990] omap_hsmmc 481d8000.mmc: Set clock to 400000Hz
$ s- {8 ]. B8 |% s/ E6 J" W[ 1.686838] omap_hsmmc 481d8000.mmc: omap_hsmmc_set_bus_width ios->timing=1 ios->bus_width=0
% w) ^9 f# `& a/ E3 w/ ^( H[ 1.695431] omap_hsmmc 481d8000.mmc: Set clock to 52000000Hz
{+ \+ e( M1 ?[ 1.701433] omap_hsmmc 481d8000.mmc: omap_hsmmc_set_bus_width ios->timing=1 ios->bus_width=3: d0 v( O# }! d& }4 ]
[ 1.710020] omap_hsmmc 481d8000.mmc: Set clock to 52000000Hz
7 E& K' ~8 @( _' t6 J( }0 P5 F[ 1.716069] mmc1: switch to bus width 8 faiLED* I, Y, F# P- i& n3 Y; _
[ 1.720589] omap_hsmmc 481d8000.mmc: omap_hsmmc_set_bus_width ios->timing=1 ios->bus_width=2
8 l4 D" g) }3 [2 V/ a7 ?- c. a# D[ 1.729175] omap_hsmmc 481d8000.mmc: Set clock to 52000000Hz7 t: U) b9 d S
[ 1.735710] mmc1: new high speed MMC card at address 0001
6 T4 _ y" \2 E5 p J[ 1.742154] mmcblk1: mmc1:0001 004G60 3.69 GiB
8 @* l, D' T* l7 F- G[ 1.747295] mmcblk1boot0: mmc1:0001 004G60 partition 1 2.00 MiB
5 D7 @7 ?9 G! V9 g[ 1.753768] mmcblk1boot1: mmc1:0001 004G60 partition 2 2.00 MiB
( v: j* l! C# P# h/ q[ 1.759963] mmcblk1rpmb: mmc1:0001 004G60 partition 3 512 KiB, chardev (244:0)3 R% V8 s; f3 [# @: ]0 }# B
|
|