1 Generic register bitfield-based multiplexer controller bindings
3 Define register bitfields to be used to control multiplexers. The parent
4 device tree node must be a device node to provide register r/w access.
7 - compatible : should be one of
8 "reg-mux" : if parent device of mux controller is not syscon device
9 "mmio-mux" : if parent device of mux controller is syscon device
10 - #mux-control-cells : <1>
11 - mux-reg-masks : an array of register offset and pre-shifted bitfield mask
12 pairs, each describing a single mux control.
13 * Standard mux-controller bindings as decribed in mux-controller.txt
16 - idle-states : if present, the state the muxes will have when idle. The
17 special state MUX_IDLE_AS_IS is the default.
19 The multiplexer state of each multiplexer is defined as the value of the
20 bitfield described by the corresponding register offset and bitfield mask
21 pair in the mux-reg-masks array.
24 The parent device of mux controller is not a syscon device.
27 fpga@66 { // fpga connected to i2c
28 compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c",
33 compatible = "reg-mux";
34 #mux-control-cells = <1>;
35 mux-reg-masks = <0x54 0xf8>, /* 0: reg 0x54, bits 7:3 */
36 <0x54 0x07>; /* 1: reg 0x54, bits 2:0 */
42 compatible = "mdio-mux-multiplexer";
43 mux-controls = <&mux 0>;
44 mdio-parent-bus = <&emdio1>;
65 compatible = "mdio-mux-multiplexer";
66 mux-controls = <&mux 1>;
67 mdio-parent-bus = <&emdio2>;
88 The parent device of mux controller is syscon device.
91 compatible = "syscon";
94 compatible = "mmio-mux";
95 #mux-control-cells = <1>;
97 mux-reg-masks = <0x3 0x30>, /* 0: reg 0x3, bits 5:4 */
98 <0x3 0x40>, /* 1: reg 0x3, bit 6 */
99 idle-states = <MUX_IDLE_AS_IS>, <0>;
104 compatible = "video-mux";
105 mux-controls = <&mux 0>;
106 #address-cells = <1>;