I have ten days to get from Madrid to Bordeaux (by car) and would appreciate suggestions/comments on an itinerary. I was thinking about doing this:

Madrid (3 nights)
Salamanca (via Avila) (1 night)
Somewhere in Cantabria (2 nights)(suggestions where?)
Bilbao/San Sebastian (2 nights somewhere between?)
Navarra somewhere (Pamplona maybe?) (1 night)

and then somewhere in the French Pyrenees for a night ...

Can anyone tell me if I'm on the right track, or if there is something I can't miss along the way ...

I will be traveling with my four-year old son, so that is a consideration.

Any suggestions would be greatly appreciated!