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)
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
TI SoC Davinci/Keystone2 MDIO Controller Device Tree Bindings
|
|
---------------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible : Should be "ti,davinci_mdio"
|
|
and "ti,keystone_mdio" for Keystone 2 SoCs
|
|
and "ti,cpsw-mdio" for am335x, am472x, am57xx/dra7, dm814x SoCs
|
|
and "ti,am4372-mdio" for am472x SoC
|
|
- reg : physical base address and size of the davinci mdio
|
|
registers map
|
|
- bus_freq : Mdio Bus frequency
|
|
|
|
Optional properties:
|
|
- ti,hwmods : Must be "davinci_mdio"
|
|
|
|
Note: "ti,hwmods" field is used to fetch the base address and irq
|
|
resources from TI, omap hwmod data base during device registration.
|
|
Future plan is to migrate hwmod data base contents into device tree
|
|
blob so that, all the required data will be used from device tree dts
|
|
file.
|
|
|
|
Examples:
|
|
|
|
mdio: davinci_mdio@4A101000 {
|
|
compatible = "ti,davinci_mdio";
|
|
reg = <0x4A101000 0x1000>;
|
|
bus_freq = <1000000>;
|
|
};
|
|
|
|
(or)
|
|
|
|
mdio: davinci_mdio@4A101000 {
|
|
compatible = "ti,davinci_mdio";
|
|
ti,hwmods = "davinci_mdio";
|
|
bus_freq = <1000000>;
|
|
};
|