.. | .. |
---|
1330 | 1330 | battery: bq27742@55 { |
---|
1331 | 1331 | compatible = "ti,bq27742"; |
---|
1332 | 1332 | reg = <0x55>; |
---|
1333 | | - battery-name = "battery"; |
---|
1334 | 1333 | }; |
---|
1335 | 1334 | }; |
---|
1336 | 1335 | }; |
---|
.. | .. |
---|
1340 | 1339 | status = "okay"; |
---|
1341 | 1340 | clock-frequency = <1000000>; |
---|
1342 | 1341 | |
---|
1343 | | - max77620: max77620@3c { |
---|
| 1342 | + max77621_cpu: max77621@1b { |
---|
| 1343 | + compatible = "maxim,max77621"; |
---|
| 1344 | + reg = <0x1b>; |
---|
| 1345 | + interrupt-parent = <&gpio>; |
---|
| 1346 | + interrupts = <TEGRA_GPIO(Y, 1) IRQ_TYPE_LEVEL_LOW>; |
---|
| 1347 | + regulator-always-on; |
---|
| 1348 | + regulator-boot-on; |
---|
| 1349 | + regulator-min-microvolt = <800000>; |
---|
| 1350 | + regulator-max-microvolt = <1231250>; |
---|
| 1351 | + regulator-name = "PPVAR_CPU"; |
---|
| 1352 | + regulator-ramp-delay = <12500>; |
---|
| 1353 | + maxim,dvs-default-state = <1>; |
---|
| 1354 | + maxim,enable-active-discharge; |
---|
| 1355 | + maxim,enable-bias-control; |
---|
| 1356 | + maxim,enable-etr; |
---|
| 1357 | + maxim,enable-gpio = <&pmic 5 0>; |
---|
| 1358 | + maxim,externally-enable; |
---|
| 1359 | + }; |
---|
| 1360 | + |
---|
| 1361 | + pmic: pmic@3c { |
---|
1344 | 1362 | compatible = "maxim,max77620"; |
---|
1345 | 1363 | reg = <0x3c>; |
---|
1346 | | - interrupts = <0 86 IRQ_TYPE_NONE>; |
---|
| 1364 | + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
---|
1347 | 1365 | |
---|
1348 | 1366 | #interrupt-cells = <2>; |
---|
1349 | 1367 | interrupt-controller; |
---|
.. | .. |
---|
1354 | 1372 | pinctrl-names = "default"; |
---|
1355 | 1373 | pinctrl-0 = <&max77620_default>; |
---|
1356 | 1374 | |
---|
1357 | | - max77620_default: pinmux@0 { |
---|
1358 | | - pin_gpio { |
---|
| 1375 | + max77620_default: pinmux { |
---|
| 1376 | + gpio0_1_2_7 { |
---|
1359 | 1377 | pins = "gpio0", "gpio1", "gpio2", "gpio7"; |
---|
1360 | 1378 | function = "gpio"; |
---|
1361 | 1379 | }; |
---|
.. | .. |
---|
1365 | 1383 | * sequence, So it must be sequenced up (automatically |
---|
1366 | 1384 | * set by OTP) and down properly. |
---|
1367 | 1385 | */ |
---|
1368 | | - pin_gpio3 { |
---|
| 1386 | + gpio3 { |
---|
1369 | 1387 | pins = "gpio3"; |
---|
1370 | 1388 | function = "fps-out"; |
---|
1371 | 1389 | drive-open-drain = <1>; |
---|
.. | .. |
---|
1374 | 1392 | maxim,active-fps-power-down-slot = <2>; |
---|
1375 | 1393 | }; |
---|
1376 | 1394 | |
---|
1377 | | - pin_gpio5_6 { |
---|
| 1395 | + gpio5_6 { |
---|
1378 | 1396 | pins = "gpio5", "gpio6"; |
---|
1379 | 1397 | function = "gpio"; |
---|
1380 | 1398 | drive-push-pull = <1>; |
---|
1381 | 1399 | }; |
---|
1382 | 1400 | |
---|
1383 | | - pin_32k { |
---|
| 1401 | + gpio4 { |
---|
1384 | 1402 | pins = "gpio4"; |
---|
1385 | 1403 | function = "32k-out1"; |
---|
1386 | 1404 | }; |
---|
.. | .. |
---|
1573 | 1591 | reg = <0x1a>; |
---|
1574 | 1592 | interrupt-parent = <&gpio>; |
---|
1575 | 1593 | interrupts = <TEGRA_GPIO(E, 6) IRQ_TYPE_LEVEL_LOW>; |
---|
1576 | | - clocks = <&tegra_car TEGRA210_CLK_CLK_OUT_2>; |
---|
| 1594 | + clocks = <&tegra_pmc TEGRA_PMC_CLK_OUT_2>; |
---|
1577 | 1595 | clock-names = "mclk"; |
---|
1578 | 1596 | |
---|
1579 | 1597 | nuvoton,jkdet-enable; |
---|
.. | .. |
---|
1635 | 1653 | padctl@7009f000 { |
---|
1636 | 1654 | status = "okay"; |
---|
1637 | 1655 | |
---|
| 1656 | + avdd-pll-utmip-supply = <&pp1800>; |
---|
| 1657 | + avdd-pll-uerefe-supply = <&pp1050_avdd>; |
---|
| 1658 | + dvdd-pex-pll-supply = <&avddio_1v05>; |
---|
| 1659 | + hvdd-pex-pll-e-supply = <&pp1800>; |
---|
| 1660 | + |
---|
1638 | 1661 | pads { |
---|
1639 | 1662 | usb2 { |
---|
1640 | 1663 | status = "okay"; |
---|
.. | .. |
---|
1673 | 1696 | }; |
---|
1674 | 1697 | }; |
---|
1675 | 1698 | |
---|
1676 | | - sdhci@700b0600 { |
---|
| 1699 | + mmc@700b0600 { |
---|
1677 | 1700 | bus-width = <8>; |
---|
1678 | 1701 | non-removable; |
---|
1679 | 1702 | status = "okay"; |
---|
| 1703 | + }; |
---|
| 1704 | + |
---|
| 1705 | + clock@70110000 { |
---|
| 1706 | + status = "okay"; |
---|
| 1707 | + nvidia,cf = <6>; |
---|
| 1708 | + nvidia,ci = <0>; |
---|
| 1709 | + nvidia,cg = <2>; |
---|
| 1710 | + nvidia,droop-ctrl = <0x00000f00>; |
---|
| 1711 | + nvidia,force-mode = <1>; |
---|
| 1712 | + nvidia,i2c-fs-rate = <400000>; |
---|
| 1713 | + nvidia,sample-rate = <12500>; |
---|
| 1714 | + vdd-cpu-supply = <&max77621_cpu>; |
---|
1680 | 1715 | }; |
---|
1681 | 1716 | |
---|
1682 | 1717 | aconnect@702c0000 { |
---|
.. | .. |
---|
1686 | 1721 | status = "okay"; |
---|
1687 | 1722 | }; |
---|
1688 | 1723 | |
---|
1689 | | - agic@702f9000 { |
---|
| 1724 | + interrupt-controller@702f9000 { |
---|
1690 | 1725 | status = "okay"; |
---|
1691 | 1726 | }; |
---|
1692 | 1727 | }; |
---|
1693 | 1728 | |
---|
1694 | | - clocks { |
---|
1695 | | - compatible = "simple-bus"; |
---|
1696 | | - #address-cells = <1>; |
---|
1697 | | - #size-cells = <0>; |
---|
1698 | | - |
---|
1699 | | - clk32k_in: clock@0 { |
---|
1700 | | - compatible = "fixed-clock"; |
---|
1701 | | - reg = <0>; |
---|
1702 | | - #clock-cells = <0>; |
---|
1703 | | - clock-frequency = <32768>; |
---|
1704 | | - }; |
---|
| 1729 | + clk32k_in: clock@0 { |
---|
| 1730 | + compatible = "fixed-clock"; |
---|
| 1731 | + clock-frequency = <32768>; |
---|
| 1732 | + #clock-cells = <0>; |
---|
1705 | 1733 | }; |
---|
1706 | 1734 | |
---|
1707 | 1735 | cpus { |
---|
.. | .. |
---|
1720 | 1748 | cpu@3 { |
---|
1721 | 1749 | enable-method = "psci"; |
---|
1722 | 1750 | }; |
---|
| 1751 | + |
---|
| 1752 | + idle-states { |
---|
| 1753 | + cpu-sleep { |
---|
| 1754 | + arm,psci-suspend-param = <0x00010007>; |
---|
| 1755 | + status = "okay"; |
---|
| 1756 | + }; |
---|
| 1757 | + }; |
---|
1723 | 1758 | }; |
---|
1724 | 1759 | |
---|
1725 | 1760 | gpio-keys { |
---|
1726 | 1761 | compatible = "gpio-keys"; |
---|
1727 | | - gpio-keys,name = "gpio-keys"; |
---|
1728 | 1762 | |
---|
1729 | 1763 | power { |
---|
1730 | 1764 | label = "Power"; |
---|
.. | .. |
---|
1773 | 1807 | method = "smc"; |
---|
1774 | 1808 | }; |
---|
1775 | 1809 | |
---|
1776 | | - regulators { |
---|
1777 | | - compatible = "simple-bus"; |
---|
1778 | | - device_type = "fixed-regulators"; |
---|
1779 | | - #address-cells = <1>; |
---|
1780 | | - #size-cells = <0>; |
---|
| 1810 | + ppvar_sys: regulator@0 { |
---|
| 1811 | + compatible = "regulator-fixed"; |
---|
| 1812 | + regulator-name = "PPVAR_SYS"; |
---|
| 1813 | + regulator-min-microvolt = <4400000>; |
---|
| 1814 | + regulator-max-microvolt = <4400000>; |
---|
| 1815 | + regulator-always-on; |
---|
| 1816 | + }; |
---|
1781 | 1817 | |
---|
1782 | | - ppvar_sys: regulator@0 { |
---|
1783 | | - compatible = "regulator-fixed"; |
---|
1784 | | - reg = <0>; |
---|
1785 | | - regulator-name = "PPVAR_SYS"; |
---|
1786 | | - regulator-min-microvolt = <4400000>; |
---|
1787 | | - regulator-max-microvolt = <4400000>; |
---|
1788 | | - regulator-always-on; |
---|
1789 | | - }; |
---|
| 1818 | + pplcd_vdd: regulator@1 { |
---|
| 1819 | + compatible = "regulator-fixed"; |
---|
| 1820 | + regulator-name = "PPLCD_VDD"; |
---|
| 1821 | + regulator-min-microvolt = <4400000>; |
---|
| 1822 | + regulator-max-microvolt = <4400000>; |
---|
| 1823 | + gpio = <&gpio TEGRA_GPIO(V, 4) 0>; |
---|
| 1824 | + enable-active-high; |
---|
| 1825 | + regulator-boot-on; |
---|
| 1826 | + }; |
---|
1790 | 1827 | |
---|
1791 | | - pplcd_vdd: regulator@1 { |
---|
1792 | | - compatible = "regulator-fixed"; |
---|
1793 | | - reg = <1>; |
---|
1794 | | - regulator-name = "PPLCD_VDD"; |
---|
1795 | | - regulator-min-microvolt = <4400000>; |
---|
1796 | | - regulator-max-microvolt = <4400000>; |
---|
1797 | | - gpio = <&gpio TEGRA_GPIO(V, 4) 0>; |
---|
1798 | | - enable-active-high; |
---|
1799 | | - regulator-boot-on; |
---|
1800 | | - }; |
---|
| 1828 | + pp3000_always: regulator@2 { |
---|
| 1829 | + compatible = "regulator-fixed"; |
---|
| 1830 | + regulator-name = "PP3000_ALWAYS"; |
---|
| 1831 | + regulator-min-microvolt = <3000000>; |
---|
| 1832 | + regulator-max-microvolt = <3000000>; |
---|
| 1833 | + regulator-always-on; |
---|
| 1834 | + }; |
---|
1801 | 1835 | |
---|
1802 | | - pp3000_always: regulator@2 { |
---|
1803 | | - compatible = "regulator-fixed"; |
---|
1804 | | - reg = <2>; |
---|
1805 | | - regulator-name = "PP3000_ALWAYS"; |
---|
1806 | | - regulator-min-microvolt = <3000000>; |
---|
1807 | | - regulator-max-microvolt = <3000000>; |
---|
1808 | | - regulator-always-on; |
---|
1809 | | - }; |
---|
| 1836 | + pp3300: regulator@3 { |
---|
| 1837 | + compatible = "regulator-fixed"; |
---|
| 1838 | + regulator-name = "PP3300"; |
---|
| 1839 | + regulator-min-microvolt = <3300000>; |
---|
| 1840 | + regulator-max-microvolt = <3300000>; |
---|
| 1841 | + regulator-boot-on; |
---|
| 1842 | + regulator-always-on; |
---|
| 1843 | + enable-active-high; |
---|
| 1844 | + }; |
---|
1810 | 1845 | |
---|
1811 | | - pp3300: regulator@3 { |
---|
1812 | | - compatible = "regulator-fixed"; |
---|
1813 | | - reg = <3>; |
---|
1814 | | - regulator-name = "PP3300"; |
---|
1815 | | - regulator-min-microvolt = <3300000>; |
---|
1816 | | - regulator-max-microvolt = <3300000>; |
---|
1817 | | - regulator-boot-on; |
---|
1818 | | - regulator-always-on; |
---|
1819 | | - enable-active-high; |
---|
1820 | | - }; |
---|
| 1846 | + pp5000: regulator@4 { |
---|
| 1847 | + compatible = "regulator-fixed"; |
---|
| 1848 | + regulator-name = "PP5000"; |
---|
| 1849 | + regulator-min-microvolt = <5000000>; |
---|
| 1850 | + regulator-max-microvolt = <5000000>; |
---|
| 1851 | + regulator-always-on; |
---|
| 1852 | + }; |
---|
1821 | 1853 | |
---|
1822 | | - pp5000: regulator@4 { |
---|
1823 | | - compatible = "regulator-fixed"; |
---|
1824 | | - reg = <4>; |
---|
1825 | | - regulator-name = "PP5000"; |
---|
1826 | | - regulator-min-microvolt = <5000000>; |
---|
1827 | | - regulator-max-microvolt = <5000000>; |
---|
1828 | | - regulator-always-on; |
---|
1829 | | - }; |
---|
| 1854 | + pp1800_lcdio: regulator@5 { |
---|
| 1855 | + compatible = "regulator-fixed"; |
---|
| 1856 | + regulator-name = "PP1800_LCDIO"; |
---|
| 1857 | + regulator-min-microvolt = <1800000>; |
---|
| 1858 | + regulator-max-microvolt = <1800000>; |
---|
| 1859 | + gpio = <&gpio TEGRA_GPIO(V, 3) 0>; |
---|
| 1860 | + enable-active-high; |
---|
| 1861 | + regulator-boot-on; |
---|
| 1862 | + }; |
---|
1830 | 1863 | |
---|
1831 | | - pp1800_lcdio: regulator@5 { |
---|
1832 | | - compatible = "regulator-fixed"; |
---|
1833 | | - reg = <5>; |
---|
1834 | | - regulator-name = "PP1800_LCDIO"; |
---|
1835 | | - regulator-min-microvolt = <1800000>; |
---|
1836 | | - regulator-max-microvolt = <1800000>; |
---|
1837 | | - gpio = <&gpio TEGRA_GPIO(V, 3) 0>; |
---|
1838 | | - enable-active-high; |
---|
1839 | | - regulator-boot-on; |
---|
1840 | | - }; |
---|
| 1864 | + pp1800_cam: regulator@6 { |
---|
| 1865 | + compatible = "regulator-fixed"; |
---|
| 1866 | + regulator-name = "PP1800_CAM"; |
---|
| 1867 | + regulator-min-microvolt = <1800000>; |
---|
| 1868 | + regulator-max-microvolt = <1800000>; |
---|
| 1869 | + gpio = <&gpio TEGRA_GPIO(K, 3) 0>; |
---|
| 1870 | + enable-active-high; |
---|
| 1871 | + }; |
---|
1841 | 1872 | |
---|
1842 | | - pp1800_cam: regulator@6 { |
---|
1843 | | - compatible = "regulator-fixed"; |
---|
1844 | | - reg= <6>; |
---|
1845 | | - regulator-name = "PP1800_CAM"; |
---|
1846 | | - regulator-min-microvolt = <1800000>; |
---|
1847 | | - regulator-max-microvolt = <1800000>; |
---|
1848 | | - gpio = <&gpio TEGRA_GPIO(K, 3) 0>; |
---|
1849 | | - enable-active-high; |
---|
1850 | | - }; |
---|
1851 | | - |
---|
1852 | | - usbc_vbus: regulator@7 { |
---|
1853 | | - compatible = "regulator-fixed"; |
---|
1854 | | - reg = <7>; |
---|
1855 | | - regulator-name = "USBC_VBUS"; |
---|
1856 | | - regulator-min-microvolt = <5000000>; |
---|
1857 | | - regulator-max-microvolt = <5000000>; |
---|
1858 | | - }; |
---|
| 1873 | + usbc_vbus: regulator@7 { |
---|
| 1874 | + compatible = "regulator-fixed"; |
---|
| 1875 | + regulator-name = "USBC_VBUS"; |
---|
| 1876 | + regulator-min-microvolt = <5000000>; |
---|
| 1877 | + regulator-max-microvolt = <5000000>; |
---|
1859 | 1878 | }; |
---|
1860 | 1879 | }; |
---|