Advertisement
Guest User

Untitled

a guest
Jun 30th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.46 KB | None | 0 0
  1.                 emac: ethernet@1c30000 {
  2.                         compatible = "allwinner,sun50i-a64-emac";
  3.                         syscon = <&syscon>;
  4.                         reg = <0x01c30000 0x10000>;
  5.                         interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
  6.                         interrupt-names = "macirq";
  7.  
  8.                         resets = <&ccu RST_BUS_EMAC>;
  9.                         reset-names = "stmmaceth";
  10.                         clocks = <&ccu CLK_BUS_EMAC>;
  11.                         clock-names = "stmmaceth";
  12.  
  13.                         #address-cells = <1>;
  14.                         #size-cells = <0>;
  15.                         pinctrl-names = "default";
  16.                         pinctrl-0 = <&rgmii_pins>;
  17.                         phy-mode = "rgmii";
  18.                         /* phy-supply = <&reg_gmac_3v3>; */
  19.                         phy-handle = <&ext_rgmii_phy>;
  20.                         status = "okay";
  21.  
  22.                         mdio: mdio {
  23.                                 status  = "okay";
  24.                                 compatible = "snps,dwmac-mdio";
  25.                                 #address-cells = <1>;
  26.                                 #size-cells = <0>;
  27.                                 ext_rgmii_phy: ethernet-phy@0 {
  28.                                         compatible = "ethernet-phy-ieee802.3-c22";
  29.                                         reg = <0>;
  30.                                 };
  31.                         };
  32.                 };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement