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