addrmap RockchipI2C {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Con";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } i2c_en[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } i2c_mode[2:1];
            field {
                sw = rw;
            } start[3:3];
            field {
                sw = rw;
            } stop[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } ack[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } act2nak[6:6];
    } Con @ 0x0;
    reg {
        name="ClkDiv";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SCL_low_level_clock_count_CLKDIVL[15:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SCL_high_level_clock_count_CLKDIVH[31:16];
    } ClkDiv @ 0x4;
    reg {
        name="MrxAddr";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Read_Write[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Master_address_register[23:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Address_low_byte_valid_addlvld[24:24];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } address_middle_byte_valid_addmvld[25:25];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } address_high_byte_valid_addhvld[26:26];
    } MrxAddr @ 0x8;
    reg {
        name="Ien";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Byte_trasmit_finished_interrupt_enable_btfien[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Byte_receive_finished_interrupt_enable_brfien[1:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } MTXCNT_data_transmit_finished_interrupt_enable_mbtfien[2:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } MRXCNT_data_received_finished_interrupt_enable_mbrfien[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Start_operation_finished_interrupt_enable_startien[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Stop_operation_finished_interrupt_enable_stopien[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } NAK_handshake_received_interrupt_enable_nakrcvien[6:6];
    } Ien @ 0x18;
    reg {
        name="Ipd";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Byte_trasmit_finished_interrupt_pending_bit_btfipd[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Byte_receive_finished_interrupt_pending_bit_brfipd[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } MTXCNT_data_transmit_finished_interrupt_pending_bit_mbtfipd[2:2];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } MRXCNT_data_received_finished_interrupt_pending_bit_mbrfipd[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } Start_operation_finished_interrupt_pending_bit_startipd[4:4];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } Stop_operation_finished_interrupt_pending_bit_stopipd[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } NAK_handshake_received_interrupt_pending_bit_nakrcvipd[6:6];
    } Ipd @ 0x1c;
    reg {
        name="TxData0";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } TxData0 @ 0x100;
} Registers_addrmap;


};