From 2d6116d7f75a14ddb3e274aa3507d3e05258ab84 Mon Sep 17 00:00:00 2001 From: Joacim Zetterling Date: Sat, 2 Dec 2023 18:42:02 +0100 Subject: [PATCH] dts: set default dts files for platforms Signed-off-by: Joacim Zetterling --- dts/Makefile | 1 - dts/basis/{0000-lynx => 0000-default}/device-tree.dts | 0 dts/byron/{0000-byron => 0000-default}/device-tree.dts | 0 dts/coronet/{0000-coronet => 0000-default}/device-tree.dts | 0 dts/dagger/{0000-needle => 0000-default}/device-tree.dts | 0 dts/ember/{0000-ember => 0000-default}/device-tree.dts | 2 ++ dts/envoy/{0000-envious => 0000-default}/device-tree.dts | 0 7 files changed, 2 insertions(+), 1 deletion(-) rename dts/basis/{0000-lynx => 0000-default}/device-tree.dts (100%) rename dts/byron/{0000-byron => 0000-default}/device-tree.dts (100%) rename dts/coronet/{0000-coronet => 0000-default}/device-tree.dts (100%) rename dts/dagger/{0000-needle => 0000-default}/device-tree.dts (100%) rename dts/ember/{0000-ember => 0000-default}/device-tree.dts (99%) rename dts/envoy/{0000-envious => 0000-default}/device-tree.dts (100%) diff --git a/dts/Makefile b/dts/Makefile index d999872..7b921f3 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -12,7 +12,6 @@ karch-ember := arm64 karch-zero := x86_64 karch := $(karch-$(PLAT)) -default-board-dagger := 0000-needle default-board := $(default-board-$(PLAT)) kernel-dts := $(LINUX_DIR)/arch/$(karch)/boot/dts diff --git a/dts/basis/0000-lynx/device-tree.dts b/dts/basis/0000-default/device-tree.dts similarity index 100% rename from dts/basis/0000-lynx/device-tree.dts rename to dts/basis/0000-default/device-tree.dts diff --git a/dts/byron/0000-byron/device-tree.dts b/dts/byron/0000-default/device-tree.dts similarity index 100% rename from dts/byron/0000-byron/device-tree.dts rename to dts/byron/0000-default/device-tree.dts diff --git a/dts/coronet/0000-coronet/device-tree.dts b/dts/coronet/0000-default/device-tree.dts similarity index 100% rename from dts/coronet/0000-coronet/device-tree.dts rename to dts/coronet/0000-default/device-tree.dts diff --git a/dts/dagger/0000-needle/device-tree.dts b/dts/dagger/0000-default/device-tree.dts similarity index 100% rename from dts/dagger/0000-needle/device-tree.dts rename to dts/dagger/0000-default/device-tree.dts diff --git a/dts/ember/0000-ember/device-tree.dts b/dts/ember/0000-default/device-tree.dts similarity index 99% rename from dts/ember/0000-ember/device-tree.dts rename to dts/ember/0000-default/device-tree.dts index f796491..b0be63b 100644 --- a/dts/ember/0000-ember/device-tree.dts +++ b/dts/ember/0000-default/device-tree.dts @@ -14,6 +14,8 @@ }; / { + model = "Ember"; + gpio-restart { compatible = "gpio-restart"; gpios = <&gpio 37 GPIO_ACTIVE_LOW>; diff --git a/dts/envoy/0000-envious/device-tree.dts b/dts/envoy/0000-default/device-tree.dts similarity index 100% rename from dts/envoy/0000-envious/device-tree.dts rename to dts/envoy/0000-default/device-tree.dts