diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2022-02-17 21:15:54 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-02-25 17:54:56 +0100 |
commit | 8144f9c665327cae94a4e4b27ed3789d3777f978 (patch) | |
tree | 71553279669125015400c3eaea0ee3077a9fc568 /target/linux/mpc85xx/files | |
parent | 71d86a2db92d3426f594b21873b9a2cc952b33c2 (diff) | |
download | upstream-8144f9c665327cae94a4e4b27ed3789d3777f978.tar.gz upstream-8144f9c665327cae94a4e4b27ed3789d3777f978.tar.bz2 upstream-8144f9c665327cae94a4e4b27ed3789d3777f978.zip |
mpc85xx: HiveAP-330: add tmp125 temperature sensor
the Aerohive HiveAP-330 and HiveAP-350 come equipped
with an TI TMP125 temperature chip. This patch wires
up the necessary support for this sensor and exposes
it through hwmon / thermal sensor framework. Upstream
support is coming, but it has to go through hwmon-next
first.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/mpc85xx/files')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts index bb2f2d0827..ccf60eaeed 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts @@ -24,6 +24,7 @@ led-running = &led_power_green; led-upgrade = &led_fault_red; label-mac-device = &enet0; + spi0 = &spi0; }; memory { @@ -113,6 +114,14 @@ board_soc: soc: soc@ffe00000 { ranges = <0x0 0x0 0xffe00000 0x100000>; + spi0: spi@7000 { + temperature-sensor@1 { + compatible = "ti,tmp125"; + reg = <1>; + spi-max-frequency = <5000000>; + }; + }; + i2c@3100 { tpm@29 { compatible = "atmel,at97sc3204t"; |