lkml.org 
[lkml]   [2014]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 1/3] ARM: dts: berlin2q: add the Marvell Armada 1500 pro
    On 03/18/2014 03:32 PM, Antoine Ténart wrote:
    > Adds initial support for the Marvell Armada 1500 pro (BG2Q) SoC (Berlin family).
    > The SoC has nodes for cpu, l2 cache controller, interrupt controllers, local
    > timer, apb timers and uarts for now.
    >
    > Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
    > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    > ---
    > arch/arm/boot/dts/berlin2q.dtsi | 224 ++++++++++++++++++++++++++++++++++++++++
    > 1 file changed, 224 insertions(+)
    > create mode 100644 arch/arm/boot/dts/berlin2q.dtsi
    >
    > diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
    > new file mode 100644
    > index 000000000000..aa90c273fdf2
    > --- /dev/null
    > +++ b/arch/arm/boot/dts/berlin2q.dtsi
    [...]
    > + smclk: sysmgr-clock {
    > + compatible = "fixed-clock";
    > + #clock-cells = <0>;
    > + clock-frequency = <25000000>;
    > + };
    [...]
    > + apb@fc0000 {
    > + compatible = "simple-bus";
    > + #address-cells = <1>;
    > + #size-cells = <1>;
    > +
    > + ranges = <0 0xfc0000 0x10000>;
    > + interrupt-parent = <&sic>;
    > +
    > + uart0: uart@9000 {
    > + compatible = "snps,dw-apb-uart";
    > + reg = <0x9000 0x100>;
    > + interrupt-parent = <&sic>;
    > + interrupts = <8>;
    > + clock-frequency = <25000000>;
    > + reg-shift = <2>;
    > + status = "disabled";
    > + };
    > +
    > + uart1: uart@a000 {
    > + compatible = "snps,dw-apb-uart";
    > + reg = <0xa000 0x100>;
    > + interrupt-parent = <&sic>;
    > + interrupts = <9>;
    > + clock-frequency = <25000000>;
    > + reg-shift = <2>;
    > + status = "disabled";
    > + };

    Antoine,

    I have tentatively applied this to berlin/dt with a small fixup we
    discussed on IRC:

    uart0/uart1 clock-frequency = <foo>; replaced by clocks = <&smclk>;

    For now, as I don't have a non-github repo yet, you'll find the
    branches on:

    https://github.com/shesselba/linux-berlin.git

    There is also a for-next branch that will become be part of linux/next
    as soon as I figured out how to request it being pulled.

    Sebastian

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2014-03-19 14:01    [W:2.743 / U:0.328 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site