]> Pileus Git - ~andy/linux/commitdiff
ARM: dts: add usb udc support to bcm281xx
authorMatt Porter <mporter@linaro.org>
Thu, 19 Dec 2013 14:23:10 +0000 (09:23 -0500)
committerChristian Daudt <bcm@fixthebug.org>
Mon, 23 Dec 2013 08:14:11 +0000 (00:14 -0800)
Adds USB OTG/PHY and clock support to BCM281xx and enables
UDC support on the bcm11351-brt and bcm28155-ap boards.

Signed-off-by: Matt Porter <mporter@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Signed-off-by: Christian Daudt <bcm@fixthebug.org>
arch/arm/boot/dts/bcm11351-brt.dts
arch/arm/boot/dts/bcm11351.dtsi
arch/arm/boot/dts/bcm28155-ap.dts

index 23cd16d736bf782f0be04f6e8413462ac8e60f86..396b70459cdc0b62eb68ae84fae87bdd6a77baa3 100644 (file)
                status = "okay";
        };
 
                status = "okay";
        };
 
+       usbotg: usb@3f120000 {
+               status = "okay";
+       };
 
 
+       usbphy: usb-phy@3f130000 {
+               status = "okay";
+       };
 };
 };
index 4bfd7e3d71626955a3879adfe4aa240ca09bfc66..375a2f8eb8784e6583072d0b002973c6e7bb2172 100644 (file)
                        #clock-cells = <0>;
                };
        };
                        #clock-cells = <0>;
                };
        };
+
+       usbotg: usb@3f120000 {
+               compatible = "snps,dwc2";
+               reg = <0x3f120000 0x10000>;
+               interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&usb_otg_ahb_clk>;
+               clock-names = "otg";
+               phys = <&usbphy>;
+               phy-names = "usb2-phy";
+               status = "disabled";
+       };
+
+       usbphy: usb-phy@3f130000 {
+               compatible = "brcm,kona-usb2-phy";
+               reg = <0x3f130000 0x28>;
+               #phy-cells = <0>;
+               status = "disabled";
+       };
 };
 };
index bab302d0585622537fb9632fa9251ff9eaad4f0c..c7fa9fbb999cf6452e8d312396d9a10bcf0545ac 100644 (file)
                cd-gpios = <&gpio 14 0>;
                status = "okay";
        };
                cd-gpios = <&gpio 14 0>;
                status = "okay";
        };
+
+       usbotg: usb@3f120000 {
+               status = "okay";
+       };
+
+       usbphy: usb-phy@3f130000 {
+               status = "okay";
+       };
 };
 };