ref
court + yard
courtyard (n.)
"enclosure around or adjacent to a house," 1550s, from court (n.) + yard (n.1).