mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +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>
35 lines
1011 B
Plaintext
35 lines
1011 B
Plaintext
Device Tree Clock bindings for ZTE zx296702
|
|
|
|
This binding uses the common clock binding[1].
|
|
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
Required properties:
|
|
- compatible : shall be one of the following:
|
|
"zte,zx296702-topcrm-clk":
|
|
zx296702 top clock selection, divider and gating
|
|
|
|
"zte,zx296702-lsp0crpm-clk" and
|
|
"zte,zx296702-lsp1crpm-clk":
|
|
zx296702 device level clock selection and gating
|
|
|
|
- reg: Address and length of the register set
|
|
|
|
The clock consumer should specify the desired clock by having the clock
|
|
ID in its "clocks" phandle cell. See include/dt-bindings/clock/zx296702-clock.h
|
|
for the full list of zx296702 clock IDs.
|
|
|
|
|
|
topclk: topcrm@09800000 {
|
|
compatible = "zte,zx296702-topcrm-clk";
|
|
reg = <0x09800000 0x1000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
uart0: serial@09405000 {
|
|
compatible = "zte,zx296702-uart";
|
|
reg = <0x09405000 0x1000>;
|
|
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&lsp1clk ZX296702_UART0_PCLK>;
|
|
};
|