2017-01-29 23:20:34 +00:00
|
|
|
Marvell Prestera Switch Chip bindings
|
|
|
|
-------------------------------------
|
|
|
|
|
|
|
|
Required properties:
|
2018-09-07 00:59:25 +00:00
|
|
|
- compatible: must be "marvell,prestera" and one of the following
|
2017-01-29 23:20:34 +00:00
|
|
|
"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 {
|
2018-09-07 00:59:25 +00:00
|
|
|
compatible = "marvell,prestera-98dx3236", "marvell,prestera";
|
2017-01-29 23:20:34 +00:00
|
|
|
reg = <0 0x4000000>;
|
|
|
|
interrupts = <33>, <34>, <35>;
|
|
|
|
dfx = <&dfx>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
DFX Server bindings
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
Required properties:
|
2017-02-16 08:50:36 +00:00
|
|
|
- compatible: must be "marvell,dfx-server", "simple-bus"
|
|
|
|
- ranges: describes the address mapping of a memory-mapped bus.
|
2017-01-29 23:20:34 +00:00
|
|
|
- reg: address and length of the register set for the device.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2017-02-16 08:50:36 +00:00
|
|
|
dfx-server {
|
|
|
|
compatible = "marvell,dfx-server", "simple-bus";
|
2017-01-29 23:20:34 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>;
|
2017-02-16 08:50:36 +00:00
|
|
|
reg = <MBUS_ID(0x08, 0x00) 0 0x100000>;
|
2017-01-29 23:20:34 +00:00
|
|
|
};
|