marvell-pxa168.txt 1013 B

123456789101112131415161718192021222324252627282930313233343536
  1. * Marvell PXA168 Ethernet Controller
  2. Required properties:
  3. - compatible: should be "marvell,pxa168-eth".
  4. - reg: address and length of the register set for the device.
  5. - interrupts: interrupt for the device.
  6. - clocks: pointer to the clock for the device.
  7. Optional properties:
  8. - port-id: Ethernet port number. Should be '0','1' or '2'.
  9. - #address-cells: must be 1 when using sub-nodes.
  10. - #size-cells: must be 0 when using sub-nodes.
  11. - phy-handle: see ethernet.txt file in the same directory.
  12. - local-mac-address: see ethernet.txt file in the same directory.
  13. Sub-nodes:
  14. Each PHY can be represented as a sub-node. This is not mandatory.
  15. Sub-nodes required properties:
  16. - reg: the MDIO address of the PHY.
  17. Example:
  18. eth0: ethernet@f7b90000 {
  19. compatible = "marvell,pxa168-eth";
  20. reg = <0xf7b90000 0x10000>;
  21. clocks = <&chip CLKID_GETH0>;
  22. interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. phy-handle = <&ethphy0>;
  26. ethphy0: ethernet-phy@0 {
  27. reg = <0>;
  28. };
  29. };