@@ -43,6 +43,10 @@
status = "okay";
};
+ tmon: tmon@34008000 {
+ status = "okay";
+ };
+
usbotg@3f120000 {
status = "okay";
};
@@ -13,6 +13,7 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/thermal/thermal.h>
#include "skeleton.dtsi"
@@ -25,6 +26,24 @@
bootargs = "console=ttyS0,115200n8";
};
+ thermal-zones {
+ cpu_thermal: cpu_thermal {
+ polling-delay-passive = <250>; /* msec */
+ polling-delay = <1000>; /* msec */
+
+ /* sensor */
+ thermal-sensors = <&tmon>;
+
+ trips {
+ cpu_crit: cpu_crit {
+ temperature = <105000>; /* mCelsius */
+ hysteresis = <2000>; /* mCelsius */
+ type = THERMAL_TRIP_CRITICAL;
+ };
+ };
+ };
+ };
+
gic: interrupt-controller@3ff00100 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
@@ -285,6 +304,15 @@
};
};
+ tmon: tmon@34008000 {
+ compatible = "brcm,bcm11351-tmon", "brcm,kona-tmon";
+ reg = <0x34008000 0x0024>;
+ clocks = <&tmon_1m_clk>;
+ interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
+ #thermal-sensor-cells = <0>;
+ status = "disabled";
+ };
+
usbotg: usbotg@3f120000 {
compatible = "snps,dwc2";
reg = <0x3f120000 0x10000>;
@@ -305,4 +333,5 @@
compatible = "brcm,kona-usb2";
status = "disabled";
};
+
};
@@ -63,6 +63,10 @@
status = "okay";
};
+ tmon: tmon@34008000 {
+ status = "okay";
+ };
+
usbotg@3f120000 {
status = "okay";
};