mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00
arm64: dts: broadcom: bcm4908: describe USB PHY
BCM4908 uses slightly modified STB family USB PHY. It handles OHCI/EHCI and XHCI. It requires powering up using the PMB. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
fe07bfda2f
commit
3c321ba794
3 changed files with 55 additions and 4 deletions
|
@ -26,6 +26,23 @@
|
|||
};
|
||||
};
|
||||
|
||||
&usb_phy {
|
||||
brcm,ioc = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&xhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nandcs {
|
||||
nand-ecc-strength = <4>;
|
||||
nand-ecc-step-size = <512>;
|
||||
|
|
|
@ -44,6 +44,23 @@
|
|||
};
|
||||
};
|
||||
|
||||
&usb_phy {
|
||||
brcm,ioc = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&xhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ports {
|
||||
port@0 {
|
||||
label = "lan2";
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/phy/phy.h>
|
||||
#include <dt-bindings/soc/bcm-pmb.h>
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
|
@ -110,24 +112,39 @@
|
|||
#size-cells = <1>;
|
||||
ranges = <0x00 0x00 0x80000000 0x281000>;
|
||||
|
||||
usb@c300 {
|
||||
usb_phy: usb-phy@c200 {
|
||||
compatible = "brcm,bcm4908-usb-phy";
|
||||
reg = <0xc200 0x100>;
|
||||
reg-names = "ctrl";
|
||||
power-domains = <&pmb BCM_PMB_HOST_USB>;
|
||||
dr_mode = "host";
|
||||
brcm,has-xhci;
|
||||
brcm,has-eohci;
|
||||
#phy-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ehci: usb@c300 {
|
||||
compatible = "generic-ehci";
|
||||
reg = <0xc300 0x100>;
|
||||
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
||||
phys = <&usb_phy PHY_TYPE_USB2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
usb@c400 {
|
||||
ohci: usb@c400 {
|
||||
compatible = "generic-ohci";
|
||||
reg = <0xc400 0x100>;
|
||||
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
|
||||
phys = <&usb_phy PHY_TYPE_USB2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
usb@d000 {
|
||||
xhci: usb@d000 {
|
||||
compatible = "generic-xhci";
|
||||
reg = <0xd000 0x8c8>;
|
||||
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
|
||||
phys = <&usb_phy PHY_TYPE_USB3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -222,7 +239,7 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
power-controller@2800c0 {
|
||||
pmb: power-controller@2800c0 {
|
||||
compatible = "brcm,bcm4908-pmb";
|
||||
reg = <0x2800c0 0x40>;
|
||||
#power-domain-cells = <1>;
|
||||
|
|
Loading…
Add table
Reference in a new issue