Lines Matching +full:phy +full:- +full:i2c
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP)
11 - Russell King <linux@armlinux.org.uk>
16 - sff,sfp # for SFP modules
17 - sff,sff # for soldered down SFF modules
19 i2c-bus:
22 phandle of an I2C bus controller for the SFP two wire serial
24 maximum-power-milliwatt:
29 allowable by a module in the slot, in milli-Watts. Presently, modules can
32 "mod-def0-gpios":
35 GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS) module
39 "los-gpios":
45 "tx-fault-gpios":
51 "tx-disable-gpios":
57 "rate-select0-gpios":
61 output gpio signal, low - low Rx rate, high - high Rx rate Must not be
64 "rate-select1-gpios":
68 output gpio signal (SFP+ only), low - low Tx rate, high - high Tx rate. Must
72 - if:
79 mod-def0-gpios: false
80 rate-select0-gpios: false
81 rate-select1-gpios: false
84 - compatible
85 - i2c-bus
90 - | # Direct serdes to SFP connection
91 #include <dt-bindings/gpio/gpio.h>
95 i2c-bus = <&sfp_1g_i2c>;
96 los-gpios = <&cpm_gpio2 22 GPIO_ACTIVE_HIGH>;
97 mod-def0-gpios = <&cpm_gpio2 21 GPIO_ACTIVE_LOW>;
98 maximum-power-milliwatt = <1000>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&cpm_sfp_1g_pins &cps_sfp_1g_pins>;
101 tx-disable-gpios = <&cps_gpio1 24 GPIO_ACTIVE_HIGH>;
102 tx-fault-gpios = <&cpm_gpio2 19 GPIO_ACTIVE_HIGH>;
106 phy-names = "comphy";
111 - | # Serdes to PHY to SFP connection
112 #include <dt-bindings/gpio/gpio.h>
113 #include <dt-bindings/interrupt-controller/arm-gic.h>
117 i2c-bus = <&sfp_i2c>;
118 los-gpios = <&cps_gpio1 28 GPIO_ACTIVE_HIGH>;
119 mod-def0-gpios = <&cps_gpio1 27 GPIO_ACTIVE_LOW>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&cps_sfpp0_pins>;
122 tx-disable-gpios = <&cps_gpio1 29 GPIO_ACTIVE_HIGH>;
123 tx-fault-gpios = <&cps_gpio1 26 GPIO_ACTIVE_HIGH>;
127 #address-cells = <1>;
128 #size-cells = <0>;
130 phy: ethernet-phy@0 {
131 compatible = "ethernet-phy-ieee802.3-c45";
132 pinctrl-names = "default";
133 pinctrl-0 = <&cpm_phy0_pins &cps_phy0_pins>;
141 phy = <&phy>;
142 phy-mode = "10gbase-kr";