peripherals: fix order of peripheral device settings