summaryrefslogtreecommitdiffstats
path: root/utils/regtools
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2014-11-24 18:29:04 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2014-11-28 19:37:14 +0100
commit9439635aa27e7604d01dddb30a505a3402f3b4df (patch)
tree063ff6e137fbc0a326f8f2f7f9f5f0d73d803756 /utils/regtools
parent19f4e396fddff8e7445908700a8345c7d5c57fc6 (diff)
downloadrockbox-9439635aa27e7604d01dddb30a505a3402f3b4df.tar.gz
rockbox-9439635aa27e7604d01dddb30a505a3402f3b4df.tar.bz2
rockbox-9439635aa27e7604d01dddb30a505a3402f3b4df.zip
hwstub: lua functions for atj213x/irivere150
Change-Id: I3ab32996b4b6603fd7d66eee5b3bfd795b79eee1 Reviewed-on: http://gerrit.rockbox.org/1049 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested: Marcin Bukat <marcin.bukat@gmail.com>
Diffstat (limited to 'utils/regtools')
-rw-r--r--utils/regtools/desc/regs-atj213x.xml62
1 files changed, 61 insertions, 1 deletions
diff --git a/utils/regtools/desc/regs-atj213x.xml b/utils/regtools/desc/regs-atj213x.xml
index 77e757d834..f43c6287bd 100644
--- a/utils/regtools/desc/regs-atj213x.xml
+++ b/utils/regtools/desc/regs-atj213x.xml
@@ -302,10 +302,70 @@
<addr name="BDAT" addr="0x14"/>
</reg>
<reg name="MFCTL0" desc="">
- <addr name="MFCTLO" addr="0x18"/>
+ <addr name="MFCTL0" addr="0x18"/>
+ <field name="RESERVED31_25" desc="" bitrange="31:25"/>
+ <field name="GPIOA2_0" desc="" bitrange="24:22">
+ <value name="NAND_CLE_RB_ALE" value="0x1" desc=""/>
+ <value name="LCD_RS_WD9_WD0" value="0x2" desc=""/>
+ <value name="SD_CMD" value="0x4" desc=""/>
+ </field>
+ <field name="CEB6" desc="" bitrange="21:20">
+ <value name="LCD_CE" value="0x2" desc=""/>
+ <value name="SD_CLK" value="0x3" desc=""/>
+ </field>
+ <field name="RESERVED19_16" desc="" bitrange="19:16"/>
+ <field name="CEB3" desc="" bitrange="15:14">
+ <value name="NAND_CEB3" value="0x1" desc=""/>
+ <value name="LCD_CE" value="0x2" desc=""/>
+ </field>
+ <field name="CEB2" desc="" bitrange="13:12">
+ <value name="NAND_CEB2" value="0x1" desc=""/>
+ <value name="LCD_CE" value="0x2" desc=""/>
+ </field>
+ <field name="CEB1" desc="" bitrange="11:10">
+ <value name="NAND_CEB1" value="0x1" desc=""/>
+ <value name="LCD_CE" value="0x2" desc=""/>
+ </field>
+ <field name="CEB0" desc="" bitrange="9:8">
+ <value name="NAND_CEB0" value="0x1" desc=""/>
+ <value name="LCD_CE" value="0x2" desc=""/>
+ </field>
+ <field name="WRRD" desc="" bitrange="7:6">
+ <value name="NAND_WR_RD" value="0x1" desc=""/>
+ <value name="LCD_WRB_RDB" value="0x2" desc=""/>
+ </field>
+ <field name="NAND_D7_0" desc="" bitrange="5:3">
+ <value name="NAND_D7_0" value="0x1" desc=""/>
+ <value name="LCD_WD17_10" value="0x2" desc=""/>
+ </field>
+ <field name="NAND_D15_8" desc="" bitrange="2:0">
+ <value name="NAND_D15_8" value="0x1" desc=""/>
+ <value name="LCD_WD8_1" value="0x2" desc=""/>
+ <value name="SDR_D7_0" value="0x4" desc=""/>
+ </field>
</reg>
<reg name="MFCTL1" desc="">
<addr name="MFCTL1" addr="0x1c"/>
+ <field name="MFEN" desc="" bitrange="31:31"/>
+ <field name="RESERVED30_18" desc="" bitrange="30:18"/>
+ <field name="SD2E" desc="" bitrange="17:17"/>
+ <field name="RBS" desc="" bitrange="16:16"/>
+ <field name="RESERVED15_12" desc="" bitrange="15:12"/>
+ <field name="SIR0" desc="" bitrange="11:11"/>
+ <field name="SPTR" desc="" bitrange="10:9">
+ <value name="I2C1_SCL_ADA" value="0x1" desc=""/>
+ <value name="UART2_TX_RX" value="0x2" desc=""/>
+ </field>
+ <field name="U2TR" desc="" bitrange="8:8">
+ <value name="UART2_TX_RX" value="0x0" desc=""/>
+ <value name="I2C2_SCL_SDA" value="0x1" desc=""/>
+ </field>
+ <field name="RESERVED7_6" desc="" bitrange="7:6"/>
+ <field name="I2C1SS" desc="" bitrange="5:4">
+ <value name="I2C1_SCL_SDA" value="0x0" desc=""/>
+ <value name="UART2_TX_RX" value="0x1" desc=""/>
+ </field>
+ <field name="RESERVED3_0" desc="" bitrange="3:0"/>
</reg>
</dev>
<dev name="I2C" long_name="" desc="" version="1.0">