1Renesas AHB to PCI bridge 2------------------------- 3 4This is the bridge used internally to connect the USB controllers to the 5AHB. There is one bridge instance per USB port connected to the internal 6OHCI and EHCI controllers. 7 8Required properties: 9- compatible: "renesas,pci-r8a7743" for the R8A7743 SoC; 10 "renesas,pci-r8a7745" for the R8A7745 SoC; 11 "renesas,pci-r8a7790" for the R8A7790 SoC; 12 "renesas,pci-r8a7791" for the R8A7791 SoC; 13 "renesas,pci-r8a7793" for the R8A7793 SoC; 14 "renesas,pci-r8a7794" for the R8A7794 SoC; 15 "renesas,pci-rcar-gen2" for a generic R-Car Gen2 or 16 RZ/G1 compatible device. 17 18 19 When compatible with the generic version, nodes must list the 20 SoC-specific version corresponding to the platform first 21 followed by the generic version. 22 23- reg: A list of physical regions to access the device: the first is 24 the operational registers for the OHCI/EHCI controllers and the 25 second is for the bridge configuration and control registers. 26- interrupts: interrupt for the device. 27- clocks: The reference to the device clock. 28- bus-range: The PCI bus number range; as this is a single bus, the range 29 should be specified as the same value twice. 30- #address-cells: must be 3. 31- #size-cells: must be 2. 32- #interrupt-cells: must be 1. 33- interrupt-map: standard property used to define the mapping of the PCI 34 interrupts to the GIC interrupts. 35- interrupt-map-mask: standard property that helps to define the interrupt 36 mapping. 37 38Optional properties: 39- dma-ranges: a single range for the inbound memory region. If not supplied, 40 defaults to 1GiB at 0x40000000. Note there are hardware restrictions on the 41 allowed combinations of address and size. 42 43Example SoC configuration: 44 45 pci0: pci@ee090000 { 46 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2"; 47 clocks = <&mstp7_clks R8A7790_CLK_EHCI>; 48 reg = <0x0 0xee090000 0x0 0xc00>, 49 <0x0 0xee080000 0x0 0x1100>; 50 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; 51 status = "disabled"; 52 53 bus-range = <0 0>; 54 #address-cells = <3>; 55 #size-cells = <2>; 56 #interrupt-cells = <1>; 57 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>; 58 interrupt-map-mask = <0xff00 0 0 0x7>; 59 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH 60 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH 61 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; 62 63 usb@1,0 { 64 reg = <0x800 0 0 0 0>; 65 phys = <&usb0 0>; 66 phy-names = "usb"; 67 }; 68 69 usb@2,0 { 70 reg = <0x1000 0 0 0 0>; 71 phys = <&usb0 0>; 72 phy-names = "usb"; 73 }; 74 }; 75 76Example board setup: 77 78&pci0 { 79 status = "okay"; 80 pinctrl-0 = <&usb0_pins>; 81 pinctrl-names = "default"; 82}; 83