Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
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>;
|
|
};
|