mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
![Jiang Yutang](/assets/img/avatar_default.png)
For soc which have pin multiplex relation, some of them can't enable simultaneously. This patch add environment var 'hwconfig' content defination for them. you can enable some one function by setting environment var 'hwconfig' content and reset board. Detail setting please refer doc/README.p1022ds Signed-off-by: Jiang Yutang <b14898@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
25 lines
944 B
Plaintext
25 lines
944 B
Plaintext
Overview
|
|
--------
|
|
P1022ds is a Low End Dual core platform supporting the P1022 processor
|
|
of QorIQ series. P1022 is an e500 based dual core SOC.
|
|
|
|
|
|
Pin Multiplex(hwconfig setting)
|
|
-------------------------------
|
|
Add the environment 'usb2', 'audclk' and 'tdm' to support pin multiplex
|
|
via hwconfig, i.e:
|
|
'setenv hwconfig usb2' to enable USB2 and disable eTsec2
|
|
'setenv hwconfig tdm' to enable TDM and disable Audio
|
|
'setenv hwconfig audclk:12' to enable Audio(codec clock sources is 12MHz)
|
|
and disable TDM
|
|
'setenv hwconfig 'usb2;tdm' to enable USB2 and TDM, disable eTsec2 and Audio
|
|
'setenv hwconfig 'usb2;audclk:11' to enable USB2 and Audio(codec clock sources
|
|
is 11MHz), disable eTsec2 and TDM
|
|
|
|
Warning: TDM and AUDIO can not enable simultaneous !
|
|
and AUDIO codec clock sources only setting as 11MHz or 12MHz !
|
|
'setenv hwconfig 'audclk:12;tdm' --- error !
|
|
'setenv hwconfig 'audclk:11;tdm' --- error !
|
|
'setenv hwconfig 'audclk:10' --- error !
|
|
|