ARM: dts: bcm2711: Add reset controller to xHCI node
The chip is hardwired to the board's PCIe bus and needs to be properly setup trough a firmware routine after a PCI fundamental reset. Pass the reset controller phandle that takes care of triggering the initialization to the relevant PCI device. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629161845.6021-5-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b03300db06
commit
258f92d2f8
1 changed files with 17 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
#include "bcm2835-rpi.dtsi"
|
#include "bcm2835-rpi.dtsi"
|
||||||
#include "bcm283x-rpi-usb-peripheral.dtsi"
|
#include "bcm283x-rpi-usb-peripheral.dtsi"
|
||||||
|
|
||||||
|
#include <dt-bindings/reset/raspberrypi,firmware-reset.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
|
compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
|
||||||
model = "Raspberry Pi 4 Model B";
|
model = "Raspberry Pi 4 Model B";
|
||||||
|
@ -212,6 +214,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pcie0 {
|
||||||
|
pci@1,0 {
|
||||||
|
#address-cells = <3>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
ranges;
|
||||||
|
|
||||||
|
reg = <0 0 0 0 0>;
|
||||||
|
|
||||||
|
usb@1,0 {
|
||||||
|
reg = <0x10000 0 0 0 0>;
|
||||||
|
resets = <&reset RASPBERRYPI_FIRMWARE_RESET_ID_USB>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
/* uart0 communicates with the BT module */
|
/* uart0 communicates with the BT module */
|
||||||
&uart0 {
|
&uart0 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
Loading…
Add table
Reference in a new issue