Browse Source

OWHW: fix MDIO/PHY addresses of gpio-mdio bus for the ethernet switch

master
Harald Welte 6 years ago
parent
commit
096ad50ed9
  1. 58
      arch/arm/boot/dts/am335x-gsmk-owhw.dts

58
arch/arm/boot/dts/am335x-gsmk-owhw.dts

@ -70,73 +70,73 @@
&gpio1 21 0>;
status = "okay";
/* 0x00 ... 0x04 are the switch-internal PHYs */
ethernet-phy@0 {
/* 0x10 ... 0x14 are the switch-internal PHYs */
ethernet-phy@10 {
compatible = "ethernet-phy-id0141.0003", "ethernet-phy-ieee802.3-c22";
reg = <0>;
reg = <16>;
status = "okay";
};
ethernet-phy@1 {
ethernet-phy@11 {
compatible = "ethernet-phy-id0141.0003", "ethernet-phy-ieee802.3-c22";
status = "okay";
reg = <1>;
reg = <17>;
};
ethernet-phy@2 {
ethernet-phy@12 {
compatible = "ethernet-phy-id0141.0003", "ethernet-phy-ieee802.3-c22";
status = "okay";
reg = <2>;
reg = <18>;
};
ethernet-phy@3 {
ethernet-phy@13 {
compatible = "ethernet-phy-id0141.0003", "ethernet-phy-ieee802.3-c22";
status = "okay";
reg = <3>;
reg = <19>;
};
ethernet-phy@4 {
ethernet-phy@14 {
compatible = "ethernet-phy-id0141.0003", "ethernet-phy-ieee802.3-c22";
status = "okay";
reg = <4>;
reg = <20>;
};
/*
// 0x8 ... 0xE are the switch port status
ethernet-phy@8 {
// 0x18 ... 0x1E are the switch port status
ethernet-phy@18 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <8>;
reg = <24>;
status = "okay";
};
ethernet-phy@9 {
ethernet-phy@19 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <9>;
reg = <25>;
status = "okay";
};
ethernet-phy@a {
ethernet-phy@1a {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <10>;
reg = <26>;
status = "okay";
};
ethernet-phy@b {
ethernet-phy@1b {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <11>;
reg = <27>;
status = "okay";
};
ethernet-phy@c {
ethernet-phy@1c {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <12>;
reg = <28>;
status = "okay";
};
ethernet-phy@d {
ethernet-phy@1d {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <13>;
reg = <29>;
status = "okay";
};
ethernet-phy@e {
ethernet-phy@1e {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <14>;
reg = <30>;
status = "okay";
};
// 0xF is the switch global address
ethernet-phy@f {
// 0x1F is the switch global address
ethernet-phy@1f {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <15>;
reg = <31>;
status = "okay";
};
*/

Loading…
Cancel
Save