ARM: tegra: nyan-blaze: Include compatible revisions for proper detection
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 22 Jan 2017 15:47:51 +0000 (16:47 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 25 Jan 2017 11:03:50 +0000 (12:03 +0100)
Depthcharge (the payload used with cros devices) will attempt to detect
boards using their revision. This includes all the known revisions for
the nyan-blaze board so that the dtb can be selected preferably.

Defining compatibly revisions allows depthcharge to select the kernel
via the revision it detects instead of using the default kernel. This
allows having a FIT image with multiple kernels for multiple devices.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124-nyan-blaze.dts

index c958236..cb2238c 100644 (file)
@@ -6,7 +6,13 @@
 
 / {
        model = "HP Chromebook 14";
-       compatible = "google,nyan-blaze", "google,nyan", "nvidia,tegra124";
+       compatible = "google,nyan-blaze-rev10", "google,nyan-blaze-rev9",
+                    "google,nyan-blaze-rev8", "google,nyan-blaze-rev7",
+                    "google,nyan-blaze-rev6", "google,nyan-blaze-rev5",
+                    "google,nyan-blaze-rev4", "google,nyan-blaze-rev3",
+                    "google,nyan-blaze-rev2", "google,nyan-blaze-rev1",
+                    "google,nyan-blaze-rev0", "google,nyan-blaze",
+                    "google,nyan", "nvidia,tegra124";
 
        panel: panel {
                compatible = "samsung,ltn140at29-301";