1 * Marvell PXA168 Ethernet Controller 2 3 Required properties: 4 - compatible: should be "marvell,pxa168-eth". 5 - reg: address and length of the register set for the device. 6 - interrupts: interrupt for the device. 7 - clocks: pointer to the clock for the device. 8 9 Optional properties: 10 - port-id: Ethernet port number. Should be '0','1' or '2'. 11 - #address-cells: must be 1 when using sub-nodes. 12 - #size-cells: must be 0 when using sub-nodes. 13 - phy-handle: see ethernet.txt file in the same directory. 14 15 The MAC address will be determined using the optional properties 16 defined in ethernet.txt. 17 18 Sub-nodes: 19 Each PHY can be represented as a sub-node. This is not mandatory. 20 21 Sub-nodes required properties: 22 - reg: the MDIO address of the PHY. 23 24 Example: 25 26 eth0: ethernet@f7b90000 { 27 compatible = "marvell,pxa168-eth"; 28 reg = <0xf7b90000 0x10000>; 29 clocks = <&chip CLKID_GETH0>; 30 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 31 #address-cells = <1>; 32 #size-cells = <0>; 33 phy-handle = <ðphy0>; 34 35 ethphy0: ethernet-phy@0 { 36 reg = <0>; 37 }; 38 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.