Second-order photonic topological insulators that host highly localized corner states resilient to defects, are opening new routes towards developing fascinating devices. However, the existing works on second-order have mainly focused either transverse magnetic or electric modes. In this paper, we propose a dual-polarization crystal structure for both and modes through topology optimization. Si...