~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/ti/k3-j721s2-evm-gesi-exp-board.dtso

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
  2 /**
  3  * DT Overlay for MAIN CPSW2G using GESI Expansion Board with J7 common processor board.
  4  *
  5  * GESI Board Product Link: https://www.ti.com/tool/J7EXPCXEVM
  6  *
  7  * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
  8  */
  9 
 10 /dts-v1/;
 11 /plugin/;
 12 
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/net/ti-dp83867.h>
 15 
 16 #include "k3-pinctrl.h"
 17 
 18 &{/} {
 19         aliases {
 20                 ethernet1 = "/bus@100000/ethernet@c200000/ethernet-ports/port@1";
 21         };
 22 };
 23 
 24 &main_pmx0 {
 25         main_cpsw_mdio_default_pins: main-cpsw-mdio-default-pins {
 26                 pinctrl-single,pins = <
 27                         J721S2_IOPAD(0x0c0, PIN_OUTPUT, 6) /* (T28) MCASP1_AXR0.MDIO0_MDC */
 28                         J721S2_IOPAD(0x0bc, PIN_INPUT, 6) /* (V28) MCASP1_AFSX.MDIO0_MDIO */
 29                 >;
 30         };
 31 
 32         rgmii1_default_pins: rgmii1-default-pins {
 33                 pinctrl-single,pins = <
 34                         J721S2_IOPAD(0x0b8, PIN_INPUT, 6) /* (AA24) MCASP1_ACLKX.RGMII1_RD0 */
 35                         J721S2_IOPAD(0x0a0, PIN_INPUT, 6) /* (AB25) MCASP0_AXR12.RGMII1_RD1 */
 36                         J721S2_IOPAD(0x0a4, PIN_INPUT, 6) /* (T23) MCASP0_AXR13.RGMII1_RD2 */
 37                         J721S2_IOPAD(0x0a8, PIN_INPUT, 6) /* (U24) MCASP0_AXR14.RGMII1_RD3 */
 38                         J721S2_IOPAD(0x0b0, PIN_INPUT, 6) /* (AD26) MCASP1_AXR3.RGMII1_RXC */
 39                         J721S2_IOPAD(0x0ac, PIN_INPUT, 6) /* (AC25) MCASP0_AXR15.RGMII1_RX_CTL */
 40                         J721S2_IOPAD(0x08c, PIN_OUTPUT, 6) /* (T25) MCASP0_AXR7.RGMII1_TD0 */
 41                         J721S2_IOPAD(0x090, PIN_OUTPUT, 6) /* (W24) MCASP0_AXR8.RGMII1_TD1 */
 42                         J721S2_IOPAD(0x094, PIN_OUTPUT, 6) /* (AA25) MCASP0_AXR9.RGMII1_TD2 */
 43                         J721S2_IOPAD(0x098, PIN_OUTPUT, 6) /* (V25) MCASP0_AXR10.RGMII1_TD3 */
 44                         J721S2_IOPAD(0x0b4, PIN_OUTPUT, 6) /* (U25) MCASP1_AXR4.RGMII1_TXC */
 45                         J721S2_IOPAD(0x09c, PIN_OUTPUT, 6) /* (T24) MCASP0_AXR11.RGMII1_TX_CTL */
 46                 >;
 47         };
 48 };
 49 
 50 &exp1 {
 51         p15-hog {
 52                 /* P15 - EXP_MUX2 */
 53                 gpio-hog;
 54                 gpios = <13 GPIO_ACTIVE_HIGH>;
 55                 output-high;
 56                 line-name = "EXP_MUX2";
 57         };
 58 };
 59 
 60 &main_cpsw {
 61         status = "okay";
 62         pinctrl-names = "default";
 63         pinctrl-0 = <&rgmii1_default_pins>;
 64 };
 65 
 66 &main_cpsw_mdio {
 67         status = "okay";
 68         pinctrl-names = "default";
 69         pinctrl-0 = <&main_cpsw_mdio_default_pins>;
 70         #address-cells = <1>;
 71         #size-cells = <0>;
 72 
 73         main_cpsw_phy0: ethernet-phy@0 {
 74                 reg = <0>;
 75                 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 76                 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
 77                 ti,min-output-impedance;
 78         };
 79 };
 80 
 81 &main_cpsw_port1 {
 82         status = "okay";
 83         phy-mode = "rgmii-rxid";
 84         phy-handle = <&main_cpsw_phy0>;
 85 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php