serial4 = &uart_AO_B;
tsensor0 = &p_tsensor;
tsensor1 = &d_tsensor;
+ tsensor2 = &s_tsensor;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
#thermal-sensor-cells = <1>;
};
+ s_tsensor: s_tsensor@ff635000 {
+ compatible = "amlogic, r1p1-tsensor";
+ status = "okay";
+ reg = <0xff635000 0x50>,
+ <0xff80026c 0x4>;
+ cal_type = <0x1>;
+ cal_a = <324>;
+ cal_b = <424>;
+ cal_c = <3159>;
+ cal_d = <9411>;
+ rtemp = <115000>;
+ interrupts = <0 38 0>;
+ clocks = <&clkc CLKID_TS_CLK_COMP>; /* CLKID_TS_COMP>;*/
+ clock-names = "ts_comp";
+ #thermal-sensor-cells = <1>;
+ };
+
meson_cooldev: meson-cooldev@0 {
status = "okay";
compatible = "amlogic, meson-cooldev";
};
};
};
+ sar_thermal: sar_thermal {
+ polling-delay = <1000>;
+ polling-delay-passive = <250>;
+ sustainable-power = <1460>;
+ thermal-sensors = <&s_tsensor 2>;
+ trips {
+ sswitch_on: trip-point@0 {
+ temperature = <60000>;
+ hysteresis = <5000>;
+ type = "passive";
+ };
+ scontrol: trip-point@1 {
+ temperature = <75000>;
+ hysteresis = <5000>;
+ type = "passive";
+ };
+ shot: trip-point@2 {
+ temperature = <85000>;
+ hysteresis = <5000>;
+ type = "hot";
+ };
+ scritical: trip-point@3 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
};/*thermal zone end*/
/*DCDC for MP8756GD*/
serial4 = &uart_AO_B;
tsensor0 = &p_tsensor;
tsensor1 = &d_tsensor;
+ tsensor2 = &s_tsensor;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
#thermal-sensor-cells = <1>;
};
+ s_tsensor: s_tsensor@ff635000 {
+ compatible = "amlogic, r1p1-tsensor";
+ status = "okay";
+ reg = <0xff635000 0x50>,
+ <0xff80026c 0x4>;
+ cal_type = <0x1>;
+ cal_a = <324>;
+ cal_b = <424>;
+ cal_c = <3159>;
+ cal_d = <9411>;
+ rtemp = <115000>;
+ interrupts = <0 38 0>;
+ clocks = <&clkc CLKID_TS_CLK_COMP>; /* CLKID_TS_COMP>;*/
+ clock-names = "ts_comp";
+ #thermal-sensor-cells = <1>;
+ };
+
meson_cooldev: meson-cooldev@0 {
status = "okay";
compatible = "amlogic, meson-cooldev";
};
};
};
+ sar_thermal: sar_thermal {
+ polling-delay = <1000>;
+ polling-delay-passive = <250>;
+ sustainable-power = <1460>;
+ thermal-sensors = <&s_tsensor 2>;
+ trips {
+ sswitch_on: trip-point@0 {
+ temperature = <60000>;
+ hysteresis = <5000>;
+ type = "passive";
+ };
+ scontrol: trip-point@1 {
+ temperature = <75000>;
+ hysteresis = <5000>;
+ type = "passive";
+ };
+ shot: trip-point@2 {
+ temperature = <85000>;
+ hysteresis = <5000>;
+ type = "hot";
+ };
+ scritical: trip-point@3 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
}; /*thermal zone end*/
/*DCDC for MP8756GD*/