Fix GPIO offset for hi3516ev200 series

pull/69/head
Dmitry Ermakov 2021-11-08 16:21:47 +03:00 committed by GitHub
parent caf57002f2
commit 1dab287532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,7 @@ void get_chip_gpio_adress(unsigned long *Chip_Id, unsigned long *GPIO_Groups,
case 0x3516E200:
*GPIO_Groups = 9;
*GPIO_Base = 0x120B0000;
*GPIO_Offset = 0x1000;
break;
//-------------------------------------------
// Default: 0x3516E300
@ -209,6 +210,7 @@ void get_chip_gpio_adress(unsigned long *Chip_Id, unsigned long *GPIO_Groups,
case 0x3516E300:
*GPIO_Groups = 10;
*GPIO_Base = 0x120B0000;
*GPIO_Offset = 0x1000;
break;
//-------------------------------------------
// Default: 0x3518E200 одна группа