Thread (16 messages) 16 messages, 4 authors, 2014-09-30

[PATCH v5 09/10] ARM: dts: berlin: add the Ethernet node

From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
Date: 2014-09-29 14:34:11
Also in: linux-devicetree, lkml, netdev

On 09/26/2014 07:25 PM, Sergei Shtylyov wrote:
On 09/26/2014 06:33 PM, Antoine Tenart wrote:
quoted
This patch adds the Ethernet node, enabling the network unit on Berlin
BG2Q SoCs.
quoted
Signed-off-by: Antoine Tenart <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
  arch/arm/boot/dts/berlin2q.dtsi | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)
quoted
diff --git a/arch/arm/boot/dts/berlin2q.dtsi
b/arch/arm/boot/dts/berlin2q.dtsi
index 902eddb19cd8..d442b22fd1ea 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -114,6 +114,23 @@
              #interrupt-cells = <3>;
          };

+        eth0: ethernet at b90000 {
+            compatible = "marvell,pxa168-eth";
+            reg = <0xb90000 0x10000>;
+            clocks = <&chip CLKID_GETH0>;
+            interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+            /* set by bootloader */
+            local-mac-address = [00 00 00 00 00 00];
+            #address-cells = <1>;
+            #size-cells = <0>;
+            phy-handle = <&ethphy0>;
+            status = "disabled";
+
+            ethphy0: ethernet-phy at 0 {
+                reg = <0>;
+            };
+        };
+
    Hm, is the PHY internal to the Ethernet controller?
Sergei,

at least for BG2 and BG2CD the PHY is internal to the SoC. Also,
MDIO bus is part of the ethernet IP, so placing the PHY inside
the combined Ethernet/MDIO IP node is sane.

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help