i777: move device settings to common

Change-Id: I92dea40d3ba6b7deb543bb6a5bba4f17b8e2e88d