mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
43bac4133f
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>
32 lines
515 B
Plaintext
32 lines
515 B
Plaintext
#include "bcm283x.dtsi"
|
|
|
|
/ {
|
|
compatible = "brcm,bcm2835";
|
|
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "arm,arm1176jzf-s";
|
|
reg = <0x0>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
ranges = <0x7e000000 0x20000000 0x02000000>;
|
|
dma-ranges = <0x40000000 0x00000000 0x20000000>;
|
|
|
|
arm-pmu {
|
|
compatible = "arm,arm1176-pmu";
|
|
};
|
|
};
|
|
};
|
|
|
|
/* enable thermal sensor with the correct compatible property set */
|
|
&thermal {
|
|
compatible = "brcm,bcm2835-thermal";
|
|
status = "okay";
|
|
};
|