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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/microchip/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts

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+ OR MIT)
  2 /*
  3  * Device Tree file for the Kontron KSwitch D10 MMT 6G-2GS
  4  */
  5 
  6 /dts-v1/;
  7 #include "lan966x-kontron-kswitch-d10-mmt.dtsi"
  8 
  9 / {
 10         model = "Kontron KSwitch D10 MMT 6G-2GS";
 11         compatible = "kontron,kswitch-d10-mmt-6g-2gs", "kontron,s1921",
 12                      "microchip,lan9668", "microchip,lan966";
 13 
 14         aliases {
 15                 i2c0 = &i2c4;
 16                 i2c1 = &i2c1;
 17         };
 18 
 19         sfp0: sfp0 {
 20                 compatible = "sff,sfp";
 21                 i2c-bus = <&i2c4>;
 22                 los-gpios = <&sgpio_in 1 0 GPIO_ACTIVE_HIGH>;
 23                 mod-def0-gpios = <&sgpio_in 1 1 GPIO_ACTIVE_LOW>;
 24                 maximum-power-milliwatt = <2500>;
 25                 tx-disable-gpios = <&sgpio_out 3 0 GPIO_ACTIVE_LOW>;
 26                 tx-fault-gpios = <&sgpio_in 0 2 GPIO_ACTIVE_HIGH>;
 27                 rate-select0-gpios = <&sgpio_out 2 0 GPIO_ACTIVE_HIGH>;
 28                 rate-select1-gpios = <&sgpio_out 2 1 GPIO_ACTIVE_HIGH>;
 29         };
 30 
 31         sfp1: sfp1 {
 32                 compatible = "sff,sfp";
 33                 i2c-bus = <&i2c1>;
 34                 los-gpios = <&sgpio_in 1 2 GPIO_ACTIVE_HIGH>;
 35                 mod-def0-gpios = <&sgpio_in 1 3 GPIO_ACTIVE_LOW>;
 36                 maximum-power-milliwatt = <2500>;
 37                 tx-disable-gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>;
 38                 tx-fault-gpios = <&sgpio_in 0 3 GPIO_ACTIVE_HIGH>;
 39                 rate-select0-gpios = <&sgpio_out 2 2 GPIO_ACTIVE_HIGH>;
 40                 rate-select1-gpios = <&sgpio_out 2 3 GPIO_ACTIVE_HIGH>;
 41         };
 42 };
 43 
 44 &flx1 {
 45         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
 46         status = "okay";
 47 
 48         i2c1: i2c@600 {
 49                 pinctrl-0 = <&fc1_c_pins>;
 50                 pinctrl-names = "default";
 51                 status = "okay";
 52         };
 53 };
 54 
 55 &flx4 {
 56         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
 57         status = "okay";
 58 
 59         i2c4: i2c@600 {
 60                 pinctrl-0 = <&fc4_b_pins>;
 61                 pinctrl-names = "default";
 62                 status = "okay";
 63         };
 64 };
 65 
 66 &gpio {
 67         fc1_c_pins: fc1-c-i2c-pins {
 68                 /* SCL, SDA */
 69                 pins = "GPIO_47", "GPIO_48";
 70                 function = "fc1_c";
 71         };
 72 
 73         fc4_b_pins: fc4-b-i2c-pins {
 74                 /* SCL, SDA */
 75                 pins = "GPIO_57", "GPIO_58";
 76                 function = "fc4_b";
 77         };
 78 };
 79 
 80 &port2 {
 81         phys = <&serdes 2 SERDES6G(0)>;
 82         sfp = <&sfp0>;
 83         managed = "in-band-status";
 84         phy-mode = "sgmii";
 85         status = "okay";
 86 };
 87 
 88 &port3 {
 89         phys = <&serdes 3 SERDES6G(1)>;
 90         sfp = <&sfp1>;
 91         managed = "in-band-status";
 92         phy-mode = "sgmii";
 93         status = "okay";
 94 };

~ [ 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