1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*b2d2a78aSEmmanuel Vadot%YAML 1.2 3*b2d2a78aSEmmanuel Vadot--- 4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/board/fsl,fpga-qixis-i2c.yaml# 5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*b2d2a78aSEmmanuel Vadot 7*b2d2a78aSEmmanuel Vadottitle: Freescale on-board FPGA connected on I2C bus 8*b2d2a78aSEmmanuel Vadot 9*b2d2a78aSEmmanuel Vadotmaintainers: 10*b2d2a78aSEmmanuel Vadot - Frank Li <Frank.Li@nxp.com> 11*b2d2a78aSEmmanuel Vadot 12*b2d2a78aSEmmanuel Vadotproperties: 13*b2d2a78aSEmmanuel Vadot compatible: 14*b2d2a78aSEmmanuel Vadot oneOf: 15*b2d2a78aSEmmanuel Vadot - items: 16*b2d2a78aSEmmanuel Vadot - enum: 17*b2d2a78aSEmmanuel Vadot - fsl,bsc9132qds-fpga 18*b2d2a78aSEmmanuel Vadot - const: fsl,fpga-qixis-i2c 19*b2d2a78aSEmmanuel Vadot - items: 20*b2d2a78aSEmmanuel Vadot - enum: 21*b2d2a78aSEmmanuel Vadot - fsl,ls1028aqds-fpga 22*b2d2a78aSEmmanuel Vadot - fsl,lx2160aqds-fpga 23*b2d2a78aSEmmanuel Vadot - const: fsl,fpga-qixis-i2c 24*b2d2a78aSEmmanuel Vadot - const: simple-mfd 25*b2d2a78aSEmmanuel Vadot 26*b2d2a78aSEmmanuel Vadot interrupts: 27*b2d2a78aSEmmanuel Vadot maxItems: 1 28*b2d2a78aSEmmanuel Vadot 29*b2d2a78aSEmmanuel Vadot reg: 30*b2d2a78aSEmmanuel Vadot maxItems: 1 31*b2d2a78aSEmmanuel Vadot 32*b2d2a78aSEmmanuel Vadot mux-controller: 33*b2d2a78aSEmmanuel Vadot $ref: /schemas/mux/reg-mux.yaml 34*b2d2a78aSEmmanuel Vadot 35*b2d2a78aSEmmanuel Vadotrequired: 36*b2d2a78aSEmmanuel Vadot - compatible 37*b2d2a78aSEmmanuel Vadot - reg 38*b2d2a78aSEmmanuel Vadot 39*b2d2a78aSEmmanuel VadotadditionalProperties: false 40*b2d2a78aSEmmanuel Vadot 41*b2d2a78aSEmmanuel Vadotexamples: 42*b2d2a78aSEmmanuel Vadot - | 43*b2d2a78aSEmmanuel Vadot i2c { 44*b2d2a78aSEmmanuel Vadot #address-cells = <1>; 45*b2d2a78aSEmmanuel Vadot #size-cells = <0>; 46*b2d2a78aSEmmanuel Vadot 47*b2d2a78aSEmmanuel Vadot board-control@66 { 48*b2d2a78aSEmmanuel Vadot compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; 49*b2d2a78aSEmmanuel Vadot reg = <0x66>; 50*b2d2a78aSEmmanuel Vadot }; 51*b2d2a78aSEmmanuel Vadot }; 52*b2d2a78aSEmmanuel Vadot 53*b2d2a78aSEmmanuel Vadot - | 54*b2d2a78aSEmmanuel Vadot i2c { 55*b2d2a78aSEmmanuel Vadot #address-cells = <1>; 56*b2d2a78aSEmmanuel Vadot #size-cells = <0>; 57*b2d2a78aSEmmanuel Vadot 58*b2d2a78aSEmmanuel Vadot board-control@66 { 59*b2d2a78aSEmmanuel Vadot compatible = "fsl,ls1028aqds-fpga", "fsl,fpga-qixis-i2c", 60*b2d2a78aSEmmanuel Vadot "simple-mfd"; 61*b2d2a78aSEmmanuel Vadot reg = <0x66>; 62*b2d2a78aSEmmanuel Vadot 63*b2d2a78aSEmmanuel Vadot mux-controller { 64*b2d2a78aSEmmanuel Vadot compatible = "reg-mux"; 65*b2d2a78aSEmmanuel Vadot #mux-control-cells = <1>; 66*b2d2a78aSEmmanuel Vadot mux-reg-masks = <0x54 0xf0>; /* 0: reg 0x54, bits 7:4 */ 67*b2d2a78aSEmmanuel Vadot }; 68*b2d2a78aSEmmanuel Vadot }; 69*b2d2a78aSEmmanuel Vadot }; 70*b2d2a78aSEmmanuel Vadot 71