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)
27 lines
746 B
Plaintext
27 lines
746 B
Plaintext
Mediatek Gigabit Switch
|
|
=======================
|
|
|
|
The mediatek gigabit switch can be found on Mediatek SoCs (mt7620, mt7621).
|
|
|
|
Required properties:
|
|
- compatible: Should be "mediatek,mt7620-gsw" or "mediatek,mt7621-gsw"
|
|
- reg: Address and length of the register set for the device
|
|
- interrupt-parent: Should be the phandle for the interrupt controller
|
|
that services interrupts for this device
|
|
- interrupts: Should contain the gigabit switches interrupt
|
|
- resets: Should contain the gigabit switches resets
|
|
- reset-names: Should contain the reset names "gsw"
|
|
|
|
Example:
|
|
|
|
gsw@10110000 {
|
|
compatible = "ralink,mt7620-gsw";
|
|
reg = <0x10110000 8000>;
|
|
|
|
resets = <&rstctrl 23>;
|
|
reset-names = "gsw";
|
|
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <17>;
|
|
};
|