From 4b1a78330df4742aa862468911b38c36d3edba30 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Sun, 17 Oct 2021 12:12:26 +0200 Subject: [PATCH 1/2] arm64: dts: exynos: add 'chassis-type' property A new 'chassis-type' root node property has recently been approved for the device-tree specification. Add this property for end-user devices (such as laptops, smartphones and tablets) based on Samsung Exynos ARM64 SoCs. Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20211017101228.19478-1-krzysztof.kozlowski@canonical.com --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 1 + arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index fdd0796b29d4..aca01709fd29 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -13,6 +13,7 @@ / { model = "Samsung TM2 board"; compatible = "samsung,tm2", "samsung,exynos5433"; + chassis-type = "handset"; }; &cmu_disp { diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts index 089fc7a1af67..22d26460f3dd 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts @@ -13,6 +13,7 @@ / { model = "Samsung TM2E board"; compatible = "samsung,tm2e", "samsung,exynos5433"; + chassis-type = "handset"; }; &cmu_disp { From b2f217cc7fbd3e6a097021b8b663328a649ea232 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Thu, 21 Oct 2021 10:20:17 +0900 Subject: [PATCH 2/2] arm64: dts: exynos: add chipid node for exynosautov9 SoC It can be compatible with exynos850's chipid. The SoC has eight chipid registers that can be used for OTP. Cc: Sam Protsenko Signed-off-by: Chanho Park Link: https://lore.kernel.org/r/20211021012017.158919-3-chanho61.park@samsung.com Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index 932d7525d4b8..3e4727344b4a 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -184,6 +184,11 @@ #size-cells = <1>; ranges = <0x0 0x0 0x0 0x20000000>; + chipid@10000000 { + compatible = "samsung,exynos850-chipid"; + reg = <0x10000000 0x24>; + }; + gic: interrupt-controller@10101000 { compatible = "arm,gic-400"; #interrupt-cells = <3>;