hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
....@@ -5,16 +5,30 @@
55 model = "NVIDIA Tegra210 P2597 I/O board";
66 compatible = "nvidia,p2597", "nvidia,tegra210";
77
8
+ aliases {
9
+ ethernet = "/usb@70090000/ethernet@1";
10
+ };
11
+
812 host1x@50000000 {
913 dpaux@54040000 {
1014 status = "okay";
1115 };
1216
17
+ vi@54080000 {
18
+ status = "okay";
19
+
20
+ avdd-dsi-csi-supply = <&vdd_dsi_csi>;
21
+
22
+ csi@838 {
23
+ status = "okay";
24
+ };
25
+ };
26
+
1327 sor@54580000 {
1428 status = "okay";
1529
16
- avdd-io-supply = <&avdd_1v05>;
17
- vdd-pll-supply = <&vdd_1v8>;
30
+ avdd-io-hdmi-dp-supply = <&avdd_1v05>;
31
+ vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
1832 hdmi-supply = <&vdd_hdmi>;
1933
2034 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
....@@ -1278,6 +1292,20 @@
12781292 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
12791293 };
12801294 };
1295
+
1296
+ dvfs_pwm_active_state: dvfs_pwm_active {
1297
+ dvfs_pwm_pbb1 {
1298
+ nvidia,pins = "dvfs_pwm_pbb1";
1299
+ nvidia,tristate = <TEGRA_PIN_DISABLE>;
1300
+ };
1301
+ };
1302
+
1303
+ dvfs_pwm_inactive_state: dvfs_pwm_inactive {
1304
+ dvfs_pwm_pbb1 {
1305
+ nvidia,pins = "dvfs_pwm_pbb1";
1306
+ nvidia,tristate = <TEGRA_PIN_ENABLE>;
1307
+ };
1308
+ };
12811309 };
12821310
12831311 pwm@7000a000 {
....@@ -1295,12 +1323,30 @@
12951323 #gpio-cells = <2>;
12961324 gpio-controller;
12971325 };
1326
+
1327
+ exp2: gpio@77 {
1328
+ compatible = "ti,tca9539";
1329
+ reg = <0x77>;
1330
+
1331
+ #gpio-cells = <2>;
1332
+ gpio-controller;
1333
+ };
12981334 };
12991335
13001336 /* HDMI DDC */
13011337 hdmi_ddc: i2c@7000c700 {
13021338 status = "okay";
13031339 clock-frequency = <100000>;
1340
+ };
1341
+
1342
+ sata@70020000 {
1343
+ status = "okay";
1344
+ phys = <&{/padctl@7009f000/pads/sata/lanes/sata-0}>;
1345
+ };
1346
+
1347
+ hda@70030000 {
1348
+ nvidia,model = "jetson-tx1-hda";
1349
+ status = "okay";
13041350 };
13051351
13061352 usb@70090000 {
....@@ -1312,7 +1358,6 @@
13121358 <&{/padctl@7009f000/pads/pcie/lanes/pcie-5}>;
13131359 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", "usb3-0",
13141360 "usb3-1";
1315
-
13161361 dvddio-pex-supply = <&vdd_pex_1v05>;
13171362 hvddio-pex-supply = <&vdd_1v8>;
13181363 avdd-usb-supply = <&vdd_3v3_sys>;
....@@ -1323,22 +1368,29 @@
13231368 hvdd-usb-ss-pll-e-supply = <&vdd_1v8>;
13241369
13251370 status = "okay";
1326
- };
13271371
1328
- sata@70020000 {
1329
- status = "okay";
1330
- phys = <&{/padctl@7009f000/pads/sata/lanes/sata-0}>;
1372
+ #address-cells = <1>;
1373
+ #size-cells = <0>;
1374
+
1375
+ ethernet@1 {
1376
+ reg = <1>;
1377
+ };
13311378 };
13321379
13331380 padctl@7009f000 {
13341381 status = "okay";
1382
+
1383
+ avdd-pll-utmip-supply = <&vdd_1v8>;
1384
+ avdd-pll-uerefe-supply = <&avdd_1v05_pll>;
1385
+ dvdd-pex-pll-supply = <&vdd_pex_1v05>;
1386
+ hvdd-pex-pll-e-supply = <&vdd_1v8>;
13351387
13361388 pads {
13371389 usb2 {
13381390 status = "okay";
13391391
13401392 lanes {
1341
- usb2-0 {
1393
+ micro_b: usb2-0 {
13421394 nvidia,function = "xusb";
13431395 status = "okay";
13441396 };
....@@ -1416,7 +1468,19 @@
14161468 ports {
14171469 usb2-0 {
14181470 status = "okay";
1471
+ vbus-supply = <&vdd_usb_vbus_otg>;
1472
+ usb-role-switch;
14191473 mode = "otg";
1474
+
1475
+ connector {
1476
+ compatible = "gpio-usb-b-connector",
1477
+ "usb-b-connector";
1478
+ label = "micro-USB";
1479
+ type = "micro";
1480
+ vbus-gpios = <&gpio TEGRA_GPIO(Z, 0)
1481
+ GPIO_ACTIVE_LOW>;
1482
+ id-gpios = <&pmic 0 GPIO_ACTIVE_HIGH>;
1483
+ };
14201484 };
14211485
14221486 usb2-1 {
....@@ -1449,10 +1513,9 @@
14491513 };
14501514
14511515 /* MMC/SD */
1452
- sdhci@700b0000 {
1516
+ mmc@700b0000 {
14531517 status = "okay";
14541518 bus-width = <4>;
1455
- no-1-8-v;
14561519
14571520 cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
14581521
....@@ -1460,139 +1523,12 @@
14601523 vmmc-supply = <&vdd_3v3_sd>;
14611524 };
14621525
1463
- regulators {
1464
- compatible = "simple-bus";
1465
- #address-cells = <1>;
1466
- #size-cells = <0>;
1467
-
1468
- vdd_sys_mux: regulator@0 {
1469
- compatible = "regulator-fixed";
1470
- reg = <0>;
1471
- regulator-name = "VDD_SYS_MUX";
1472
- regulator-min-microvolt = <5000000>;
1473
- regulator-max-microvolt = <5000000>;
1474
- regulator-always-on;
1475
- regulator-boot-on;
1476
- };
1477
-
1478
- vdd_5v0_sys: regulator@1 {
1479
- compatible = "regulator-fixed";
1480
- reg = <1>;
1481
- regulator-name = "VDD_5V0_SYS";
1482
- regulator-min-microvolt = <5000000>;
1483
- regulator-max-microvolt = <5000000>;
1484
- regulator-always-on;
1485
- regulator-boot-on;
1486
- gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1487
- enable-active-high;
1488
- vin-supply = <&vdd_sys_mux>;
1489
- };
1490
-
1491
- vdd_3v3_sys: regulator@2 {
1492
- compatible = "regulator-fixed";
1493
- reg = <2>;
1494
- regulator-name = "VDD_3V3_SYS";
1495
- regulator-min-microvolt = <3300000>;
1496
- regulator-max-microvolt = <3300000>;
1497
- regulator-always-on;
1498
- regulator-boot-on;
1499
- gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
1500
- enable-active-high;
1501
- vin-supply = <&vdd_sys_mux>;
1502
-
1503
- regulator-enable-ramp-delay = <160>;
1504
- regulator-disable-ramp-delay = <10000>;
1505
- };
1506
-
1507
- vdd_5v0_io: regulator@3 {
1508
- compatible = "regulator-fixed";
1509
- reg = <3>;
1510
- regulator-name = "VDD_5V0_IO_SYS";
1511
- regulator-min-microvolt = <5000000>;
1512
- regulator-max-microvolt = <5000000>;
1513
- regulator-always-on;
1514
- regulator-boot-on;
1515
- };
1516
-
1517
- vdd_3v3_sd: regulator@4 {
1518
- compatible = "regulator-fixed";
1519
- reg = <4>;
1520
- regulator-name = "VDD_3V3_SD";
1521
- regulator-min-microvolt = <3300000>;
1522
- regulator-max-microvolt = <3300000>;
1523
- gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
1524
- enable-active-high;
1525
- vin-supply = <&vdd_3v3_sys>;
1526
-
1527
- regulator-enable-ramp-delay = <472>;
1528
- regulator-disable-ramp-delay = <4880>;
1529
- };
1530
-
1531
- vdd_dsi_csi: regulator@5 {
1532
- compatible = "regulator-fixed";
1533
- reg = <5>;
1534
- regulator-name = "AVDD_DSI_CSI_1V2";
1535
- regulator-min-microvolt = <1200000>;
1536
- regulator-max-microvolt = <1200000>;
1537
- vin-supply = <&vdd_sys_1v2>;
1538
- };
1539
-
1540
- vdd_3v3_dis: regulator@6 {
1541
- compatible = "regulator-fixed";
1542
- reg = <6>;
1543
- regulator-name = "VDD_DIS_3V3_LCD";
1544
- regulator-min-microvolt = <3300000>;
1545
- regulator-max-microvolt = <3300000>;
1546
- regulator-always-on;
1547
- gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
1548
- enable-active-high;
1549
- vin-supply = <&vdd_3v3_sys>;
1550
- };
1551
-
1552
- vdd_1v8_dis: regulator@7 {
1553
- compatible = "regulator-fixed";
1554
- reg = <7>;
1555
- regulator-name = "VDD_LCD_1V8_DIS";
1556
- regulator-min-microvolt = <1800000>;
1557
- regulator-max-microvolt = <1800000>;
1558
- regulator-always-on;
1559
- gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
1560
- enable-active-high;
1561
- vin-supply = <&vdd_1v8>;
1562
- };
1563
-
1564
- vdd_5v0_rtl: regulator@8 {
1565
- compatible = "regulator-fixed";
1566
- reg = <8>;
1567
- regulator-name = "RTL_5V";
1568
- regulator-min-microvolt = <5000000>;
1569
- regulator-max-microvolt = <5000000>;
1570
- gpio = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
1571
- enable-active-high;
1572
- vin-supply = <&vdd_5v0_sys>;
1573
- };
1574
-
1575
- vdd_usb_vbus: regulator@9 {
1576
- compatible = "regulator-fixed";
1577
- reg = <9>;
1578
- regulator-name = "USB_VBUS_EN1";
1579
- regulator-min-microvolt = <5000000>;
1580
- regulator-max-microvolt = <5000000>;
1581
- gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>;
1582
- enable-active-high;
1583
- vin-supply = <&vdd_5v0_sys>;
1584
- };
1585
-
1586
- vdd_hdmi: regulator@10 {
1587
- compatible = "regulator-fixed";
1588
- reg = <10>;
1589
- regulator-name = "VDD_HDMI_5V0";
1590
- regulator-min-microvolt = <5000000>;
1591
- regulator-max-microvolt = <5000000>;
1592
- gpio = <&exp1 12 GPIO_ACTIVE_HIGH>;
1593
- enable-active-high;
1594
- vin-supply = <&vdd_5v0_sys>;
1595
- };
1526
+ usb@700d0000 {
1527
+ status = "okay";
1528
+ phys = <&micro_b>;
1529
+ phy-names = "usb2-0";
1530
+ avddio-usb-supply = <&vdd_3v3_sys>;
1531
+ hvdd-usb-supply = <&vdd_1v8>;
15961532 };
15971533
15981534 gpio-keys {
....@@ -1618,4 +1554,162 @@
16181554 linux,code = <KEY_VOLUMEUP>;
16191555 };
16201556 };
1557
+
1558
+ vdd_sys_mux: regulator@0 {
1559
+ compatible = "regulator-fixed";
1560
+ regulator-name = "VDD_SYS_MUX";
1561
+ regulator-min-microvolt = <5000000>;
1562
+ regulator-max-microvolt = <5000000>;
1563
+ regulator-always-on;
1564
+ regulator-boot-on;
1565
+ };
1566
+
1567
+ vdd_5v0_sys: regulator@1 {
1568
+ compatible = "regulator-fixed";
1569
+ regulator-name = "VDD_5V0_SYS";
1570
+ regulator-min-microvolt = <5000000>;
1571
+ regulator-max-microvolt = <5000000>;
1572
+ regulator-always-on;
1573
+ regulator-boot-on;
1574
+ gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1575
+ enable-active-high;
1576
+ vin-supply = <&vdd_sys_mux>;
1577
+ };
1578
+
1579
+ vdd_3v3_sys: regulator@2 {
1580
+ compatible = "regulator-fixed";
1581
+ regulator-name = "VDD_3V3_SYS";
1582
+ regulator-min-microvolt = <3300000>;
1583
+ regulator-max-microvolt = <3300000>;
1584
+ regulator-always-on;
1585
+ regulator-boot-on;
1586
+ gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
1587
+ enable-active-high;
1588
+ vin-supply = <&vdd_sys_mux>;
1589
+
1590
+ regulator-enable-ramp-delay = <160>;
1591
+ regulator-disable-ramp-delay = <10000>;
1592
+ };
1593
+
1594
+ vdd_5v0_io: regulator@3 {
1595
+ compatible = "regulator-fixed";
1596
+ regulator-name = "VDD_5V0_IO_SYS";
1597
+ regulator-min-microvolt = <5000000>;
1598
+ regulator-max-microvolt = <5000000>;
1599
+ regulator-always-on;
1600
+ regulator-boot-on;
1601
+ };
1602
+
1603
+ vdd_3v3_sd: regulator@4 {
1604
+ compatible = "regulator-fixed";
1605
+ regulator-name = "VDD_3V3_SD";
1606
+ regulator-min-microvolt = <3300000>;
1607
+ regulator-max-microvolt = <3300000>;
1608
+ gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
1609
+ enable-active-high;
1610
+ vin-supply = <&vdd_3v3_sys>;
1611
+
1612
+ regulator-enable-ramp-delay = <472>;
1613
+ regulator-disable-ramp-delay = <4880>;
1614
+ };
1615
+
1616
+ vdd_dsi_csi: regulator@5 {
1617
+ compatible = "regulator-fixed";
1618
+ regulator-name = "AVDD_DSI_CSI_1V2";
1619
+ regulator-min-microvolt = <1200000>;
1620
+ regulator-max-microvolt = <1200000>;
1621
+ vin-supply = <&vdd_sys_1v2>;
1622
+ };
1623
+
1624
+ vdd_3v3_dis: regulator@6 {
1625
+ compatible = "regulator-fixed";
1626
+ regulator-name = "VDD_DIS_3V3_LCD";
1627
+ regulator-min-microvolt = <3300000>;
1628
+ regulator-max-microvolt = <3300000>;
1629
+ regulator-always-on;
1630
+ gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
1631
+ enable-active-high;
1632
+ vin-supply = <&vdd_3v3_sys>;
1633
+ };
1634
+
1635
+ vdd_1v8_dis: regulator@7 {
1636
+ compatible = "regulator-fixed";
1637
+ regulator-name = "VDD_LCD_1V8_DIS";
1638
+ regulator-min-microvolt = <1800000>;
1639
+ regulator-max-microvolt = <1800000>;
1640
+ regulator-always-on;
1641
+ gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
1642
+ enable-active-high;
1643
+ vin-supply = <&vdd_1v8>;
1644
+ };
1645
+
1646
+ vdd_5v0_rtl: regulator@8 {
1647
+ compatible = "regulator-fixed";
1648
+ regulator-name = "RTL_5V";
1649
+ regulator-min-microvolt = <5000000>;
1650
+ regulator-max-microvolt = <5000000>;
1651
+ gpio = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
1652
+ enable-active-high;
1653
+ vin-supply = <&vdd_5v0_sys>;
1654
+ };
1655
+
1656
+ vdd_usb_vbus: regulator@9 {
1657
+ compatible = "regulator-fixed";
1658
+ regulator-name = "USB_VBUS_EN1";
1659
+ regulator-min-microvolt = <5000000>;
1660
+ regulator-max-microvolt = <5000000>;
1661
+ gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>;
1662
+ enable-active-high;
1663
+ vin-supply = <&vdd_5v0_sys>;
1664
+ };
1665
+
1666
+ vdd_hdmi: regulator@10 {
1667
+ compatible = "regulator-fixed";
1668
+ regulator-name = "VDD_HDMI_5V0";
1669
+ regulator-min-microvolt = <5000000>;
1670
+ regulator-max-microvolt = <5000000>;
1671
+ gpio = <&exp1 12 GPIO_ACTIVE_HIGH>;
1672
+ enable-active-high;
1673
+ vin-supply = <&vdd_5v0_sys>;
1674
+ };
1675
+
1676
+ vdd_cam_1v2: regulator@11 {
1677
+ compatible = "regulator-fixed";
1678
+ regulator-name = "vdd-cam-1v2";
1679
+ regulator-min-microvolt = <1200000>;
1680
+ regulator-max-microvolt = <1200000>;
1681
+ gpio = <&exp2 10 GPIO_ACTIVE_HIGH>;
1682
+ enable-active-high;
1683
+ vin-supply = <&vdd_3v3_sys>;
1684
+ };
1685
+
1686
+ vdd_cam_2v8: regulator@12 {
1687
+ compatible = "regulator-fixed";
1688
+ regulator-name = "vdd-cam-2v8";
1689
+ regulator-min-microvolt = <2800000>;
1690
+ regulator-max-microvolt = <2800000>;
1691
+ gpio = <&exp1 13 GPIO_ACTIVE_HIGH>;
1692
+ enable-active-high;
1693
+ vin-supply = <&vdd_3v3_sys>;
1694
+ };
1695
+
1696
+ vdd_cam_1v8: regulator@13 {
1697
+ compatible = "regulator-fixed";
1698
+ regulator-name = "vdd-cam-1v8";
1699
+ regulator-min-microvolt = <1800000>;
1700
+ regulator-max-microvolt = <1800000>;
1701
+ gpio = <&exp2 9 GPIO_ACTIVE_HIGH>;
1702
+ enable-active-high;
1703
+ vin-supply = <&vdd_3v3_sys>;
1704
+ };
1705
+
1706
+ vdd_usb_vbus_otg: regulator@14 {
1707
+ compatible = "regulator-fixed";
1708
+ regulator-name = "USB_VBUS_EN0";
1709
+ regulator-min-microvolt = <5000000>;
1710
+ regulator-max-microvolt = <5000000>;
1711
+ gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
1712
+ enable-active-high;
1713
+ vin-supply = <&vdd_5v0_sys>;
1714
+ };
16211715 };