zynq > ZYBOのPHYを調べる

自分の過去のメモより


- ZC702 PHY     : Marvel 88E1116RA0-NNC1000, Halo HFJ11-1G01ERL @ ug850 p11
- ZedBoard PHY : Marvel 88E1518
- MicroZed PHY : Marvel 88E1512 @ MicroZed_HW_UG_v1_6.pdf (22-Jan-2015) p14 [ [pdf](http://microzed.org/sites/default/files/documentations/MicroZed_HW_UG_v1_6.pdf) ]
- ZYBO : Realtek RTL8211E-VL .@ zybo_rm_b_v6.pdf [ [pdf](http://www.digilentinc.com/data/products/zybo/zybo_rm_b_v6.pdf) ] p.14


DIGILENT > Embedded Linux Hands-on Tutorial for the ZYBO [ [pdf](http://digilentinc.com/Data/Products/ZYBO/ZYBO-Embedded_Linux_Hands-on_Tutorial.pdf) ] 

> [4. Zynq VivadoでZYBO向けプロジェクト作成からBitstream出力まで](http://yuki-sato.com/wordpress/2014/12/30/zynq4/)

[instructables > Embedded Linux Tutorial - Zybo](http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/)
> For the Zybo, we need set the mac address for the Ethernet in the fsbl hook. We want the mac address for the Ethernet to remain constant when we turn off and on the Zybo Board. You can swap the fsbl_hooks.c file in the FSBL project with the <font color=red>fsbl_hooks.c</font> under <fon t color=red>source/vivado/SDK/fsbl</font> in the Zybo Base System Design.


[hardnet.com > PetaLinux ZYBO BSP Now Available To Download](http://www.hardent.com/electronic-FPGA-design-consulting-services/petalinux-zybo-bsp-now-available-to-download/) – 2014.4 Board Support Package / lab files

[ZYBO で FreeBSD が動くまで (3)](http://yasu2.prosou.nu/blog/) – 「ZYBO に載っているのは Realtek RTL8211E なので、rgephy を使うのが正しいです」

    (rgephy : RealTek GbE PHY)


[Phy GigaEthernet RTL8211E on AM3359 board doesn't work](http://e2e.ti.com/support/arm/sitara_arm/f/791/p/200257/712314) – AAM3359 (ARM Cortex-A8)からRTL8211Eを動かす方法について
> AM335x Sitara™ Processors (Rev. G) [ [pdf](http://www.ti.com/lit/ds/symlink/am3359.pdf) ] – 7.6.1.4 Ethernet MAC and Switch RGMII Electrical Data and Timing


forum.xilinx > ( [ZYBOのdevice tree ファイル](http://forums.xilinx.com/xlnx/attachments/xlnx/ELINUX/10114/1/zynq-zybo%20%28copy%29.txt) )

```.c
ps7_ethernet_0: ps7-ethernet@e000b000 {
    #address-cells = <1>;
    #size-cells = <0>;
    clock-names = "ref_clk", "aper_clk";
    clocks = <&clkc 13>, <&clkc 30>;
    compatible = "xlnx,ps7-ethernet-1.00.a";
    interrupt-parent = <&ps7_scugic_0>;
    interrupts = <0 22 4>;
    phy-handle = <&phy0>;
    phy-mode = "rgmii-id";
    reg = <0xe000b000 0x1000>;
    xlnx,eth-mode = <0x1>;
    xlnx,has-mdio = <0x1>;
    xlnx,ptp-enet-clock = <108333336>;
    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        phy0: phy@1 {
            compatible = "realtek,RTL8211E";
            device_type = "ethernet-phy";
            reg = <1>;
        } ;
    } ;
} ;
```

[linux-sunxi](http://linux-sunxi.org/Ethernet#Realtek_RTL8211E) – The Realtek RTL8211E is a RGMII 10/100/1000 Ethernet PHY, which is gigabit capable. It is commonly paired with GMAC for gigabit speeds. Generic PHY support is enough to make it work.


[How to port a new device @ stlinux.com](http://www.stlinux.com/kernel/network/phy-howto)

- PHY Device Drivers > In some cases, no work is required at all because a Generic PHY driver is already provided.
- Physical devices can support several interfaces such as: RGMII
- PHY address > The phy address is used for the MDIO interface to manage the transceiver.