Skip to content

Commit

Permalink
rockchip: dts: rk3328: support and enable xhci
Browse files Browse the repository at this point in the history
Signed-off-by: Meng Dongyang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
Meng Dongyang authored and sjg20 committed Jun 7, 2017
1 parent 4f3a579 commit 75ff918
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/dts/rk3328-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@
&usb_host0_ohci {
status = "okay";
};

&usb_host0_xhci {
rockchip,vbus-gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
status = "okay";
};
11 changes: 11 additions & 0 deletions arch/arm/dts/rk3328.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,17 @@
status = "disabled";
};

usb_host0_xhci: usb@ff600000 {
compatible = "rockchip,rk3328-xhci";
reg = <0x0 0xff600000 0x0 0x100000>;
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
snps,dis-enblslpm-quirk;
snps,phyif-utmi-bits = <16>;
snps,dis-u2-freeclk-exists-quirk;
snps,dis-u2-susphy-quirk;
status = "disabled";
};

gic: interrupt-controller@ffb70000 {
compatible = "arm,gic-400";
#interrupt-cells = <3>;
Expand Down

0 comments on commit 75ff918

Please sign in to comment.