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)
30 lines
924 B
Plaintext
30 lines
924 B
Plaintext
* Xtal Clock bindings for Marvell Armada 37xx SoCs
|
|
|
|
Marvell Armada 37xx SoCs allow to determine the xtal clock frequencies by
|
|
reading the gpio latch register.
|
|
|
|
This node must be a subnode of the node exposing the register address
|
|
of the GPIO block where the gpio latch is located.
|
|
See Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt
|
|
|
|
Required properties:
|
|
- compatible : shall be one of the following:
|
|
"marvell,armada-3700-xtal-clock"
|
|
- #clock-cells : from common clock binding; shall be set to 0
|
|
|
|
Optional properties:
|
|
- clock-output-names : from common clock binding; allows overwrite default clock
|
|
output names ("xtal")
|
|
|
|
Example:
|
|
pinctrl_nb: pinctrl-nb@13800 {
|
|
compatible = "armada3710-nb-pinctrl", "syscon", "simple-mfd";
|
|
reg = <0x13800 0x100>, <0x13C00 0x20>;
|
|
|
|
xtalclk: xtal-clk {
|
|
compatible = "marvell,armada-3700-xtal-clock";
|
|
clock-output-names = "xtal";
|
|
#clock-cells = <0>;
|
|
};
|
|
};
|