Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
91 lines
2.0 KiB
YAML
91 lines
2.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale IOMUX Controller General Purpose Registers
|
|
|
|
maintainers:
|
|
- Peng Fan <peng.fan@nxp.com>
|
|
|
|
description:
|
|
i.MX Processors have an IOMUXC General Purpose Register group for
|
|
various System Settings
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- fsl,imx6q-iomuxc-gpr
|
|
- fsl,imx8mq-iomuxc-gpr
|
|
- const: syscon
|
|
- const: simple-mfd
|
|
- items:
|
|
- enum:
|
|
- fsl,imx6sl-iomuxc-gpr
|
|
- fsl,imx6sll-iomuxc-gpr
|
|
- fsl,imx6ul-iomuxc-gpr
|
|
- const: fsl,imx6q-iomuxc-gpr
|
|
- const: syscon
|
|
- items:
|
|
- enum:
|
|
- fsl,imx6sx-iomuxc-gpr
|
|
- fsl,imx7d-iomuxc-gpr
|
|
- const: fsl,imx6q-iomuxc-gpr
|
|
- const: syscon
|
|
- const: simple-mfd
|
|
- items:
|
|
- enum:
|
|
- fsl,imx53-iomuxc-gpr
|
|
- fsl,imx8mm-iomuxc-gpr
|
|
- fsl,imx8mn-iomuxc-gpr
|
|
- fsl,imx8mp-iomuxc-gpr
|
|
- const: syscon
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
mux-controller:
|
|
type: object
|
|
$ref: /schemas/mux/reg-mux.yaml
|
|
|
|
patternProperties:
|
|
"^ipu[12]_csi[01]_mux$":
|
|
type: object
|
|
$ref: /schemas/media/video-mux.yaml
|
|
|
|
allOf:
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
not:
|
|
contains:
|
|
const: fsl,imx6q-iomuxc-gpr
|
|
then:
|
|
patternProperties:
|
|
'^ipu[12]_csi[01]_mux$': false
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
examples:
|
|
# Pinmux controller node
|
|
- |
|
|
iomuxc_gpr: syscon@30340000 {
|
|
compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd";
|
|
reg = <0x30340000 0x10000>;
|
|
|
|
mux: mux-controller {
|
|
compatible = "mmio-mux";
|
|
#mux-control-cells = <1>;
|
|
mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */
|
|
};
|
|
};
|
|
|
|
...
|