From: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
To: Jason Cooper <jason@lakedaemon.net>
Cc: <monstr@monstr.eu>, <ralf@linux-mips.org>, <tglx@linutronix.de>,
<marc.zyngier@arm.com>, <linux-mips@linux-mips.org>,
<linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>
Subject: Re: [PATCH 8/9] MIPS: xilfpga: Add DT node for AXI emaclite
Date: Thu, 18 Aug 2016 11:01:08 +0100 [thread overview]
Message-ID: <1cfb22d7-1cf0-fe97-5995-ed9671575e57@imgtec.com> (raw)
In-Reply-To: <20160815151703.GD3353@io.lakedaemon.net>
Hi,
On 08/15/2016 04:17 PM, Jason Cooper wrote:
> Hi Zubair,
>
> On Mon, Aug 15, 2016 at 02:55:34PM +0100, Zubair Lutfullah Kakakhel wrote:
>> The xilfpga platform has a Xilinx AXI emaclite block.
>>
>> Add the DT node to use it.
>>
>> Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
>> ---
>> arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 27 +++++++++++++++++++++++++++
>> 1 file changed, 27 insertions(+)
>>
>> diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts b/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
>> index 3658e21..58bc62f 100644
>> --- a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
>> +++ b/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
>> @@ -42,6 +42,33 @@
>> xlnx,tri-default = <0xffffffff>;
>> } ;
>>
>> + axi_ethernetlite: ethernet@10e00000 {
>> + compatible = "xlnx,xps-ethernetlite-3.00.a";
>
> This one also isn't documented.
These are sort of documented. Although checkpatch probably won't find them.
Xilinx IP blocks follow a generic DT style as documented here.
http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/xilinx.txt
>
>> + device_type = "network";
>> + interrupt-parent = <&axi_intc>;
>> + interrupts = <1>;
>> + local-mac-address = [08 86 4C 0D F7 09];
>
> I'm pretty sure you don't want this in the mainline dts file.
Oops. Sorry. I'll remove it.
Thanks
ZubairLK
>
> thx,
>
> Jason.
>
>> + phy-handle = <&phy0>;
>> + reg = <0x10e00000 0x10000>;
>> + xlnx,duplex = <0x1>;
>> + xlnx,include-global-buffers = <0x1>;
>> + xlnx,include-internal-loopback = <0x0>;
>> + xlnx,include-mdio = <0x1>;
>> + xlnx,instance = "axi_ethernetlite_inst";
>> + xlnx,rx-ping-pong = <0x1>;
>> + xlnx,s-axi-id-width = <0x1>;
>> + xlnx,tx-ping-pong = <0x1>;
>> + xlnx,use-internal = <0x0>;
>> + mdio {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + phy0: phy@1 {
>> + device_type = "ethernet-phy";
>> + reg = <1>;
>> + };
>> + };
>> + };
>> +
>> axi_uart16550: serial@10400000 {
>> compatible = "ns16550a";
>> reg = <0x10400000 0x10000>;
>> --
>> 1.9.1
>>
next prev parent reply other threads:[~2016-08-18 10:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 13:55 [PATCH 0/9] MIPS: xilfpga: Intc and various peripherals Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 1/9] microblaze: irqchip: Move intc driver to irqchip Zubair Lutfullah Kakakhel
2016-08-15 15:06 ` Jason Cooper
2016-08-15 15:22 ` Jason Cooper
2016-08-18 9:59 ` Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 2/9] irqchip: xilinx: Add support for parent intc Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 3/9] MIPS: xilfpga: Use irqchip_init instead of the legacy way Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 4/9] MIPS: xilfpga: Use Xilinx AXI Interrupt Controller Zubair Lutfullah Kakakhel
2016-08-15 15:12 ` Jason Cooper
2016-08-15 13:55 ` [PATCH 5/9] MIPS: xilfpga: Update DT node and specify uart irq Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 6/9] MIPS: Xilfpga: Add DT node for AXI I2C Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 7/9] net: ethernet: xilinx: Enable emaclite for MIPS Zubair Lutfullah Kakakhel
2016-08-15 13:55 ` [PATCH 8/9] MIPS: xilfpga: Add DT node for AXI emaclite Zubair Lutfullah Kakakhel
2016-08-15 15:17 ` Jason Cooper
2016-08-18 10:01 ` Zubair Lutfullah Kakakhel [this message]
2016-08-15 13:55 ` [PATCH 9/9] MIPS: xilfpga: Update defconfig Zubair Lutfullah Kakakhel
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=1cfb22d7-1cf0-fe97-5995-ed9671575e57@imgtec.com \
--to=zubair.kakakhel@imgtec.com \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=marc.zyngier@arm.com \
--cc=monstr@monstr.eu \
--cc=netdev@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®