ipnc rdk3.8.0 8148
I set GPIO22 as input in uboot, but it‘s no effective! why?
my code :
1224 val = __raw_readl(0x48140A9C);
1225 val |= 0x00000080;
1226 __raw_writel(val, 0x48140A9C);
1227 //input
1228 val = __raw_readl(0x48032134);
1229 val |= ((0x1<<22));
1230 // val &= (~(0x1<<22));//output
1231 __raw_writel(val, 0x48032134);
look forwards for you answer.