mosys: Add regex pattern support for ARM DT

Adding support so that regex patterns can be used from cros_config to
generically match patterns from the source compatible device tree on ARM
devices.  This will support SKU-specific matching and config options
going forward.

BUG=b:115771305
TEST=Permuted over scarlet YAML and tested mosys

Change-Id: I27a842ef633216e55b483e5fe30a5cd564bfdcd0
Reviewed-on: https://chromium-review.googlesource.com/1230593
Commit-Ready: C Shapiro <shapiroc@google.com>
Tested-by: C Shapiro <shapiroc@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
12 files changed