diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2016-11-02 10:18:23 +0000 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-11-11 08:55:52 -0800 |
commit | 43bac4133f405b67857e4c985aecc44a57233bfe (patch) | |
tree | 797a71d2a6c49df9242eac813eeef2828e7883f0 /arch/arm/boot/dts/bcm2835.dtsi | |
parent | 1567e95a010b7e0adbfacbf3c5d863e7850fdc28 (diff) | |
download | linux-rt-43bac4133f405b67857e4c985aecc44a57233bfe.tar.gz |
ARM: bcm2835: dts: add thermal node to device-tree of bcm283x
Add the node for the thermal sensor of the bcm2835-soc
to the device tree.
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Changelog:
V1 -> V5: generic settings is shared in bcm283x.dtsi, but disabled
moved the compatible string to the SOC specific dtsi
for arm and arm64
V5 -> V6: fix remove 0x prefix from thermal@0x7e212000
Note: there is no arm/boot/dts/bcm2837.dtsi as of now,
so the 32-bit rpi3 dt is not modified.
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835.dtsi')
-rw-r--r-- | arch/arm/boot/dts/bcm2835.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index a78759e73710..0890d97e674d 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi @@ -23,3 +23,9 @@ }; }; }; + +/* enable thermal sensor with the correct compatible property set */ +&thermal { + compatible = "brcm,bcm2835-thermal"; + status = "okay"; +}; |