Lines Matching +full:mdio +full:- +full:parent +full:- +full:bus
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mux/reg-mux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic register bitfield-based multiplexer controller
10 - Peter Rosin <peda@axentia.se>
13 Define register bitfields to be used to control multiplexers. The parent
19 - reg-mux # parent device of mux controller is not syscon device
20 - mmio-mux # parent device of mux controller is syscon device
24 '#mux-control-cells':
27 mux-reg-masks:
28 $ref: /schemas/types.yaml#/definitions/uint32-matrix
31 - description: register offset
32 - description: pre-shifted bitfield mask
35 idle-states: true
38 - compatible
39 - mux-reg-masks
40 - '#mux-control-cells'
45 - |
46 /* The parent device of mux controller is not a syscon device. */
48 #include <dt-bindings/mux/mux.h>
50 mux-controller {
51 compatible = "reg-mux";
52 #mux-control-cells = <1>;
53 mux-reg-masks =
58 mdio-mux-1 {
59 compatible = "mdio-mux-multiplexer";
60 mux-controls = <&mux1 0>;
61 mdio-parent-bus = <&emdio1>;
62 #address-cells = <1>;
63 #size-cells = <0>;
65 mdio@0 {
67 #address-cells = <1>;
68 #size-cells = <0>;
71 mdio@8 {
73 #address-cells = <1>;
74 #size-cells = <0>;
78 mdio-mux-2 {
79 compatible = "mdio-mux-multiplexer";
80 mux-controls = <&mux1 1>;
81 mdio-parent-bus = <&emdio2>;
82 #address-cells = <1>;
83 #size-cells = <0>;
85 mdio@0 {
87 #address-cells = <1>;
88 #size-cells = <0>;
91 mdio@1 {
93 #address-cells = <1>;
94 #size-cells = <0>;
98 - |
99 /* The parent device of mux controller is syscon device. */
101 #include <dt-bindings/mux/mux.h>
105 mux2: mux-controller {
106 compatible = "mmio-mux";
107 #mux-control-cells = <1>;
109 mux-reg-masks =
112 idle-states = <MUX_IDLE_AS_IS>, <0>;
116 video-mux {
117 compatible = "video-mux";
118 mux-controls = <&mux2 0>;
119 #address-cells = <1>;
120 #size-cells = <0>;
123 #address-cells = <1>;
124 #size-cells = <0>;