summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2015-09-15 18:51:01 +0200
committerSudeep Holla <sudeep.holla@arm.com>2015-10-09 11:26:41 +0200
commitdfacaf0e7cbe9f845459f3332f94cdbc368932af (patch)
treeeb2d33e882f35642ffb8b59edab5fa71559f8b23 /arch/arm64
parentarm64: dts: add clock support for all the cpus (diff)
downloadlinux-dfacaf0e7cbe9f845459f3332f94cdbc368932af.tar.xz
linux-dfacaf0e7cbe9f845459f3332f94cdbc368932af.zip
arm64: dts: Add sensor node to Juno dt
The SCP firmware on Juno provides access to SoC sensors via the SCPI. Add the sensor nodes to the device tree to enable this support. Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/arm/juno-base.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index c624208edef6..dd5158eb5872 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -96,6 +96,11 @@
clock-output-names = "pxlclk0", "pxlclk1";
};
};
+
+ scpi_sensors0: sensors {
+ compatible = "arm,scpi-sensors";
+ #thermal-sensor-cells = <1>;
+ };
};
/include/ "juno-clocks.dtsi"