arm64: dts: lx2160a-clearfog-itx: add SFP support
Add 2x2 SFP+ cage support for clearfog-itx boards. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
846f752866
commit
312a461485
|
@ -122,6 +122,30 @@
|
||||||
vcc-supply = <&sb_3v3>;
|
vcc-supply = <&sb_3v3>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sfp0_i2c: i2c@4 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sfp1_i2c: i2c@5 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <5>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sfp2_i2c: i2c@6 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <6>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sfp3_i2c: i2c@7 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <7>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,54 @@
|
||||||
gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sfp0: sfp-0 {
|
||||||
|
compatible = "sff,sfp";
|
||||||
|
i2c-bus = <&sfp0_i2c>;
|
||||||
|
mod-def0-gpio = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
||||||
|
maximum-power-milliwatt = <2000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sfp1: sfp-1 {
|
||||||
|
compatible = "sff,sfp";
|
||||||
|
i2c-bus = <&sfp1_i2c>;
|
||||||
|
mod-def0-gpio = <&gpio2 9 GPIO_ACTIVE_LOW>;
|
||||||
|
maximum-power-milliwatt = <2000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sfp2: sfp-2 {
|
||||||
|
compatible = "sff,sfp";
|
||||||
|
i2c-bus = <&sfp2_i2c>;
|
||||||
|
mod-def0-gpio = <&gpio2 10 GPIO_ACTIVE_LOW>;
|
||||||
|
maximum-power-milliwatt = <2000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sfp3: sfp-3 {
|
||||||
|
compatible = "sff,sfp";
|
||||||
|
i2c-bus = <&sfp3_i2c>;
|
||||||
|
mod-def0-gpio = <&gpio2 11 GPIO_ACTIVE_LOW>;
|
||||||
|
maximum-power-milliwatt = <2000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&dpmac7 {
|
||||||
|
sfp = <&sfp0>;
|
||||||
|
managed = "in-band-status";
|
||||||
|
};
|
||||||
|
|
||||||
|
&dpmac8 {
|
||||||
|
sfp = <&sfp1>;
|
||||||
|
managed = "in-band-status";
|
||||||
|
};
|
||||||
|
|
||||||
|
&dpmac9 {
|
||||||
|
sfp = <&sfp2>;
|
||||||
|
managed = "in-band-status";
|
||||||
|
};
|
||||||
|
|
||||||
|
&dpmac10 {
|
||||||
|
sfp = <&sfp3>;
|
||||||
|
managed = "in-band-status";
|
||||||
};
|
};
|
||||||
|
|
||||||
&emdio2 {
|
&emdio2 {
|
||||||
|
@ -44,6 +92,22 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pcs_mdio7 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcs_mdio8 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcs_mdio9 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcs_mdio10 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&sata0 {
|
&sata0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue