Skip to content

Commit

Permalink
OK. board_late_initialize: revision=0x5720, chip_id=0x30e
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Aug 31, 2023
1 parent e524851 commit 6f04c6a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions boards/risc-v/jh7110/star64/src/jh7110_appinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,11 @@ void board_late_initialize(void)
modifyreg32(0x130200f8, 0, 1 << 31);
modifyreg32(0x130200fc, 0, 1 << 31);

up_mdelay(50);////

// Deassert the Resets for Video Output / Display Subsystem
// Software RESET 1 Address Selector: Offset 0x2fc
// Clear Bit 11: rstn_u0_dom_vout_top_rstn_dom_vout_top_rstn_vout_src
modifyreg32(0x130202fc, 1 << 11, 0); // Addr, Clear Bits, Set Bits

up_mdelay(50);////

// SYSCRG RESET Status 0: Offset 0x308
// Clear Bit 26: rstn_u0_sft7110_noc_bus_reset_disp_axi_n
modifyreg32(0x13020308, 1 << 26, 0); // Addr, Clear Bits, Set Bits
Expand All @@ -226,7 +222,8 @@ void board_late_initialize(void)
0 // Set Bits
);

up_mdelay(50);////
// Wait 50 milliseconds for Power Up
up_mdelay(50);

// Verify that Hardware Revision and Chip ID are non-zero
uint32_t revision = getreg32(0x29400024);
Expand Down

0 comments on commit 6f04c6a

Please sign in to comment.