lkml.org 
[lkml]   [2018]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v4 4/6] MIPS: mscc: add ocelot PCB123 device tree
    From
    Date
    Hello!

    On 3/3/2018 1:48 AM, Alexandre Belloni wrote:

    > Add a device tree for the Microsemi Ocelot PCB123 evaluation board.
    >
    > Cc: Rob Herring <robh+dt@kernel.org>
    > Cc: devicetree@vger.kernel.org
    > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
    [...]
    > diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts
    > new file mode 100644
    > index 000000000000..42bd404471f6
    > --- /dev/null
    > +++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts
    > @@ -0,0 +1,27 @@
    > +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
    > +/* Copyright (c) 2017 Microsemi Corporation */
    > +
    > +/dts-v1/;
    > +
    > +#include "ocelot.dtsi"
    > +
    > +/ {
    > + compatible = "mscc,ocelot-pcb123", "mscc,ocelot";
    > +
    > + chosen {
    > + stdout-path = "serial0:115200n8";
    > + };
    > +
    > + memory {

    Needs to be "memory@0" as you have the "regs" prop.

    > + device_type = "memory";
    > + reg = <0x0 0x0e000000>;
    > + };
    > +};
    [...]

    MBR, Sergei

    \
     
     \ /
      Last update: 2018-03-03 09:35    [W:3.235 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site