mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
35a647f12c
Rather than having a separate node for the dfx server add a reg property to the parent node. This give some compatibility with the Marvell supplied SDK. As no upstream driver currently exists for this block and support for this SoC is still quite fresh in the kernel it should not be necessary to retain a backwards compatible binding. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
Marvell Prestera Switch Chip bindings
|
|
-------------------------------------
|
|
|
|
Required properties:
|
|
- compatible: one of the following
|
|
"marvell,prestera-98dx3236",
|
|
"marvell,prestera-98dx3336",
|
|
"marvell,prestera-98dx4251",
|
|
- reg: address and length of the register set for the device.
|
|
- interrupts: interrupt for the device
|
|
|
|
Optional properties:
|
|
- dfx: phandle reference to the "DFX Server" node
|
|
|
|
Example:
|
|
|
|
switch {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>;
|
|
|
|
packet-processor@0 {
|
|
compatible = "marvell,prestera-98dx3236";
|
|
reg = <0 0x4000000>;
|
|
interrupts = <33>, <34>, <35>;
|
|
dfx = <&dfx>;
|
|
};
|
|
};
|
|
|
|
DFX Server bindings
|
|
-------------------
|
|
|
|
Required properties:
|
|
- compatible: must be "marvell,dfx-server", "simple-bus"
|
|
- ranges: describes the address mapping of a memory-mapped bus.
|
|
- reg: address and length of the register set for the device.
|
|
|
|
Example:
|
|
|
|
dfx-server {
|
|
compatible = "marvell,dfx-server", "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>;
|
|
reg = <MBUS_ID(0x08, 0x00) 0 0x100000>;
|
|
};
|