Linux OpenRISC platform development
 help / color / mirror / Atom feed
From: BAndViG <bandvig@mail.ru>
To: openrisc@lists.librecores.org
Subject: [OpenRISC] [PATCH 2/2] or1k: dts: Add ethoc device to SMP devicetree
Date: Mon, 2 Sep 2019 21:01:39 +0300	[thread overview]
Message-ID: <28B006D9DDD5477CB7AA012671DB30F8@BAndViG> (raw)
In-Reply-To: <20190831030348.6920-3-shorne@gmail.com>

Hello All.
I've ported these ethernet description for my Atlys-based SoC. Prior to it 
Linux were not able even to detect Marvell's PHY. With the modifications 
Marvell's PHY is detected correctly. However, I still can not  use ethernet 
connection. For example, If I try to execute "ping {ip-of-my-pc}" it reports 
"net eth0: TX: carrier sense lost". Perhaps, I have to configure correctly MDIO 
bus and PHY itself. Have anybody got an recommendation?

WBR
Andrey

-----Исходное сообщение----- 
From: Stafford Horne
Sent: Saturday, August 31, 2019 6:03 AM
To: LKML
Cc: Mark Rutland ; Jonas Bonn ; devicetree at vger.kernel.org ; Rob Herring ; 
openrisc at lists.librecores.org
Subject: [OpenRISC] [PATCH 2/2] or1k: dts: Add ethoc device to SMP devicetree

This patch adds the ethoc device configuration to the OpenRISC basic SMP
device tree config.  This was tested with qemu.

Signed-off-by: Stafford Horne <shorne@gmail.com>
---
arch/openrisc/boot/dts/simple_smp.dts | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/openrisc/boot/dts/simple_smp.dts 
b/arch/openrisc/boot/dts/simple_smp.dts
index defbb92714ec..71af0e117bfe 100644
--- a/arch/openrisc/boot/dts/simple_smp.dts
+++ b/arch/openrisc/boot/dts/simple_smp.dts
@@ -60,4 +60,10 @@
  clock-frequency = <20000000>;
  };

+ enet0: ethoc at 92000000 {
+ compatible = "opencores,ethoc";
+ reg = <0x92000000 0x800>;
+ interrupts = <4>;
+ big-endian;
+ };
};
-- 
2.21.0

_______________________________________________
OpenRISC mailing list
OpenRISC at lists.librecores.org
https://lists.librecores.org/listinfo/openrisc


      reply	other threads:[~2019-09-02 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190831030348.6920-1-shorne@gmail.com>
2019-08-31  3:03 ` [OpenRISC] [PATCH 1/2] or1k: dts: Fix ethoc network configuration in or1ksim devicetree Stafford Horne
2019-08-31  3:03 ` [OpenRISC] [PATCH 2/2] or1k: dts: Add ethoc device to SMP devicetree Stafford Horne
2019-09-02 18:01   ` BAndViG [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28B006D9DDD5477CB7AA012671DB30F8@BAndViG \
    --to=bandvig@mail.ru \
    --cc=openrisc@lists.librecores.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox