Hi,TI
When I use the ccs to debug the uboot,I found that the gpio0_25 can not output.On my board,the gpio0_25 connects the led0.but the led0 can not be light.
here is my code:
/* tl8168 som led0.gpio0_25 */
__raw_writew(0x2, CM_ALWON_GPIO_0_CLKCTRL);
while(__raw_readl(CM_ALWON_GPIO_0_CLKCTRL) != 0x2);
__raw_writew((PTU | EN | M1), PINCTRL200_ADDR);
reg_val = __raw_readl(TI816X_GPIO0_BASE + 0x134);
reg_val &= ~(unsigned int)BIT(25);
__raw_writew(reg_val, TI816X_GPIO0_BASE + 0x134);
__raw_writew(BIT(25), TI816X_GPIO0_BASE + 0x194);
the value of PINCTRL200_ADDR is 0x48140B1C, the value of TI816X_GPIO0_BASE is 0x48032000.
atfer executing __raw_writew((PTU | EN | M1), PINCTRL200_ADDR); the value of the address 0x48140B1C not change.
__raw_writew(reg_val, TI816X_GPIO0_BASE + 0x134);the value of the address 0x48032134 not change.
Thank You!
vefone