TT · Parshas Va’eschanan · Passuk 6:9
…and on your gates.
Torah Temimah points to the expansion of “u-vish’arekha” to include gates of houses, courtyards, cities and provinces (Menachos / Yoma parallels).
English: It was taught: “On your gates” — whether the gates of houses, or the gates of courtyards, or the gates of provinces, or the gates of cities… they are obligated in mezuzah.
Diyuk / expansive reading of “u-vish’arekha.”
The obligation of mezuzah extends beyond the private house-door to the gates of courtyards, cities and provinces.