mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 21:29:49 +07:00
4c9847b737
Improve the binding example by removing all the leading 0x to fix the
following dtc warnings:
Warning (unit_address_format): Node /XXX unit name should not have leading "0x"
Converted using the following command:
find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} +
This is a follow up to commit 48c926cd34
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Rob Herring <robh@kernel.org>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
ST USB OHCI controller
|
|
|
|
Required properties:
|
|
|
|
- compatible : must be "st,st-ohci-300x"
|
|
- reg : physical base addresses of the controller and length of memory mapped
|
|
region
|
|
- interrupts : one OHCI controller interrupt should be described here
|
|
- clocks : phandle list of usb clocks
|
|
- clock-names : should be "ic" for interconnect clock and "clk48"
|
|
See: Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
- phys : phandle for the PHY device
|
|
- phy-names : should be "usb"
|
|
|
|
- resets : phandle to the powerdown and reset controller for the USB IP
|
|
- reset-names : should be "power" and "softreset".
|
|
See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt
|
|
See: Documentation/devicetree/bindings/reset/reset.txt
|
|
|
|
Example:
|
|
|
|
ohci0: usb@fe1ffc00 {
|
|
compatible = "st,st-ohci-300x";
|
|
reg = <0xfe1ffc00 0x100>;
|
|
interrupts = <GIC_SPI 149 IRQ_TYPE_NONE>;
|
|
clocks = <&clk_s_a1_ls 0>,
|
|
<&clockgen_b0 0>;
|
|
clock-names = "ic", "clk48";
|
|
phys = <&usb2_phy>;
|
|
phy-names = "usb";
|
|
|
|
resets = <&powerdown STIH416_USB0_POWERDOWN>,
|
|
<&softreset STIH416_USB0_SOFTRESET>;
|
|
reset-names = "power", "softreset";
|
|
};
|