.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Support for CompuLab CL-SOM-AM57x System-on-Module |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2015 CompuLab Ltd. - http://www.compulab.co.il/ |
---|
5 | 6 | * Author: Dmitry Lifshitz <lifshitz@compulab.co.il> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify it |
---|
8 | | - * under the terms of the GNU General Public License version 2 as published by |
---|
9 | | - * the Free Software Foundation. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | /dts-v1/; |
---|
13 | 10 | |
---|
14 | 11 | #include <dt-bindings/gpio/gpio.h> |
---|
15 | 12 | #include <dt-bindings/interrupt-controller/irq.h> |
---|
16 | | -#include "dra74x.dtsi" |
---|
| 13 | +#include "am5728.dtsi" |
---|
17 | 14 | |
---|
18 | 15 | / { |
---|
19 | 16 | model = "CompuLab CL-SOM-AM57x"; |
---|
.. | .. |
---|
457 | 454 | |
---|
458 | 455 | &mailbox5 { |
---|
459 | 456 | status = "okay"; |
---|
460 | | - mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
---|
| 457 | + mbox_ipu1_ipc3x: mbox-ipu1-ipc3x { |
---|
461 | 458 | status = "okay"; |
---|
462 | 459 | }; |
---|
463 | | - mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
---|
| 460 | + mbox_dsp1_ipc3x: mbox-dsp1-ipc3x { |
---|
464 | 461 | status = "okay"; |
---|
465 | 462 | }; |
---|
466 | 463 | }; |
---|
467 | 464 | |
---|
468 | 465 | &mailbox6 { |
---|
469 | 466 | status = "okay"; |
---|
470 | | - mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
---|
| 467 | + mbox_ipu2_ipc3x: mbox-ipu2-ipc3x { |
---|
471 | 468 | status = "okay"; |
---|
472 | 469 | }; |
---|
473 | | - mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
---|
| 470 | + mbox_dsp2_ipc3x: mbox-dsp2-ipc3x { |
---|
474 | 471 | status = "okay"; |
---|
475 | 472 | }; |
---|
476 | 473 | }; |
---|
.. | .. |
---|
549 | 546 | }; |
---|
550 | 547 | }; |
---|
551 | 548 | |
---|
552 | | -&mac { |
---|
| 549 | +&mac_sw { |
---|
553 | 550 | status = "okay"; |
---|
554 | 551 | pinctrl-names = "default", "sleep"; |
---|
555 | 552 | pinctrl-0 = <&cpsw_pins_default>; |
---|
556 | 553 | pinctrl-1 = <&cpsw_pins_sleep>; |
---|
557 | | - dual_emac; |
---|
558 | 554 | }; |
---|
559 | 555 | |
---|
560 | | -&cpsw_emac0 { |
---|
561 | | - phy_id = <&davinci_mdio>, <0>; |
---|
| 556 | +&cpsw_port1 { |
---|
| 557 | + phy-handle = <ðphy0>; |
---|
562 | 558 | phy-mode = "rgmii-txid"; |
---|
563 | | - dual_emac_res_vlan = <0>; |
---|
| 559 | + ti,dual-emac-pvid = <1>; |
---|
564 | 560 | }; |
---|
565 | 561 | |
---|
566 | | -&cpsw_emac1 { |
---|
567 | | - phy_id = <&davinci_mdio>, <1>; |
---|
| 562 | +&cpsw_port2 { |
---|
| 563 | + phy-handle = <ðphy1>; |
---|
568 | 564 | phy-mode = "rgmii-txid"; |
---|
569 | | - dual_emac_res_vlan = <1>; |
---|
| 565 | + ti,dual-emac-pvid = <2>; |
---|
570 | 566 | }; |
---|
571 | 567 | |
---|
572 | | -&davinci_mdio { |
---|
| 568 | +&davinci_mdio_sw { |
---|
573 | 569 | pinctrl-names = "default", "sleep"; |
---|
574 | 570 | pinctrl-0 = <&davinci_mdio_pins_default>; |
---|
575 | 571 | pinctrl-1 = <&davinci_mdio_pins_sleep>; |
---|
| 572 | + |
---|
| 573 | + ethphy0: ethernet-phy@0 { |
---|
| 574 | + reg = <0>; |
---|
| 575 | + }; |
---|
| 576 | + |
---|
| 577 | + ethphy1: ethernet-phy@1 { |
---|
| 578 | + reg = <1>; |
---|
| 579 | + }; |
---|
576 | 580 | }; |
---|
577 | 581 | |
---|
578 | 582 | &usb2_phy1 { |
---|
.. | .. |
---|
606 | 610 | >; |
---|
607 | 611 | }; |
---|
608 | 612 | |
---|
609 | | -&gpio3 { |
---|
610 | | - status = "okay"; |
---|
| 613 | +&gpio3_target { |
---|
611 | 614 | ti,no-reset-on-init; |
---|
612 | 615 | }; |
---|
613 | 616 | |
---|
614 | | -&gpio2 { |
---|
| 617 | +&gpio2_target { |
---|
615 | 618 | status = "okay"; |
---|
616 | 619 | ti,no-reset-on-init; |
---|
617 | 620 | }; |
---|