aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra124-jetson-tk1.dts
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-03-24 20:04:43 -0400
committerStephen Warren <swarren@nvidia.com>2014-04-15 16:32:32 -0400
commit22b3577659fd2d001ef9455a2856321a99229747 (patch)
tree1032081ede52af7f6120d85402a087d3d6f172f5 /arch/arm/boot/dts/tegra124-jetson-tk1.dts
parent15e524a4ea23015aa3df37bfc37bf8be8eae8ead (diff)
ARM: tegra: define Jetson TK1 regulators
These are mostly identical to the Venice2 regulator definitions, since the board designs are very similar. Differences are: - Jetson TK1 doesn't have a built-in LCD panel, so on-board regulators are not present for the backlight, touchscreen, or panel. - +3.3V_RUN needs to be boot-on/always-on, since it's widely used. This change should likely be propagated to Venice2 for completeness, although it will have no practical effect there since various other regulators use +3.3V_RUN as their supply and are always-on. - +3.3V_LP0 needs to be boot-on as well as always-on. One reason is because it's used to driver the UART level-shifter; without this, I see a brief period of UART corruption during cold boots.I suspect this change needs to be propagated to Venice2, and we simply haven't noticed the need since there's no UART level-shifter on Venice2. - A few rails have different names in the schematics. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124-jetson-tk1.dts')
-rw-r--r--arch/arm/boot/dts/tegra124-jetson-tk1.dts230
1 files changed, 230 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
index dedcb0c165c5..ae5c750dc515 100644
--- a/arch/arm/boot/dts/tegra124-jetson-tk1.dts
+++ b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
@@ -1426,6 +1426,155 @@
1426 bias-high-impedance; 1426 bias-high-impedance;
1427 }; 1427 };
1428 }; 1428 };
1429
1430 regulators {
1431 vsup-sd2-supply = <&vdd_5v0_sys>;
1432 vsup-sd3-supply = <&vdd_5v0_sys>;
1433 vsup-sd4-supply = <&vdd_5v0_sys>;
1434 vsup-sd5-supply = <&vdd_5v0_sys>;
1435 vin-ldo0-supply = <&vdd_1v35_lp0>;
1436 vin-ldo1-6-supply = <&vdd_3v3_run>;
1437 vin-ldo2-5-7-supply = <&vddio_1v8>;
1438 vin-ldo3-4-supply = <&vdd_3v3_sys>;
1439 vin-ldo9-10-supply = <&vdd_5v0_sys>;
1440 vin-ldo11-supply = <&vdd_3v3_run>;
1441
1442 sd0 {
1443 regulator-name = "+VDD_CPU_AP";
1444 regulator-min-microvolt = <700000>;
1445 regulator-max-microvolt = <1400000>;
1446 regulator-min-microamp = <3500000>;
1447 regulator-max-microamp = <3500000>;
1448 regulator-always-on;
1449 regulator-boot-on;
1450 ams,external-control = <2>;
1451 };
1452
1453 sd1 {
1454 regulator-name = "+VDD_CORE";
1455 regulator-min-microvolt = <700000>;
1456 regulator-max-microvolt = <1350000>;
1457 regulator-min-microamp = <2500000>;
1458 regulator-max-microamp = <2500000>;
1459 regulator-always-on;
1460 regulator-boot-on;
1461 ams,external-control = <1>;
1462 };
1463
1464 vdd_1v35_lp0: sd2 {
1465 regulator-name = "+1.35V_LP0(sd2)";
1466 regulator-min-microvolt = <1350000>;
1467 regulator-max-microvolt = <1350000>;
1468 regulator-always-on;
1469 regulator-boot-on;
1470 };
1471
1472 sd3 {
1473 regulator-name = "+1.35V_LP0(sd3)";
1474 regulator-min-microvolt = <1350000>;
1475 regulator-max-microvolt = <1350000>;
1476 regulator-always-on;
1477 regulator-boot-on;
1478 };
1479
1480 sd4 {
1481 regulator-name = "+1.05V_RUN";
1482 regulator-min-microvolt = <1050000>;
1483 regulator-max-microvolt = <1050000>;
1484 };
1485
1486 vddio_1v8: sd5 {
1487 regulator-name = "+1.8V_VDDIO";
1488 regulator-min-microvolt = <1800000>;
1489 regulator-max-microvolt = <1800000>;
1490 regulator-boot-on;
1491 regulator-always-on;
1492 };
1493
1494 sd6 {
1495 regulator-name = "+VDD_GPU_AP";
1496 regulator-min-microvolt = <650000>;
1497 regulator-max-microvolt = <1200000>;
1498 regulator-min-microamp = <3500000>;
1499 regulator-max-microamp = <3500000>;
1500 regulator-boot-on;
1501 regulator-always-on;
1502 };
1503
1504 ldo0 {
1505 regulator-name = "+1.05V_RUN_AVDD";
1506 regulator-min-microvolt = <1050000>;
1507 regulator-max-microvolt = <1050000>;
1508 regulator-boot-on;
1509 regulator-always-on;
1510 ams,external-control = <1>;
1511 };
1512
1513 ldo1 {
1514 regulator-name = "+1.8V_RUN_CAM";
1515 regulator-min-microvolt = <1800000>;
1516 regulator-max-microvolt = <1800000>;
1517 };
1518
1519 ldo2 {
1520 regulator-name = "+1.2V_GEN_AVDD";
1521 regulator-min-microvolt = <1200000>;
1522 regulator-max-microvolt = <1200000>;
1523 regulator-boot-on;
1524 regulator-always-on;
1525 };
1526
1527 ldo3 {
1528 regulator-name = "+1.05V_LP0_VDD_RTC";
1529 regulator-min-microvolt = <1000000>;
1530 regulator-max-microvolt = <1000000>;
1531 regulator-boot-on;
1532 regulator-always-on;
1533 ams,enable-tracking;
1534 };
1535
1536 ldo4 {
1537 regulator-name = "+2.8V_RUN_CAM";
1538 regulator-min-microvolt = <2800000>;
1539 regulator-max-microvolt = <2800000>;
1540 };
1541
1542 ldo5 {
1543 regulator-name = "+1.2V_RUN_CAM_FRONT";
1544 regulator-min-microvolt = <1200000>;
1545 regulator-max-microvolt = <1200000>;
1546 };
1547
1548 vddio_sdmmc3: ldo6 {
1549 regulator-name = "+VDDIO_SDMMC3";
1550 regulator-min-microvolt = <1800000>;
1551 regulator-max-microvolt = <3300000>;
1552 };
1553
1554 ldo7 {
1555 regulator-name = "+1.05V_RUN_CAM_REAR";
1556 regulator-min-microvolt = <1050000>;
1557 regulator-max-microvolt = <1050000>;
1558 };
1559
1560 ldo9 {
1561 regulator-name = "+3.3V_RUN_TOUCH";
1562 regulator-min-microvolt = <2800000>;
1563 regulator-max-microvolt = <2800000>;
1564 };
1565
1566 ldo10 {
1567 regulator-name = "+2.8V_RUN_CAM_AF";
1568 regulator-min-microvolt = <2800000>;
1569 regulator-max-microvolt = <2800000>;
1570 };
1571
1572 ldo11 {
1573 regulator-name = "+1.8V_RUN_VPP_FUSE";
1574 regulator-min-microvolt = <1800000>;
1575 regulator-max-microvolt = <1800000>;
1576 };
1577 };
1429 }; 1578 };
1430 }; 1579 };
1431 1580
@@ -1462,6 +1611,7 @@
1462 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 1611 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
1463 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; 1612 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1464 bus-width = <4>; 1613 bus-width = <4>;
1614 vmmc-supply = <&vddio_sdmmc3>;
1465 }; 1615 };
1466 1616
1467 /* eMMC */ 1617 /* eMMC */
@@ -1525,6 +1675,72 @@
1525 #address-cells = <1>; 1675 #address-cells = <1>;
1526 #size-cells = <0>; 1676 #size-cells = <0>;
1527 1677
1678 vdd_mux: regulator@0 {
1679 compatible = "regulator-fixed";
1680 reg = <0>;
1681 regulator-name = "+VDD_MUX";
1682 regulator-min-microvolt = <12000000>;
1683 regulator-max-microvolt = <12000000>;
1684 regulator-always-on;
1685 regulator-boot-on;
1686 };
1687
1688 vdd_5v0_sys: regulator@1 {
1689 compatible = "regulator-fixed";
1690 reg = <1>;
1691 regulator-name = "+5V_SYS";
1692 regulator-min-microvolt = <5000000>;
1693 regulator-max-microvolt = <5000000>;
1694 regulator-always-on;
1695 regulator-boot-on;
1696 vin-supply = <&vdd_mux>;
1697 };
1698
1699 vdd_3v3_sys: regulator@2 {
1700 compatible = "regulator-fixed";
1701 reg = <2>;
1702 regulator-name = "+3.3V_SYS";
1703 regulator-min-microvolt = <3300000>;
1704 regulator-max-microvolt = <3300000>;
1705 regulator-always-on;
1706 regulator-boot-on;
1707 vin-supply = <&vdd_mux>;
1708 };
1709
1710 vdd_3v3_run: regulator@3 {
1711 compatible = "regulator-fixed";
1712 reg = <3>;
1713 regulator-name = "+3.3V_RUN";
1714 regulator-min-microvolt = <3300000>;
1715 regulator-max-microvolt = <3300000>;
1716 regulator-always-on;
1717 regulator-boot-on;
1718 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1719 enable-active-high;
1720 vin-supply = <&vdd_3v3_sys>;
1721 };
1722
1723 vdd_3v3_hdmi: regulator@4 {
1724 compatible = "regulator-fixed";
1725 reg = <4>;
1726 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1727 regulator-min-microvolt = <3300000>;
1728 regulator-max-microvolt = <3300000>;
1729 vin-supply = <&vdd_3v3_run>;
1730 };
1731
1732 vdd_usb1_vbus: regulator@7 {
1733 compatible = "regulator-fixed";
1734 reg = <7>;
1735 regulator-name = "+USB0_VBUS_SW";
1736 regulator-min-microvolt = <5000000>;
1737 regulator-max-microvolt = <5000000>;
1738 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
1739 enable-active-high;
1740 gpio-open-drain;
1741 vin-supply = <&vdd_5v0_sys>;
1742 };
1743
1528 vdd_usb3_vbus: regulator@8 { 1744 vdd_usb3_vbus: regulator@8 {
1529 compatible = "regulator-fixed"; 1745 compatible = "regulator-fixed";
1530 reg = <8>; 1746 reg = <8>;
@@ -1534,6 +1750,20 @@
1534 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 1750 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1535 enable-active-high; 1751 enable-active-high;
1536 gpio-open-drain; 1752 gpio-open-drain;
1753 vin-supply = <&vdd_5v0_sys>;
1754 };
1755
1756 vdd_3v3_lp0: regulator@10 {
1757 compatible = "regulator-fixed";
1758 reg = <10>;
1759 regulator-name = "+3.3V_LP0";
1760 regulator-min-microvolt = <3300000>;
1761 regulator-max-microvolt = <3300000>;
1762 regulator-always-on;
1763 regulator-boot-on;
1764 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
1765 enable-active-high;
1766 vin-supply = <&vdd_3v3_sys>;
1537 }; 1767 };
1538 }; 1768 };
1539 1769