Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1465087
| From | Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 8/9] MIPS: xilfpga: Add DT node for AXI emaclite |
| Date | 2016-08-18 12:20 +0200 |
| Message-ID | <s7sAx-6Nh-13@gated-at.bofh.it> (permalink) |
| References | <s6qAN-6iP-1@gated-at.bofh.it> <s6r3Q-6HX-15@gated-at.bofh.it> <s6rQe-7ef-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
>>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/9] MIPS: xilfpga: Intc and various peripherals Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:00 +0200
[PATCH 3/9] MIPS: xilfpga: Use irqchip_init instead of the legacy way Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:00 +0200
[PATCH 6/9] MIPS: Xilfpga: Add DT node for AXI I2C Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
[PATCH 5/9] MIPS: xilfpga: Update DT node and specify uart irq Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
[PATCH 8/9] MIPS: xilfpga: Add DT node for AXI emaclite Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
Re: [PATCH 8/9] MIPS: xilfpga: Add DT node for AXI emaclite Jason Cooper <jason@lakedaemon.net> - 2016-08-15 17:20 +0200
Re: [PATCH 8/9] MIPS: xilfpga: Add DT node for AXI emaclite Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-18 12:20 +0200
[PATCH 9/9] MIPS: xilfpga: Update defconfig Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
[PATCH 4/9] MIPS: xilfpga: Use Xilinx AXI Interrupt Controller Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
Re: [PATCH 4/9] MIPS: xilfpga: Use Xilinx AXI Interrupt Controller Jason Cooper <jason@lakedaemon.net> - 2016-08-15 17:20 +0200
[PATCH 7/9] net: ethernet: xilinx: Enable emaclite for MIPS Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
[PATCH 2/9] irqchip: xilinx: Add support for parent intc Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:30 +0200
[PATCH 1/9] microblaze: irqchip: Move intc driver to irqchip Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-15 16:40 +0200
Re: [PATCH 1/9] microblaze: irqchip: Move intc driver to irqchip Jason Cooper <jason@lakedaemon.net> - 2016-08-15 17:10 +0200
Re: [PATCH 1/9] microblaze: irqchip: Move intc driver to irqchip Jason Cooper <jason@lakedaemon.net> - 2016-08-15 17:30 +0200
Re: [PATCH 1/9] microblaze: irqchip: Move intc driver to irqchip Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> - 2016-08-18 12:00 +0200
csiph-web