Apparently this is Mr. Iwata’s Mii QR code so you can keep him in your DS or Wii U forever.
RIP good sir.
EDIT. I should give credit to the person who posted this on twitter. @lmaradiaga86 (a Mage in black) is the person to thank if you want to thank someone.