|
我想保留网口1,去掉网口二,但是fec2disabled后第一个网口也不能用了,请问该怎么配置? 295 &fec1 { 296 pinctrl-names = "default";
297 pinctrl-0 = <&pinctrl_enet1>;
298 phy-mode = "rmii";
299 phy-handle = <ðphy0>;
300 status = "okay";
301 };
302
303 &fec2 {
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_enet2>;
306 phy-mode = "rmii";
307 phy-handle = <ðphy1>;
308 status = "disabled";
309
310 mdio {
311 #address-cells = <1>;
312 #size-cells = <0>;
313
314 ethphy0: ethernet-phy@2 {
315 compatible = "ethernet-phy-ieee802.3-c22";
316 reg = <2>;
317 };
318
319 ethphy1: ethernet-phy@1 {
320 compatible = "ethernet-phy-ieee802.3-c22";
321 reg = <1>;
322 };
323 };
324 };
848 pinctrl_enet1: enet1grp {
849 fsl,pins = <
850 MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
851 MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0
852 MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
853 MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
854 MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
855 MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
856 MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
857 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031
858 >;
859 };
875 pinctrl_enet2: enet2grp {
876 fsl,pins = <
877 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
878 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
879 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
880 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
881 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
882 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
883 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
884 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
885 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
886 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
887 MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000
888 >;
889 };
|
|