CONFIG_KGDB_TTYS2 is not available for thedefaultarchitecture x86.
Result is shown for architecture ppc
default or selected kernelversion does not have config value CONFIG_KGDB_TTYS2.
Result is shown for kernelversion 5.19-rc1
ttyS2
configname: CONFIG_KGDB_TTYS2
Serial Port
└─>ttyS2