thermal: enable thermal sensor for g12b

PD#165090: thermal: enable g12b thermal sensor dts

Change-Id: Ia7dbdf0330bacbd50bc1f1c599abac439ff38985
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
This commit is contained in:
Huan Biao
2018-05-25 16:16:15 +08:00
committed by Yixun Lan
parent f6739bf8ea
commit 655d35ff62
2 changed files with 4 additions and 2 deletions

View File

@@ -33,6 +33,8 @@
i2c2 = &i2c2;
i2c3 = &i2c3;
i2c4 = &i2c_AO;
tsensor0 = &p_tsensor;
tsensor1 = &d_tsensor;
};
memory@00000000 {

View File

@@ -487,7 +487,7 @@
p_tsensor: p_tsensor@ff634594 {
compatible = "amlogic, r1p1-tsensor";
device_name = "meson-pthermal";
status = "disabled";
status = "okay";
reg = <0x0 0xff634800 0x0 0x50>,
<0x0 0xff800268 0x0 0x4>;
cal_type = <0x1>;
@@ -505,7 +505,7 @@
d_tsensor: d_tsensor@ff800228 {
compatible = "amlogic, r1p1-tsensor";
device_name = "meson-dthermal";
status = "disabled";
status = "okay";
reg = <0x0 0xff634c00 0x0 0x50>,
<0x0 0xff800230 0x0 0x4>;
cal_type = <0x1>;