diff mbox series

arm64: dts: meson-axg: add secure monitor

Message ID 20181108130744.32323-1-jbrunet@baylibre.com
State Accepted
Commit 96dc5702acbb203026f1629993037267f432a318
Headers show
Series arm64: dts: meson-axg: add secure monitor | expand

Commit Message

Jerome Brunet Nov. 8, 2018, 1:07 p.m. UTC
Add the secure monitor device to the axg platform.
With this, we can read the SoC serial number.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

---
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.19.1

Comments

Neil Armstrong Nov. 8, 2018, 2:40 p.m. UTC | #1
On 08/11/2018 14:07, Jerome Brunet wrote:
> Add the secure monitor device to the axg platform.

> With this, we can read the SoC serial number.

> 

> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

> ---

>  arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++

>  1 file changed, 4 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi

> index e0139f174726..3cc0044d3468 100644

> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi

> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi

> @@ -110,6 +110,10 @@

>  		};

>  	};

>  

> +	sm: secure-monitor {

> +		compatible = "amlogic,meson-gxbb-sm";

> +	};

> +

>  	psci {

>  		compatible = "arm,psci-1.0";

>  		method = "smc";

> 


Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Kevin Hilman Nov. 15, 2018, 7:58 p.m. UTC | #2
Jerome Brunet <jbrunet@baylibre.com> writes:

> Add the secure monitor device to the axg platform.

> With this, we can read the SoC serial number.

>

> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>


Queued for v4.21 with Neil's tag (branch: v4.21/dt64)

Kevin
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index e0139f174726..3cc0044d3468 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -110,6 +110,10 @@ 
 		};
 	};
 
+	sm: secure-monitor {
+		compatible = "amlogic,meson-gxbb-sm";
+	};
+
 	psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";