aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am57xx-beagle-x15.dts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-22 12:03:30 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-22 12:03:30 -0400
commit38eb1dbb0d7d190bdfe2ea824e94dab19e32737f (patch)
tree750c5f99f23d6b3e2b6446e9d2e17fec2e05ec3c /arch/arm/boot/dts/am57xx-beagle-x15.dts
parentdb4fd9c5d072a20ea6b7e40276a9822e04732610 (diff)
parentcdaa8cf34863028dab238e1498555bf12d693244 (diff)
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "Here's the usual "low-priority fixes that didn't make it into the last few -rcs, with a twist: We had a fixes pull request that I didn't send in time to get into 4.0, so we'll send some of them to Greg for -stable as well. Contents here is as usual not all that controversial: - a handful of randconfig fixes from Arnd, in particular for older Samsung platforms - Exynos fixes, !SMP building, DTS updates for MMC and lid switch - Kbuild fix to create output subdirectory for DTB files - misc minor fixes for OMAP" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits) ARM: at91/dt: sama5d3 xplained: add phy address for macb1 kbuild: Create directory for target DTB ARM: mvebu: Disable CPU Idle on Armada 38x ARM: DRA7: Enable Cortex A15 errata 798181 ARM: dts: am57xx-beagle-x15: Add thermal map to include fan and tmp102 ARM: dts: DRA7: Add bandgap and related thermal nodes bus: ocp2scp: SYNC2 value should be changed to 0x6 ARM: dts: am4372: Add "ti,am437x-ocp2scp" as compatible string for OCP2SCP ARM: OMAP2+: remove superfluous NULL pointer check ARM: EXYNOS: Fix build breakage cpuidle on !SMP ARM: dts: fix lid and power pin-functions for exynos5250-spring ARM: dts: fix mmc node updates for exynos5250-spring ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688 MAINTAINERS: add OMAP defconfigs under OMAP SUPPORT ARM: OMAP1: PM: fix some build warnings on 1510-only Kconfigs ARM: cns3xxx: don't export static symbol ARM: S3C24XX: avoid a Kconfig warning ARM: S3C24XX: fix header file inclusions ARM: S3C24XX: fix building without PM_SLEEP ARM: S3C24XX: use SAMSUNG_WAKEMASK for s3c2416 ...
Diffstat (limited to 'arch/arm/boot/dts/am57xx-beagle-x15.dts')
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15.dts49
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index bd48dba16748..e580f4ffbde0 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -87,6 +87,7 @@
87 gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>; 87 gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>;
88 gpio-fan,speed-map = <0 0>, 88 gpio-fan,speed-map = <0 0>,
89 <13000 1>; 89 <13000 1>;
90 #cooling-cells = <2>;
90 }; 91 };
91 92
92 extcon_usb1: extcon_usb1 { 93 extcon_usb1: extcon_usb1 {
@@ -442,6 +443,7 @@
442 pinctrl-0 = <&tmp102_pins_default>; 443 pinctrl-0 = <&tmp102_pins_default>;
443 interrupt-parent = <&gpio7>; 444 interrupt-parent = <&gpio7>;
444 interrupts = <16 IRQ_TYPE_LEVEL_LOW>; 445 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
446 #thermal-sensor-cells = <1>;
445 }; 447 };
446}; 448};
447 449
@@ -551,3 +553,50 @@
551&usb2 { 553&usb2 {
552 dr_mode = "peripheral"; 554 dr_mode = "peripheral";
553}; 555};
556
557&cpu_trips {
558 cpu_alert1: cpu_alert1 {
559 temperature = <50000>; /* millicelsius */
560 hysteresis = <2000>; /* millicelsius */
561 type = "active";
562 };
563};
564
565&cpu_cooling_maps {
566 map1 {
567 trip = <&cpu_alert1>;
568 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
569 };
570};
571
572&thermal_zones {
573 board_thermal: board_thermal {
574 polling-delay-passive = <1250>; /* milliseconds */
575 polling-delay = <1500>; /* milliseconds */
576
577 /* sensor ID */
578 thermal-sensors = <&tmp102 0>;
579
580 board_trips: trips {
581 board_alert0: board_alert {
582 temperature = <40000>; /* millicelsius */
583 hysteresis = <2000>; /* millicelsius */
584 type = "active";
585 };
586
587 board_crit: board_crit {
588 temperature = <105000>; /* millicelsius */
589 hysteresis = <0>; /* millicelsius */
590 type = "critical";
591 };
592 };
593
594 board_cooling_maps: cooling-maps {
595 map0 {
596 trip = <&board_alert0>;
597 cooling-device =
598 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
599 };
600 };
601 };
602};