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.

TEST=Permuted over scarlet YAML and tested mosys

Change-Id: I27a842ef633216e55b483e5fe30a5cd564bfdcd0
Commit-Ready: C Shapiro <>
Tested-by: C Shapiro <>
Reviewed-by: Justin TerAvest <>
12 files changed