101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT 284943d6fSEmmanuel Vadot/** 384943d6fSEmmanuel Vadot * DT overlay for IDK application board on AM654 EVM 484943d6fSEmmanuel Vadot * 501950c46SEmmanuel Vadot * Copyright (C) 2018-2024 Texas Instruments Incorporated - https://www.ti.com/ 684943d6fSEmmanuel Vadot */ 784943d6fSEmmanuel Vadot 884943d6fSEmmanuel Vadot/dts-v1/; 984943d6fSEmmanuel Vadot/plugin/; 1084943d6fSEmmanuel Vadot 11*b2d2a78aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 1284943d6fSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h> 1384943d6fSEmmanuel Vadot#include "k3-pinctrl.h" 1484943d6fSEmmanuel Vadot 1584943d6fSEmmanuel Vadot&{/} { 1684943d6fSEmmanuel Vadot aliases { 1784943d6fSEmmanuel Vadot ethernet3 = "/icssg0-eth/ethernet-ports/port@0"; 1884943d6fSEmmanuel Vadot ethernet4 = "/icssg0-eth/ethernet-ports/port@1"; 1984943d6fSEmmanuel Vadot ethernet5 = "/icssg1-eth/ethernet-ports/port@0"; 2084943d6fSEmmanuel Vadot ethernet6 = "/icssg1-eth/ethernet-ports/port@1"; 2184943d6fSEmmanuel Vadot }; 2284943d6fSEmmanuel Vadot 2384943d6fSEmmanuel Vadot /* Ethernet node on PRU-ICSSG0 */ 2484943d6fSEmmanuel Vadot icssg0_eth: icssg0-eth { 2584943d6fSEmmanuel Vadot compatible = "ti,am654-icssg-prueth"; 2684943d6fSEmmanuel Vadot pinctrl-names = "default"; 2784943d6fSEmmanuel Vadot pinctrl-0 = <&icssg0_rgmii_pins_default>; 2884943d6fSEmmanuel Vadot sram = <&msmc_ram>; 2984943d6fSEmmanuel Vadot ti,prus = <&pru0_0>, <&rtu0_0>, <&tx_pru0_0>, <&pru0_1>, <&rtu0_1>, <&tx_pru0_1>; 3084943d6fSEmmanuel Vadot firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 3184943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 3284943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 3384943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 3484943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 3584943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 3684943d6fSEmmanuel Vadot 3784943d6fSEmmanuel Vadot ti,pruss-gp-mux-sel = <2>, /* MII mode */ 3884943d6fSEmmanuel Vadot <2>, 3984943d6fSEmmanuel Vadot <2>, 4084943d6fSEmmanuel Vadot <2>, /* MII mode */ 4184943d6fSEmmanuel Vadot <2>, 4284943d6fSEmmanuel Vadot <2>; 4384943d6fSEmmanuel Vadot 4484943d6fSEmmanuel Vadot ti,mii-g-rt = <&icssg0_mii_g_rt>; 4584943d6fSEmmanuel Vadot ti,mii-rt = <&icssg0_mii_rt>; 4684943d6fSEmmanuel Vadot ti,iep = <&icssg0_iep0>, <&icssg0_iep1>; 4784943d6fSEmmanuel Vadot 4884943d6fSEmmanuel Vadot interrupt-parent = <&icssg0_intc>; 4984943d6fSEmmanuel Vadot interrupts = <24 0 2>, <25 1 3>; 5084943d6fSEmmanuel Vadot interrupt-names = "tx_ts0", "tx_ts1"; 5184943d6fSEmmanuel Vadot 5284943d6fSEmmanuel Vadot dmas = <&main_udmap 0xc100>, /* egress slice 0 */ 5384943d6fSEmmanuel Vadot <&main_udmap 0xc101>, /* egress slice 0 */ 5484943d6fSEmmanuel Vadot <&main_udmap 0xc102>, /* egress slice 0 */ 5584943d6fSEmmanuel Vadot <&main_udmap 0xc103>, /* egress slice 0 */ 5684943d6fSEmmanuel Vadot <&main_udmap 0xc104>, /* egress slice 1 */ 5784943d6fSEmmanuel Vadot <&main_udmap 0xc105>, /* egress slice 1 */ 5884943d6fSEmmanuel Vadot <&main_udmap 0xc106>, /* egress slice 1 */ 5984943d6fSEmmanuel Vadot <&main_udmap 0xc107>, /* egress slice 1 */ 6084943d6fSEmmanuel Vadot 6184943d6fSEmmanuel Vadot <&main_udmap 0x4100>, /* ingress slice 0 */ 62*b2d2a78aSEmmanuel Vadot <&main_udmap 0x4101>; /* ingress slice 1 */ 6384943d6fSEmmanuel Vadot dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", 6484943d6fSEmmanuel Vadot "tx1-0", "tx1-1", "tx1-2", "tx1-3", 6584943d6fSEmmanuel Vadot "rx0", "rx1"; 6684943d6fSEmmanuel Vadot 6784943d6fSEmmanuel Vadot ethernet-ports { 6884943d6fSEmmanuel Vadot #address-cells = <1>; 6984943d6fSEmmanuel Vadot #size-cells = <0>; 7084943d6fSEmmanuel Vadot icssg0_emac0: port@0 { 7184943d6fSEmmanuel Vadot reg = <0>; 7284943d6fSEmmanuel Vadot phy-handle = <&icssg0_phy0>; 7384943d6fSEmmanuel Vadot phy-mode = "rgmii-id"; 7484943d6fSEmmanuel Vadot ti,syscon-rgmii-delay = <&scm_conf 0x4100>; 7584943d6fSEmmanuel Vadot /* Filled in by bootloader */ 7684943d6fSEmmanuel Vadot local-mac-address = [00 00 00 00 00 00]; 7784943d6fSEmmanuel Vadot }; 7884943d6fSEmmanuel Vadot icssg0_emac1: port@1 { 7984943d6fSEmmanuel Vadot reg = <1>; 8084943d6fSEmmanuel Vadot phy-handle = <&icssg0_phy1>; 8184943d6fSEmmanuel Vadot phy-mode = "rgmii-id"; 8284943d6fSEmmanuel Vadot ti,syscon-rgmii-delay = <&scm_conf 0x4104>; 8384943d6fSEmmanuel Vadot /* Filled in by bootloader */ 8484943d6fSEmmanuel Vadot local-mac-address = [00 00 00 00 00 00]; 8584943d6fSEmmanuel Vadot }; 8684943d6fSEmmanuel Vadot }; 8784943d6fSEmmanuel Vadot }; 8884943d6fSEmmanuel Vadot 8984943d6fSEmmanuel Vadot /* Ethernet node on PRU-ICSSG1 */ 9084943d6fSEmmanuel Vadot icssg1_eth: icssg1-eth { 9184943d6fSEmmanuel Vadot compatible = "ti,am654-icssg-prueth"; 9284943d6fSEmmanuel Vadot pinctrl-names = "default"; 9384943d6fSEmmanuel Vadot pinctrl-0 = <&icssg1_rgmii_pins_default>; 9484943d6fSEmmanuel Vadot sram = <&msmc_ram>; 9584943d6fSEmmanuel Vadot ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>; 9684943d6fSEmmanuel Vadot firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 9784943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 9884943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 9984943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 10084943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 10184943d6fSEmmanuel Vadot "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 10284943d6fSEmmanuel Vadot 10384943d6fSEmmanuel Vadot ti,pruss-gp-mux-sel = <2>, /* MII mode */ 10484943d6fSEmmanuel Vadot <2>, 10584943d6fSEmmanuel Vadot <2>, 10684943d6fSEmmanuel Vadot <2>, /* MII mode */ 10784943d6fSEmmanuel Vadot <2>, 10884943d6fSEmmanuel Vadot <2>; 10984943d6fSEmmanuel Vadot 11084943d6fSEmmanuel Vadot ti,mii-g-rt = <&icssg1_mii_g_rt>; 11184943d6fSEmmanuel Vadot ti,mii-rt = <&icssg1_mii_rt>; 11284943d6fSEmmanuel Vadot ti,iep = <&icssg1_iep0>, <&icssg1_iep1>; 11384943d6fSEmmanuel Vadot 11484943d6fSEmmanuel Vadot interrupt-parent = <&icssg1_intc>; 11584943d6fSEmmanuel Vadot interrupts = <24 0 2>, <25 1 3>; 11684943d6fSEmmanuel Vadot interrupt-names = "tx_ts0", "tx_ts1"; 11784943d6fSEmmanuel Vadot 11884943d6fSEmmanuel Vadot dmas = <&main_udmap 0xc200>, /* egress slice 0 */ 11984943d6fSEmmanuel Vadot <&main_udmap 0xc201>, /* egress slice 0 */ 12084943d6fSEmmanuel Vadot <&main_udmap 0xc202>, /* egress slice 0 */ 12184943d6fSEmmanuel Vadot <&main_udmap 0xc203>, /* egress slice 0 */ 12284943d6fSEmmanuel Vadot <&main_udmap 0xc204>, /* egress slice 1 */ 12384943d6fSEmmanuel Vadot <&main_udmap 0xc205>, /* egress slice 1 */ 12484943d6fSEmmanuel Vadot <&main_udmap 0xc206>, /* egress slice 1 */ 12584943d6fSEmmanuel Vadot <&main_udmap 0xc207>, /* egress slice 1 */ 12684943d6fSEmmanuel Vadot 12784943d6fSEmmanuel Vadot <&main_udmap 0x4200>, /* ingress slice 0 */ 128*b2d2a78aSEmmanuel Vadot <&main_udmap 0x4201>; /* ingress slice 1 */ 12984943d6fSEmmanuel Vadot dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", 13084943d6fSEmmanuel Vadot "tx1-0", "tx1-1", "tx1-2", "tx1-3", 13184943d6fSEmmanuel Vadot "rx0", "rx1"; 13284943d6fSEmmanuel Vadot 13384943d6fSEmmanuel Vadot ethernet-ports { 13484943d6fSEmmanuel Vadot #address-cells = <1>; 13584943d6fSEmmanuel Vadot #size-cells = <0>; 13684943d6fSEmmanuel Vadot icssg1_emac0: port@0 { 13784943d6fSEmmanuel Vadot reg = <0>; 13884943d6fSEmmanuel Vadot phy-handle = <&icssg1_phy0>; 13984943d6fSEmmanuel Vadot phy-mode = "rgmii-id"; 14084943d6fSEmmanuel Vadot ti,syscon-rgmii-delay = <&scm_conf 0x4110>; 14184943d6fSEmmanuel Vadot /* Filled in by bootloader */ 14284943d6fSEmmanuel Vadot local-mac-address = [00 00 00 00 00 00]; 14384943d6fSEmmanuel Vadot }; 14484943d6fSEmmanuel Vadot icssg1_emac1: port@1 { 14584943d6fSEmmanuel Vadot reg = <1>; 14684943d6fSEmmanuel Vadot phy-handle = <&icssg1_phy1>; 14784943d6fSEmmanuel Vadot phy-mode = "rgmii-id"; 14884943d6fSEmmanuel Vadot ti,syscon-rgmii-delay = <&scm_conf 0x4114>; 14984943d6fSEmmanuel Vadot /* Filled in by bootloader */ 15084943d6fSEmmanuel Vadot local-mac-address = [00 00 00 00 00 00]; 15184943d6fSEmmanuel Vadot }; 15284943d6fSEmmanuel Vadot }; 15384943d6fSEmmanuel Vadot }; 154*b2d2a78aSEmmanuel Vadot 155*b2d2a78aSEmmanuel Vadot transceiver1: can-phy0 { 156*b2d2a78aSEmmanuel Vadot compatible = "ti,tcan1042"; 157*b2d2a78aSEmmanuel Vadot #phy-cells = <0>; 158*b2d2a78aSEmmanuel Vadot max-bitrate = <5000000>; 159*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 160*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&mcan0_gpio_pins_default>; 161*b2d2a78aSEmmanuel Vadot standby-gpios = <&main_gpio1 47 GPIO_ACTIVE_LOW>; 162*b2d2a78aSEmmanuel Vadot }; 163*b2d2a78aSEmmanuel Vadot 164*b2d2a78aSEmmanuel Vadot transceiver2: can-phy1 { 165*b2d2a78aSEmmanuel Vadot compatible = "ti,tcan1042"; 166*b2d2a78aSEmmanuel Vadot #phy-cells = <0>; 167*b2d2a78aSEmmanuel Vadot max-bitrate = <5000000>; 168*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 169*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&mcan1_gpio_pins_default>; 170*b2d2a78aSEmmanuel Vadot standby-gpios = <&main_gpio1 67 GPIO_ACTIVE_LOW>; 171*b2d2a78aSEmmanuel Vadot }; 17284943d6fSEmmanuel Vadot}; 17384943d6fSEmmanuel Vadot 17484943d6fSEmmanuel Vadot&main_pmx0 { 17584943d6fSEmmanuel Vadot 17684943d6fSEmmanuel Vadot icssg0_mdio_pins_default: icssg0-mdio-default-pins { 17784943d6fSEmmanuel Vadot pinctrl-single,pins = < 17884943d6fSEmmanuel Vadot AM65X_IOPAD(0x0294, PIN_INPUT, 0) /* (AE26) PRG0_MDIO0_MDIO */ 17984943d6fSEmmanuel Vadot AM65X_IOPAD(0x0298, PIN_OUTPUT, 0) /* (AE28) PRG0_MDIO0_MDC */ 18084943d6fSEmmanuel Vadot >; 18184943d6fSEmmanuel Vadot }; 18284943d6fSEmmanuel Vadot 18384943d6fSEmmanuel Vadot icssg0_rgmii_pins_default: icssg0-rgmii-default-pins { 18484943d6fSEmmanuel Vadot pinctrl-single,pins = < 18584943d6fSEmmanuel Vadot AM65X_IOPAD(0x0244, PIN_INPUT, 2) /* (AB28) PRG0_PRU1_GPO0.PRG0_RGMII2_RD0 */ 18684943d6fSEmmanuel Vadot AM65X_IOPAD(0x0248, PIN_INPUT, 2) /* (AC28) PRG0_PRU1_GPO1.PRG0_RGMII2_RD1 */ 18784943d6fSEmmanuel Vadot AM65X_IOPAD(0x024c, PIN_INPUT, 2) /* (AC27) PRG0_PRU1_GPO2.PRG0_RGMII2_RD2 */ 18884943d6fSEmmanuel Vadot AM65X_IOPAD(0x0250, PIN_INPUT, 2) /* (AB26) PRG0_PRU1_GPO3.PRG0_RGMII2_RD3 */ 18984943d6fSEmmanuel Vadot AM65X_IOPAD(0x0274, PIN_OUTPUT, 2) /* (AC25) PRG0_PRU1_GPO12.PRG0_RGMII2_TD0 */ 19084943d6fSEmmanuel Vadot AM65X_IOPAD(0x0278, PIN_OUTPUT, 2) /* (AD25) PRG0_PRU1_GPO13.PRG0_RGMII2_TD1 */ 19184943d6fSEmmanuel Vadot AM65X_IOPAD(0x027c, PIN_OUTPUT, 2) /* (AD24) PRG0_PRU1_GPO14.PRG0_RGMII2_TD2 */ 19284943d6fSEmmanuel Vadot AM65X_IOPAD(0x0280, PIN_OUTPUT, 2) /* (AE27) PRG0_PRU1_GPO15.PRG0_RGMII2_TD3 */ 19384943d6fSEmmanuel Vadot AM65X_IOPAD(0x0284, PIN_INPUT, 2) /* (AC24) PRG0_PRU1_GPO16.PRG0_RGMII2_TXC */ 19484943d6fSEmmanuel Vadot AM65X_IOPAD(0x0270, PIN_OUTPUT, 2) /* (AB24) PRG0_PRU1_GPO11.PRG0_RGMII2_TX_CTL */ 19584943d6fSEmmanuel Vadot AM65X_IOPAD(0x025c, PIN_INPUT, 2) /* (AB27) PRG0_PRU1_GPO6.PRG0_RGMII2_RXC */ 19684943d6fSEmmanuel Vadot AM65X_IOPAD(0x0254, PIN_INPUT, 2) /* (AA25) PRG0_PRU1_GPO4.PRG0_RGMII2_RX_CTL */ 19784943d6fSEmmanuel Vadot 19884943d6fSEmmanuel Vadot AM65X_IOPAD(0x01f4, PIN_INPUT, 2) /* (V24) PRG0_PRU0_GPO0.PRG0_RGMII1_RD0 */ 19984943d6fSEmmanuel Vadot AM65X_IOPAD(0x01f8, PIN_INPUT, 2) /* (W25) PRG0_PRU0_GPO1.PRG0_RGMII1_RD1 */ 20084943d6fSEmmanuel Vadot AM65X_IOPAD(0x01fc, PIN_INPUT, 2) /* (W24) PRG0_PRU0_GPO2.PRG0_RGMII1_RD2 */ 20184943d6fSEmmanuel Vadot AM65X_IOPAD(0x0200, PIN_INPUT, 2) /* (AA27) PRG0_PRU0_GPO3.PRG0_RGMII1_RD3 */ 20284943d6fSEmmanuel Vadot AM65X_IOPAD(0x0224, PIN_OUTPUT, 2) /* (AD27) PRG0_PRU0_GPO12.PRG0_RGMII1_TD0 */ 20384943d6fSEmmanuel Vadot AM65X_IOPAD(0x0228, PIN_OUTPUT, 2) /* (AC26) PRG0_PRU0_GPO13.PRG0_RGMII1_TD1 */ 20484943d6fSEmmanuel Vadot AM65X_IOPAD(0x022c, PIN_OUTPUT, 2) /* (AD26) PRG0_PRU0_GPO14.PRG0_RGMII1_TD2 */ 20584943d6fSEmmanuel Vadot AM65X_IOPAD(0x0230, PIN_OUTPUT, 2) /* (AA24) PRG0_PRU0_GPO15.PRG0_RGMII1_TD3 */ 20684943d6fSEmmanuel Vadot AM65X_IOPAD(0x0234, PIN_INPUT, 2) /* (AD28) PRG0_PRU0_GPO16.PRG0_RGMII1_TXC */ 20784943d6fSEmmanuel Vadot AM65X_IOPAD(0x0220, PIN_OUTPUT, 2) /* (AB25) PRG0_PRU0_GPO11.PRG0_RGMII1_TX_CTL */ 20884943d6fSEmmanuel Vadot AM65X_IOPAD(0x020c, PIN_INPUT, 2) /* (Y25) PRG0_PRU0_GPO6.PRG0_RGMII1_RXC */ 20984943d6fSEmmanuel Vadot AM65X_IOPAD(0x0204, PIN_INPUT, 2) /* (Y24) PRG0_PRU0_GPO4.PRG0_RGMII1_RX_CTL */ 21084943d6fSEmmanuel Vadot >; 21184943d6fSEmmanuel Vadot }; 21284943d6fSEmmanuel Vadot 21384943d6fSEmmanuel Vadot icssg0_iep0_pins_default: icssg0-iep0-default-pins { 21484943d6fSEmmanuel Vadot pinctrl-single,pins = < 21584943d6fSEmmanuel Vadot AM65X_IOPAD(0x0240, PIN_INPUT, 2) /* (U24) PRG0_PRU0_GPO19.PRG0_IEP0_EDC_SYNC_OUT0 */ 21684943d6fSEmmanuel Vadot >; 21784943d6fSEmmanuel Vadot }; 21884943d6fSEmmanuel Vadot 21984943d6fSEmmanuel Vadot icssg1_mdio_pins_default: icssg1-mdio-default-pins { 22084943d6fSEmmanuel Vadot pinctrl-single,pins = < 22184943d6fSEmmanuel Vadot AM65X_IOPAD(0x0180, PIN_INPUT, 0) /* (AD18) PRG1_MDIO0_MDIO */ 22284943d6fSEmmanuel Vadot AM65X_IOPAD(0x0184, PIN_OUTPUT, 0) /* (AH18) PRG1_MDIO0_MDC */ 22384943d6fSEmmanuel Vadot >; 22484943d6fSEmmanuel Vadot }; 22584943d6fSEmmanuel Vadot 22684943d6fSEmmanuel Vadot icssg1_rgmii_pins_default: icssg1-rgmii-default-pins { 22784943d6fSEmmanuel Vadot pinctrl-single,pins = < 22884943d6fSEmmanuel Vadot AM65X_IOPAD(0x0130, PIN_INPUT, 2) /* (AH24) PRG1_PRU1_GPO0.PRG1_RGMII2_RD0 */ 22984943d6fSEmmanuel Vadot AM65X_IOPAD(0x0134, PIN_INPUT, 2) /* (AH23) PRG1_PRU1_GPO1.PRG1_RGMII2_RD1 */ 23084943d6fSEmmanuel Vadot AM65X_IOPAD(0x0138, PIN_INPUT, 2) /* (AG21) PRG1_PRU1_GPO2.PRG1_RGMII2_RD2 */ 23184943d6fSEmmanuel Vadot AM65X_IOPAD(0x013c, PIN_INPUT, 2) /* (AH22) PRG1_PRU1_GPO3.PRG1_RGMII2_RD3 */ 23284943d6fSEmmanuel Vadot AM65X_IOPAD(0x0160, PIN_OUTPUT, 2) /* (AE20) PRG1_PRU1_GPO12.PRG1_RGMII2_TD0 */ 23384943d6fSEmmanuel Vadot AM65X_IOPAD(0x0164, PIN_OUTPUT, 2) /* (AF19) PRG1_PRU1_GPO13.PRG1_RGMII2_TD1 */ 23484943d6fSEmmanuel Vadot AM65X_IOPAD(0x0168, PIN_OUTPUT, 2) /* (AH19) PRG1_PRU1_GPO14.PRG1_RGMII2_TD2 */ 23584943d6fSEmmanuel Vadot AM65X_IOPAD(0x016c, PIN_OUTPUT, 2) /* (AG19) PRG1_PRU1_GPO15.PRG1_RGMII2_TD3 */ 23684943d6fSEmmanuel Vadot AM65X_IOPAD(0x0170, PIN_INPUT, 2) /* (AE19) PRG1_PRU1_GPO16.PRG1_RGMII2_TXC */ 23784943d6fSEmmanuel Vadot AM65X_IOPAD(0x015c, PIN_OUTPUT, 2) /* (AC20) PRG1_PRU1_GPO11.PRG1_RGMII2_TX_CTL */ 23884943d6fSEmmanuel Vadot AM65X_IOPAD(0x0148, PIN_INPUT, 2) /* (AG22) PRG1_PRU1_GPO6.PRG1_RGMII2_RXC */ 23984943d6fSEmmanuel Vadot AM65X_IOPAD(0x0140, PIN_INPUT, 2) /* (AE21) PRG1_PRU1_GPO4.PRG1_RGMII2_RX_CTL */ 24084943d6fSEmmanuel Vadot 24184943d6fSEmmanuel Vadot AM65X_IOPAD(0x00e0, PIN_INPUT, 2) /* (AE22) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */ 24284943d6fSEmmanuel Vadot AM65X_IOPAD(0x00e4, PIN_INPUT, 2) /* (AG24) PRG1_PRU0_GPO1.PRG1_RGMII1_RD1 */ 24384943d6fSEmmanuel Vadot AM65X_IOPAD(0x00e8, PIN_INPUT, 2) /* (AF23) PRG1_PRU0_GPO2.PRG1_RGMII1_RD2 */ 24484943d6fSEmmanuel Vadot AM65X_IOPAD(0x00ec, PIN_INPUT, 2) /* (AD21) PRG1_PRU0_GPO3.PRG1_RGMII1_RD3 */ 24584943d6fSEmmanuel Vadot AM65X_IOPAD(0x0110, PIN_OUTPUT, 2) /* (AH20) PRG1_PRU0_GPO12.PRG1_RGMII1_TD0 */ 24684943d6fSEmmanuel Vadot AM65X_IOPAD(0x0114, PIN_OUTPUT, 2) /* (AH21) PRG1_PRU0_GPO13.PRG1_RGMII1_TD1 */ 24784943d6fSEmmanuel Vadot AM65X_IOPAD(0x0118, PIN_OUTPUT, 2) /* (AG20) PRG1_PRU0_GPO14.PRG1_RGMII1_TD2 */ 24884943d6fSEmmanuel Vadot AM65X_IOPAD(0x011c, PIN_OUTPUT, 2) /* (AD19) PRG1_PRU0_GPO15.PRG1_RGMII1_TD3 */ 24984943d6fSEmmanuel Vadot AM65X_IOPAD(0x0120, PIN_INPUT, 2) /* (AD20) PRG1_PRU0_GPO16.PRG1_RGMII1_TXC */ 25084943d6fSEmmanuel Vadot AM65X_IOPAD(0x010c, PIN_OUTPUT, 2) /* (AF21) PRG1_PRU0_GPO11.PRG1_RGMII1_TX_CTL */ 25184943d6fSEmmanuel Vadot AM65X_IOPAD(0x00f8, PIN_INPUT, 2) /* (AF22) PRG1_PRU0_GPO6.PRG1_RGMII1_RXC */ 25284943d6fSEmmanuel Vadot AM65X_IOPAD(0x00f0, PIN_INPUT, 2) /* (AG23) PRG1_PRU0_GPO4.PRG1_RGMII1_RX_CTL */ 25384943d6fSEmmanuel Vadot >; 25484943d6fSEmmanuel Vadot }; 25584943d6fSEmmanuel Vadot 25684943d6fSEmmanuel Vadot icssg1_iep0_pins_default: icssg1-iep0-default-pins { 25784943d6fSEmmanuel Vadot pinctrl-single,pins = < 25884943d6fSEmmanuel Vadot AM65X_IOPAD(0x012c, PIN_INPUT, 2) /* (AG26) PRG1_PRU0_GPO19.PRG1_IEP0_EDC_SYNC_OUT0 */ 25984943d6fSEmmanuel Vadot >; 26084943d6fSEmmanuel Vadot }; 261*b2d2a78aSEmmanuel Vadot 262*b2d2a78aSEmmanuel Vadot mcan0_gpio_pins_default: mcan0-gpio-default-pins { 263*b2d2a78aSEmmanuel Vadot pinctrl-single,pins = < 264*b2d2a78aSEmmanuel Vadot AM65X_IOPAD(0x023c, PIN_INPUT, 7) /* (V25) PRG0_PRU0_GPIO18:GPIO1_47 */ 265*b2d2a78aSEmmanuel Vadot >; 266*b2d2a78aSEmmanuel Vadot }; 267*b2d2a78aSEmmanuel Vadot 268*b2d2a78aSEmmanuel Vadot mcan1_gpio_pins_default: mcan1-gpio-default-pins { 269*b2d2a78aSEmmanuel Vadot pinctrl-single,pins = < 270*b2d2a78aSEmmanuel Vadot AM65X_IOPAD(0x028c, PIN_INPUT, 7) /* (Y26) PRG0_PRU1_GPIO18.GPIO1_67 */ 271*b2d2a78aSEmmanuel Vadot >; 272*b2d2a78aSEmmanuel Vadot }; 273*b2d2a78aSEmmanuel Vadot}; 274*b2d2a78aSEmmanuel Vadot 275*b2d2a78aSEmmanuel Vadot&wkup_pmx0 { 276*b2d2a78aSEmmanuel Vadot mcu_mcan0_pins_default: mcu-mcan0-default-pins { 277*b2d2a78aSEmmanuel Vadot pinctrl-single,pins = < 278*b2d2a78aSEmmanuel Vadot AM65X_WKUP_IOPAD(0x00ac, PIN_INPUT_PULLUP, 0) /* (W2) MCU_MCAN0_RX */ 279*b2d2a78aSEmmanuel Vadot AM65X_WKUP_IOPAD(0x00a8, PIN_OUTPUT_PULLUP, 0) /* (W1) MCU_MCAN0_TX */ 280*b2d2a78aSEmmanuel Vadot >; 281*b2d2a78aSEmmanuel Vadot }; 282*b2d2a78aSEmmanuel Vadot 283*b2d2a78aSEmmanuel Vadot mcu_mcan1_pins_default: mcu-mcan1-default-pins { 284*b2d2a78aSEmmanuel Vadot pinctrl-single,pins = < 285*b2d2a78aSEmmanuel Vadot AM65X_WKUP_IOPAD(0x00c4, PIN_INPUT_PULLUP, 1) /* (AD3) WKUP_GPIO0_5.MCU_MCAN1_RX */ 286*b2d2a78aSEmmanuel Vadot AM65X_WKUP_IOPAD(0x00c0, PIN_OUTPUT_PULLUP, 1) /* (AC3) WKUP_GPIO0_4.MCU_MCAN1_TX */ 287*b2d2a78aSEmmanuel Vadot >; 288*b2d2a78aSEmmanuel Vadot }; 28984943d6fSEmmanuel Vadot}; 29084943d6fSEmmanuel Vadot 29184943d6fSEmmanuel Vadot&icssg0_mdio { 29284943d6fSEmmanuel Vadot status = "okay"; 29384943d6fSEmmanuel Vadot pinctrl-names = "default"; 29484943d6fSEmmanuel Vadot pinctrl-0 = <&icssg0_mdio_pins_default>; 29584943d6fSEmmanuel Vadot #address-cells = <1>; 29684943d6fSEmmanuel Vadot #size-cells = <0>; 29784943d6fSEmmanuel Vadot 29884943d6fSEmmanuel Vadot icssg0_phy0: ethernet-phy@0 { 29984943d6fSEmmanuel Vadot reg = <0>; 30084943d6fSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 30184943d6fSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 30284943d6fSEmmanuel Vadot }; 30384943d6fSEmmanuel Vadot 30484943d6fSEmmanuel Vadot icssg0_phy1: ethernet-phy@3 { 30584943d6fSEmmanuel Vadot reg = <3>; 30684943d6fSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 30784943d6fSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 30884943d6fSEmmanuel Vadot }; 30984943d6fSEmmanuel Vadot}; 31084943d6fSEmmanuel Vadot 31184943d6fSEmmanuel Vadot&icssg0_iep0 { 31284943d6fSEmmanuel Vadot pinctrl-names = "default"; 31384943d6fSEmmanuel Vadot pinctrl-0 = <&icssg0_iep0_pins_default>; 31484943d6fSEmmanuel Vadot}; 31584943d6fSEmmanuel Vadot 31684943d6fSEmmanuel Vadot&icssg1_mdio { 31784943d6fSEmmanuel Vadot status = "okay"; 31884943d6fSEmmanuel Vadot pinctrl-names = "default"; 31984943d6fSEmmanuel Vadot pinctrl-0 = <&icssg1_mdio_pins_default>; 32084943d6fSEmmanuel Vadot #address-cells = <1>; 32184943d6fSEmmanuel Vadot #size-cells = <0>; 32284943d6fSEmmanuel Vadot 32384943d6fSEmmanuel Vadot icssg1_phy0: ethernet-phy@0 { 32484943d6fSEmmanuel Vadot reg = <0>; 32584943d6fSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 32684943d6fSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 32784943d6fSEmmanuel Vadot }; 32884943d6fSEmmanuel Vadot 32984943d6fSEmmanuel Vadot icssg1_phy1: ethernet-phy@3 { 33084943d6fSEmmanuel Vadot reg = <3>; 33184943d6fSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 33284943d6fSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 33384943d6fSEmmanuel Vadot }; 33484943d6fSEmmanuel Vadot}; 33584943d6fSEmmanuel Vadot 33684943d6fSEmmanuel Vadot&icssg1_iep0 { 33784943d6fSEmmanuel Vadot pinctrl-names = "default"; 33884943d6fSEmmanuel Vadot pinctrl-0 = <&icssg1_iep0_pins_default>; 33984943d6fSEmmanuel Vadot}; 340*b2d2a78aSEmmanuel Vadot 341*b2d2a78aSEmmanuel Vadot&m_can0 { 342*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 343*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&mcu_mcan0_pins_default>; 344*b2d2a78aSEmmanuel Vadot phys = <&transceiver1>; 345*b2d2a78aSEmmanuel Vadot status = "okay"; 346*b2d2a78aSEmmanuel Vadot}; 347*b2d2a78aSEmmanuel Vadot 348*b2d2a78aSEmmanuel Vadot&m_can1 { 349*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 350*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&mcu_mcan1_pins_default>; 351*b2d2a78aSEmmanuel Vadot phys = <&transceiver2>; 352*b2d2a78aSEmmanuel Vadot status = "okay"; 353*b2d2a78aSEmmanuel Vadot}; 354