Line 216:
Line 216:
== CFG9_SDMMCCTL ==
== CFG9_SDMMCCTL ==
−
CFG9_SDMMCCTL controls power. Also controls SD card detect?
+
This register controls power of multiple ports/controllers and allows to map controller 3 to ARM9 or ARM11. The SD card can be accessed on ARM11 by clearing bit 8 and 9.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 224:
Line 224:
|-
|-
| 0
| 0
−
| SD slot power.
+
| Controller 1/3 port 0 power (SD card) (1=off)
| Process9
| Process9
|-
|-
| 1
| 1
−
| eMMC power? NAND init hangs if set.
+
| Controller 1 port 1 power (eMMC) (1=off)
| Process9
| Process9
|-
|-
+
| 2
+
| Controller 2 port 0 power (WiFi SDIO) (1=off)
+
| Process9
+
|-
+
| 3
+
| Controller 3 port 1 power? Set at cold boot.
+
| -
|-
|-
−
| 2-3
+
| 4-5
−
| Other power supplies?
+
| Unused.
−
| Process9
+
| -
|-
|-
| 6
| 6
−
| Never used by anything. Set at cold boot.
+
| Wifi port related? Pull up? Set at cold boot.
−
|
+
| -
|-
|-
| 8
| 8
−
| ? This bit seems to do nothing.
+
| Controller 3 mapping (0=ARM9 0x10007000, 1=ARM11 0x10100000)
| Process9
| Process9
|-
|-
| 9
| 9
−
| If not set force pulls all SD card lines high.
+
| SD card controller select (0=0x10007000/0x10100000, 1=0x10006000)
| Process9
| Process9
+
|-
+
| 10-15
+
| Unused.
+
| -
|}
|}