Hisilicon-higmac.txt

Hisilicon higmac controller
Required properties:
- compatible: should be "hisilicon,higmac" and one of the following:
    - "hisilicon,higmac-v1"
    - "hisilicon,higmac-v2"
    - "hisilicon,higmac-v3"
- reg: specifies base physical address(s) and size of the device registers. The first region is the MAC register base and size.
  The second region is external interface control register.
- interrupts: should contain the MAC interrupt.
- #address-cells: must be <1>.
- #size-cells: must be <0>.
- phy-mode: see ethernet.txt [1].
- phy-handle: see ethernet.txt [1].
- mac-address: see ethernet.txt [1].
- clocks: clock phandle and specifier pair.
- resets: reset controller phandle and specifier pair.
- PHY subnode: inherits from phy binding [2]
[1] Documentation/devicetree/bindings/net/ethernet.txt [2] Documentation/devicetree/bindings/net/phy.txt
Example: higmac: ethernet@10050000 { compatible = "hisilicon,higmac";
        reg = <0x10050000 0x1000>,<0x120100ec 0x4>;
        interrupts = <0 25 4>;
        #address-cells = <1>;
        #size-cells = <0>;
        phy-mode = "rgmii";
        phy-handle = <&eth_phy>;
        mac-address = [00 00 00 00 00 00];
        clocks = <&clock HI3519_ETH_CLK>, <&clock HI3519_ETH_MACIF_CLK>; clock-names = "higmac_clk", "macif_clk";
        resets = <&clock 0xcc 0>, <&clock 0xcc 2>,
                <&clock 0xcc 7>; reset-names = "port_reset", "macif_reset",
                "phy_reset";
        eth_phy: ethernet-phy@1 { reg = <1>; }; }; 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值