DasChaos

t113 ethernet

Mar 22nd, 2023
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. emac: ethernet@4500000 {
  2. compatible = "allwinner,sun20i-d1-emac",
  3. "allwinner,sun50i-a64-emac";
  4. reg = <0x4500000 0x10000>;
  5. interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
  6. interrupt-names = "macirq";
  7. clocks = <&ccu CLK_BUS_EMAC>;
  8. clock-names = "stmmaceth";
  9. resets = <&ccu RST_BUS_EMAC>;
  10. reset-names = "stmmaceth";
  11. syscon = <&syscon>;
  12. status = "disabled";
  13.  
  14. mdio: mdio {
  15. compatible = "snps,dwmac-mdio";
  16. #address-cells = <1>;
  17. #size-cells = <0>;
  18. };
  19. };
  20.  
  21.  
  22. &emac {
  23. status = "okay";
  24.  
  25. pinctrl-0 = <&rmii_pe_pins>;
  26. pinctrl-names = "default";
  27.  
  28. phy-mode = "rmii";
  29. };
Advertisement
Add Comment
Please, Sign In to add comment