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