mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 09:36:57 +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>
32 lines
911 B
Plaintext
32 lines
911 B
Plaintext
Broadcom BCM2835 auxiliary peripheral support
|
|
|
|
This binding uses the common clock binding:
|
|
Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
The auxiliary peripherals (UART, SPI1, and SPI2) have a small register
|
|
area controlling clock gating to the peripherals, and providing an IRQ
|
|
status register.
|
|
|
|
Required properties:
|
|
- compatible: Should be "brcm,bcm2835-aux"
|
|
- #clock-cells: Should be <1>. The permitted clock-specifier values can be
|
|
found in include/dt-bindings/clock/bcm2835-aux.h
|
|
- reg: Specifies base physical address and size of the registers
|
|
- clocks: The parent clock phandle
|
|
|
|
Example:
|
|
|
|
clocks: cprman@7e101000 {
|
|
compatible = "brcm,bcm2835-cprman";
|
|
#clock-cells = <1>;
|
|
reg = <0x7e101000 0x2000>;
|
|
clocks = <&clk_osc>;
|
|
};
|
|
|
|
aux: aux@7e215004 {
|
|
compatible = "brcm,bcm2835-aux";
|
|
#clock-cells = <1>;
|
|
reg = <0x7e215000 0x8>;
|
|
clocks = <&clocks BCM2835_CLOCK_VPU>;
|
|
};
|