xref: /freebsd/sys/contrib/device-tree/Bindings/net/marvell,prestera.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1Marvell Prestera Switch Chip bindings
2-------------------------------------
3
4Required properties:
5- compatible: must be "marvell,prestera" and one of the following
6	"marvell,prestera-98dx3236",
7	"marvell,prestera-98dx3336",
8	"marvell,prestera-98dx4251",
9- reg: address and length of the register set for the device.
10- interrupts: interrupt for the device
11
12Optional properties:
13- dfx: phandle reference to the "DFX Server" node
14
15Example:
16
17switch {
18	compatible = "simple-bus";
19	#address-cells = <1>;
20	#size-cells = <1>;
21	ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>;
22
23	packet-processor@0 {
24		compatible = "marvell,prestera-98dx3236", "marvell,prestera";
25		reg = <0 0x4000000>;
26		interrupts = <33>, <34>, <35>;
27		dfx = <&dfx>;
28	};
29};
30
31DFX Server bindings
32-------------------
33
34Required properties:
35- compatible: must be "marvell,dfx-server", "simple-bus"
36- ranges: describes the address mapping of a memory-mapped bus.
37- reg: address and length of the register set for the device.
38
39Example:
40
41dfx-server {
42	compatible = "marvell,dfx-server", "simple-bus";
43	#address-cells = <1>;
44	#size-cells = <1>;
45	ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>;
46	reg = <MBUS_ID(0x08, 0x00) 0 0x100000>;
47};
48