204 #define MBIST_CLK_ENB_L_0 0x80000130
205 #define MBIST_CLK_ENB_H_0 0x020000C1
206 #define MBIST_CLK_ENB_U_0 0x01F00200
207 #define MBIST_CLK_ENB_V_0 0x80400008
208 #define MBIST_CLK_ENB_W_0 0x002000FC
209 #define MBIST_CLK_ENB_X_0 0x23004780
210 #define MBIST_CLK_ENB_Y_0 0x00000300
398 #define MAX77620_I2C_ADDR (0x3c << 1)
399 #define MAX77620_GPIO5_DATA (0x3b | (0x9 << 8))
401 #define MAX77621_I2C_ADDR (0x1b << 1)
402 #define MAX77621_VOUT_REG 0x0
403 #define MAX77621_VOUT_VAL (0x80 | 0x27)
404 #define MAX77621_VOUT_DATA (MAX77621_VOUT_REG | (MAX77621_VOUT_VAL << 8))
void delay(unsigned int secs)
@ CAR2PMC_CPU_ACK_WIDTH_MASK
@ CAR2PMC_CPU_ACK_WIDTH_SHIFT
struct lp0_header __packed
static void power_on_partition(unsigned int id)
static uint32_t * i2s_4_master
static uint32_t * timer_us_cfg_ptr
static uint32_t * i2c5_status_ptr
static uint32_t * clk_rst_clk_dvfs_ref_ptr
static uint32_t * uart_clk_out_enb_regs[4]
static uint32_t * uart_rst_devices_regs[4]
static uint32_t * i2s_2_slcg
static uint32_t * clk_rst_clk_enb_l_clr_ptr
static uint32_t * clk_rst_clk_enb_h_set_ptr
static uint32_t * clk_rst_rst_dev_h_set_ptr
static uint32_t * timer_us_ptr
static uint32_t * clk_rst_clk_enb_w_clr_ptr
static void config_hda_lpbk_dis(void)
static uint32_t * clk_rst_ape_set
static uint32_t * pmacro_training_ctrl_0_ptr
static uint32_t * i2s_2_master
static uint32_t * clk_rst_osc_ctrl_ptr
static uint32_t * sdmmc1_comppadctrl
static uint32_t * pmacro_cfg_pm_global
static uint32_t * pinmux_pwr_i2c_sda_ptr
static uint32_t * sb_aa64_reset_high
static void write32(void *addr, uint32_t val)
static uint32_t * clk_rst_clk_source_mselect_ptr
static void set_gpio_pa6_input_mode(void)
static uint32_t * fuse_security_mode_ptr
static uint32_t * clk_rst_clk_out_enb_u_ptr
static uint32_t * clk_rst_pllx_base_ptr
@ I2C_STATUS_CMD1_XFER_SUCCESS
@ I2C_STATUS_CMD1_STAT_MASK
static uint32_t * pmc_cpupwrgood_timer_ptr
static void enable_jtag(void)
static uint32_t * clk_rst_clk_enb_y_set_ptr
static uint32_t * clk_rst_clk_enb_w_set_ptr
#define MBIST_CLK_ENB_L_0
static uint32_t * pmc_pwrgate_toggle_ptr
static uint32_t * clk_rst_cclklp_burst_policy_ptr
static uint32_t * clk_rst_clk_enb_h_clr_ptr
static uint32_t * mc_video_protect_size_mb_ptr
static void low_power_sdmmc_pads(void)
static uint32_t * sb_pfcfg_ptr
#define MBIST_CLK_ENB_X_0
static uint32_t * pinmux_gpio_pa6_ptr
static void set_pmacro_training_wrptr(void)
static __always_inline void __noreturn halt(void)
static uint32_t * clk_rst_ape_clear
static void config_oscillator(void)
static uint32_t * clk_rst_clk_enb_l_set_ptr
static uint32_t * pmc_scratch4_ptr
static uint32_t * mc_intstatus_ptr
static uint32_t * sb_aa64_reset_low
static uint32_t * pmc_osc_edpd_over_ptr
static uint32_t * clk_rst_cpug_cmplx_clr_ptr
static uint32_t * sdmmc1_vendor_io_trim
static void udelay(unsigned int usecs)
static uint32_t * flow_ctlr_ram_repair_cluster1_ptr
static uint32_t * pmc_pwrgate_status_ptr
static uint32_t * sdmmc3_vendor_io_trim
static uint32_t * uart_clk_source_regs[4]
static void config_core_sight(void)
static uint32_t * misc_pp_config_ctl_ptr
static void i2c_send(uint32_t addr, uint32_t data)
static uint32_t * flow_ctlr_ram_repair_ptr
@ CFG2TMC_RAM_SVOP_PDP_VAL_2
@ CFG2TMC_RAM_SVOP_PDP_MASK
@ SECURE_BOOT_DEBUG_CONFIG
static uint32_t * clk_rst_clk_enb_v_ptr
@ PAD_E_INPUT_COMPPADCTRL
@ SEL_VREG_VENDOR_IO_TRIM
static uint32_t * i2c5_cmd_addr0_ptr
static void setbits32(uint32_t bits, void *addr)
static uint32_t * clk_rst_clk_source_i2c5_ptr
static uint32_t * clk_rst_spare_reg0_ptr
static uint32_t * clk_rst_super_cclkg_div_ptr
static uint32_t * clk_rst_clk_dvfs_soc_ptr
static uint32_t * pmacro_training_ctrl_1_ptr
static uint32_t * i2s_3_slcg
@ PMC_WAKEUP_CLUSTER_LPCPU
static uint32_t * i2s_0_master
static uint32_t * pmc_odmdata_ptr
static uint32_t * clk_rst_rst_dev_u_clr_ptr
#define MBIST_CLK_ENB_H_0
static uint32_t * pmc_remove_clamping_cmd_ptr
static uint32_t * mc_video_protect_reg_ctrl_ptr
static uint32_t read32(const void *addr)
static uint32_t * clk_rst_clk_out_enb_v_ptr
static uint32_t * pmc_secure_scratch35_ptr
static uint32_t * i2c5_cnfg_ptr
static uint32_t * i2s_1_slcg
#define MBIST_CLK_ENB_W_0
static void config_mselect(void)
static uint32_t * mc_intmask_ptr
static uint32_t * pmc_clamp_status_ptr
static uint32_t * uart_base_regs[4]
static uint32_t * i2s_0_slcg
static uint32_t * fbio_cfg7_ptr
#define MAX77621_I2C_ADDR
static uint32_t * clk_rst_clk_out_enb_l_ptr
static uint32_t * pinmux_dvfs_pwm_ptr
static uint32_t * pmc_sticky_bits_ptr
static uint32_t * clk_rst_lvl2_clk_gate_ovra_ptr
static uint32_t * clk_rst_super_cclklp_div_ptr
static uint32_t * clk_rst_clk_enb_x_clr_ptr
static uint32_t * flow_ctlr_bpmp_cluster_control_ptr
static uint32_t * i2c5_cmd_data1_ptr
static uint32_t * clk_rst_rst_devices_l_ptr
#define MAX77620_I2C_ADDR
static void clrbits32(uint32_t bits, void *addr)
static void restore_ram_svop(void)
static void set_clk_m(void)
static uint32_t * i2c5_config_load_ptr
static uint32_t * pmc_set_sw_clamp_ptr
static uint32_t * i2s_4_slcg
static uint32_t * clk_rst_clk_out_enb_x_ptr
static uint32_t * pinmux_pwr_i2c_scl_ptr
static uint32_t * clk_rst_clk_out_enb_y_ptr
#define MBIST_CLK_ENB_U_0
static uint32_t * pmc_dpd_sample_ptr
@ CCLKG_PLLP_BURST_POLICY
@ CCLKLP_PLLP_BURST_POLICY
#define MAX77620_GPIO5_DATA
static void enable_select_cpu_clocks(void)
static uint32_t * clk_rst_rst_dev_h_clr_ptr
static uint32_t * clk_rst_clk_out_enb_h_ptr
static uint32_t * clk_rst_lvl2_clk_gate_ovrc_ptr
static uint32_t * pmc_secure_scratch34_ptr
static uint32_t * flow_ctlr_halt_cop_events_ptr
static uint32_t * clk_rst_clk_enb_y_clr_ptr
#define MBIST_CLK_ENB_V_0
static uint32_t * clk_rst_cclkg_burst_policy_ptr
static void __noreturn reset(void)
static uint32_t * clk_rst_rst_devices_u_ptr
static void mbist_workaround(void)
static uint32_t * clk_rst_clk_out_enb_u_set_ptr
static uint32_t * clk_rst_lvl2_clk_gate_ovre_ptr
static uint32_t * clk_rst_clk_enb_u_clr_ptr
static uint32_t * up_tag_ptr
static uint32_t * i2s_1_master
static uint32_t * clk_rst_rst_dev_v_clr_ptr
#define MAX77621_VOUT_DATA
static uint32_t * clk_rst_clk_enb_v_set_ptr
static uint32_t * sdmmc3_comppadctrl
static uint32_t * pmc_scratch201_ptr
static void enable_uart(void)
static uint32_t * clk_rst_cpu_softrst_ctrl2_ptr
#define MBIST_CLK_ENB_Y_0
static uint32_t * clk_rst_clk_out_enb_w_ptr
static uint32_t * i2s_3_master
static uint32_t * pmc_scratch190_ptr
static uint32_t * clk_rst_clk_enb_v_clr_ptr
static uint32_t uart_enable_mask[4]
static uint32_t * misc_gp_asdbgreg_ptr
static uint32_t * clk_rst_lvl2_clk_gate_ovrb_ptr
static uint32_t * clk_rst_lvl2_clk_gate_ovrd_ptr