gpio: SOC only has 64 gpio not 96.

Remove BANK_A
Rename BANK_B to GPIO_00_31
Rename BACK_C to GPIO_32_63

Added also _INPUT, _DIRECTIOn registers
This commit is contained in:
René van Dorst
2025-09-06 17:04:25 +02:00
parent 8e9cababfb
commit 74b8280d80
4 changed files with 32 additions and 27 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ void cmd_parser(void) __banked
if (cmd_compare(0, "gpio")) {
for (uint8_t idx = 0; idx < 3; idx++) {
reg_read(RTL837X_REG_GPIO_A + (idx * 4));
reg_read(RTL837X_REG_GPIO_32_63_OUTPUT + (idx * 4));
print_string("GPIO ");
write_char(idx + 'A');
write_char(':');