.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | | - * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 as |
---|
6 | | - * published by the Free Software Foundation. |
---|
| 3 | + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ |
---|
7 | 4 | */ |
---|
8 | 5 | |
---|
9 | 6 | #include "am57xx-industrial-grade.dtsi" |
---|
.. | .. |
---|
12 | 9 | aliases { |
---|
13 | 10 | rtc0 = &tps659038_rtc; |
---|
14 | 11 | rtc1 = &rtc; |
---|
| 12 | + display0 = &hdmi0; |
---|
15 | 13 | }; |
---|
16 | 14 | |
---|
17 | 15 | chosen { |
---|
.. | .. |
---|
33 | 31 | vin-supply = <&smps9_reg>; |
---|
34 | 32 | regulator-min-microvolt = <3300000>; |
---|
35 | 33 | regulator-max-microvolt = <3300000>; |
---|
| 34 | + regulator-always-on; |
---|
| 35 | + regulator-boot-on; |
---|
| 36 | + }; |
---|
| 37 | + |
---|
| 38 | + v1_2d: fixedregulator-v1_2d { |
---|
| 39 | + compatible = "regulator-fixed"; |
---|
| 40 | + regulator-name = "V1_2D"; |
---|
| 41 | + vin-supply = <&vmain>; |
---|
| 42 | + regulator-min-microvolt = <1200000>; |
---|
| 43 | + regulator-max-microvolt = <1200000>; |
---|
36 | 44 | regulator-always-on; |
---|
37 | 45 | regulator-boot-on; |
---|
38 | 46 | }; |
---|
.. | .. |
---|
98 | 106 | gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>; |
---|
99 | 107 | default-state = "off"; |
---|
100 | 108 | }; |
---|
| 109 | + }; |
---|
| 110 | + |
---|
| 111 | + hdmi0: connector@0 { |
---|
| 112 | + compatible = "hdmi-connector"; |
---|
| 113 | + label = "hdmi"; |
---|
| 114 | + |
---|
| 115 | + type = "a"; |
---|
| 116 | + |
---|
| 117 | + port { |
---|
| 118 | + hdmi_connector_in: endpoint { |
---|
| 119 | + remote-endpoint = <&tpd12s015_out>; |
---|
| 120 | + }; |
---|
| 121 | + }; |
---|
| 122 | + }; |
---|
| 123 | + |
---|
| 124 | + tpd12s015: encoder@0 { |
---|
| 125 | + compatible = "ti,tpd12s016", "ti,tpd12s015"; |
---|
| 126 | + |
---|
| 127 | + gpios = <0>, /* optional CT_CP_HPD */ |
---|
| 128 | + <0>, /* optional LS_OE */ |
---|
| 129 | + <&gpio7 12 GPIO_ACTIVE_HIGH>; /* HPD */ |
---|
| 130 | + |
---|
| 131 | + ports { |
---|
| 132 | + #address-cells = <1>; |
---|
| 133 | + #size-cells = <0>; |
---|
| 134 | + |
---|
| 135 | + port@0 { |
---|
| 136 | + reg = <0>; |
---|
| 137 | + |
---|
| 138 | + tpd12s015_in: endpoint@0 { |
---|
| 139 | + remote-endpoint = <&hdmi_out>; |
---|
| 140 | + }; |
---|
| 141 | + }; |
---|
| 142 | + |
---|
| 143 | + port@1 { |
---|
| 144 | + reg = <1>; |
---|
| 145 | + |
---|
| 146 | + tpd12s015_out: endpoint@0 { |
---|
| 147 | + remote-endpoint = <&hdmi_connector_in>; |
---|
| 148 | + }; |
---|
| 149 | + }; |
---|
| 150 | + }; |
---|
| 151 | + }; |
---|
| 152 | + |
---|
| 153 | + src_clk_x1: src_clk_x1 { |
---|
| 154 | + #clock-cells = <0>; |
---|
| 155 | + compatible = "fixed-clock"; |
---|
| 156 | + clock-frequency = <20000000>; |
---|
101 | 157 | }; |
---|
102 | 158 | }; |
---|
103 | 159 | |
---|
.. | .. |
---|
338 | 394 | gpio-controller; |
---|
339 | 395 | #gpio-cells = <2>; |
---|
340 | 396 | }; |
---|
| 397 | + |
---|
| 398 | + dsi_bridge: tc358778@e { |
---|
| 399 | + compatible = "toshiba,tc358778", "toshiba,tc358768"; |
---|
| 400 | + reg = <0xe>; |
---|
| 401 | + status = "disabled"; |
---|
| 402 | + |
---|
| 403 | + clocks = <&src_clk_x1>; |
---|
| 404 | + clock-names = "refclk"; |
---|
| 405 | + |
---|
| 406 | + vddc-supply = <&v1_2d>; |
---|
| 407 | + vddmipi-supply = <&v1_2d>; |
---|
| 408 | + vddio-supply = <&v3_3d>; |
---|
| 409 | + |
---|
| 410 | + dsi_bridge_ports: ports { |
---|
| 411 | + #address-cells = <1>; |
---|
| 412 | + #size-cells = <0>; |
---|
| 413 | + |
---|
| 414 | + port@0 { |
---|
| 415 | + reg = <0>; |
---|
| 416 | + rgb_in: endpoint { |
---|
| 417 | + remote-endpoint = <&dpi_out>; |
---|
| 418 | + data-lines = <24>; |
---|
| 419 | + }; |
---|
| 420 | + }; |
---|
| 421 | + }; |
---|
| 422 | + }; |
---|
341 | 423 | }; |
---|
342 | 424 | |
---|
343 | 425 | &mcspi3 { |
---|
.. | .. |
---|
366 | 448 | ext-clk-src; |
---|
367 | 449 | }; |
---|
368 | 450 | |
---|
369 | | -&mac { |
---|
| 451 | +&mac_sw { |
---|
370 | 452 | status = "okay"; |
---|
371 | | - dual_emac; |
---|
372 | 453 | }; |
---|
373 | 454 | |
---|
374 | | -&cpsw_emac0 { |
---|
375 | | - phy_id = <&davinci_mdio>, <0>; |
---|
376 | | - phy-mode = "rgmii"; |
---|
377 | | - dual_emac_res_vlan = <1>; |
---|
| 455 | +&cpsw_port1 { |
---|
| 456 | + phy-handle = <ðphy0>; |
---|
| 457 | + phy-mode = "rgmii-rxid"; |
---|
| 458 | + ti,dual-emac-pvid = <1>; |
---|
378 | 459 | }; |
---|
379 | 460 | |
---|
380 | | -&cpsw_emac1 { |
---|
381 | | - phy_id = <&davinci_mdio>, <1>; |
---|
382 | | - phy-mode = "rgmii"; |
---|
383 | | - dual_emac_res_vlan = <2>; |
---|
| 461 | +&cpsw_port2 { |
---|
| 462 | + phy-handle = <ðphy1>; |
---|
| 463 | + phy-mode = "rgmii-rxid"; |
---|
| 464 | + ti,dual-emac-pvid = <2>; |
---|
| 465 | +}; |
---|
| 466 | + |
---|
| 467 | +&davinci_mdio_sw { |
---|
| 468 | + ethphy0: ethernet-phy@0 { |
---|
| 469 | + reg = <0>; |
---|
| 470 | + }; |
---|
| 471 | + |
---|
| 472 | + ethphy1: ethernet-phy@1 { |
---|
| 473 | + reg = <1>; |
---|
| 474 | + }; |
---|
384 | 475 | }; |
---|
385 | 476 | |
---|
386 | 477 | &usb2_phy1 { |
---|
.. | .. |
---|
479 | 570 | }; |
---|
480 | 571 | }; |
---|
481 | 572 | }; |
---|
| 573 | + |
---|
| 574 | +&cpu0 { |
---|
| 575 | + vdd-supply = <&smps12_reg>; |
---|
| 576 | +}; |
---|
| 577 | + |
---|
| 578 | +&hdmi { |
---|
| 579 | + status = "okay"; |
---|
| 580 | + |
---|
| 581 | + vdda-supply = <&ldo4_reg>; |
---|
| 582 | + |
---|
| 583 | + port { |
---|
| 584 | + hdmi_out: endpoint { |
---|
| 585 | + remote-endpoint = <&tpd12s015_in>; |
---|
| 586 | + }; |
---|
| 587 | + }; |
---|
| 588 | +}; |
---|
| 589 | + |
---|
| 590 | +&dss { |
---|
| 591 | + status = "okay"; |
---|
| 592 | + |
---|
| 593 | + vdda_video-supply = <&ldoln_reg>; |
---|
| 594 | + |
---|
| 595 | + ports { |
---|
| 596 | + #address-cells = <1>; |
---|
| 597 | + #size-cells = <0>; |
---|
| 598 | + |
---|
| 599 | + port@0 { |
---|
| 600 | + reg = <0>; |
---|
| 601 | + |
---|
| 602 | + dpi_out: endpoint { |
---|
| 603 | + remote-endpoint = <&rgb_in>; |
---|
| 604 | + data-lines = <24>; |
---|
| 605 | + }; |
---|
| 606 | + }; |
---|
| 607 | + }; |
---|
| 608 | +}; |
---|