lkml.org 
[lkml]   [2014]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 11/12] ARM: dts: berlin: add BG2CD nodes for USB support
    Date
    From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

    Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD
    SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role
    capable.

    Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
    ---
    arch/arm/boot/dts/berlin2cd.dtsi | 34 ++++++++++++++++++++++++++++++++++
    1 file changed, 34 insertions(+)

    diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi
    index 68f7032b4686..5c6950531327 100644
    --- a/arch/arm/boot/dts/berlin2cd.dtsi
    +++ b/arch/arm/boot/dts/berlin2cd.dtsi
    @@ -66,6 +66,22 @@
    clocks = <&chip CLKID_TWD>;
    };

    + usb_phy0: usb-phy@b74000 {
    + compatible = "marvell,berlin2cd-usb-phy";
    + reg = <0xb74000 0x128>;
    + #phy-cells = <0>;
    + resets = <&chip 0x178 23>;
    + status = "disabled";
    + };
    +
    + usb_phy1: usb-phy@b78000 {
    + compatible = "marvell,berlin2cd-usb-phy";
    + reg = <0xb78000 0x128>;
    + #phy-cells = <0>;
    + resets = <&chip 0x178 24>;
    + status = "disabled";
    + };
    +
    apb@e80000 {
    compatible = "simple-bus";
    #address-cells = <1>;
    @@ -242,6 +258,24 @@
    };
    };

    + usb0: usb@ed0000 {
    + compatible = "chipidea,usb2";
    + reg = <0xed0000 0x200>;
    + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
    + clocks = <&chip CLKID_USB0>;
    + usb-phy = <&usb_phy0>;
    + status = "disabled";
    + };
    +
    + usb1: usb@ee0000 {
    + compatible = "chipidea,usb2";
    + reg = <0xee0000 0x200>;
    + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
    + clocks = <&chip CLKID_USB1>;
    + usb-phy = <&usb_phy1>;
    + status = "disabled";
    + };
    +
    apb@fc0000 {
    compatible = "simple-bus";
    #address-cells = <1>;
    --
    1.9.1
    --
    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-07-16 11:01    [W:3.251 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site