1*681f87ddSNick Hawkins# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*681f87ddSNick Hawkins%YAML 1.2 3*681f87ddSNick Hawkins--- 4*681f87ddSNick Hawkins$id: http://devicetree.org/schemas/i2c/hpe,gxp-i2c.yaml# 5*681f87ddSNick Hawkins$schema: http://devicetree.org/meta-schemas/core.yaml# 6*681f87ddSNick Hawkins 7*681f87ddSNick Hawkinstitle: HPE GXP SoC I2C Controller 8*681f87ddSNick Hawkins 9*681f87ddSNick Hawkinsmaintainers: 10*681f87ddSNick Hawkins - Nick Hawkins <nick.hawkins@hpe.com> 11*681f87ddSNick Hawkins 12*681f87ddSNick HawkinsallOf: 13*681f87ddSNick Hawkins - $ref: /schemas/i2c/i2c-controller.yaml# 14*681f87ddSNick Hawkins 15*681f87ddSNick Hawkinsproperties: 16*681f87ddSNick Hawkins compatible: 17*681f87ddSNick Hawkins const: hpe,gxp-i2c 18*681f87ddSNick Hawkins 19*681f87ddSNick Hawkins reg: 20*681f87ddSNick Hawkins maxItems: 1 21*681f87ddSNick Hawkins 22*681f87ddSNick Hawkins interrupts: 23*681f87ddSNick Hawkins maxItems: 1 24*681f87ddSNick Hawkins 25*681f87ddSNick Hawkins clock-frequency: 26*681f87ddSNick Hawkins default: 100000 27*681f87ddSNick Hawkins 28*681f87ddSNick Hawkins hpe,sysreg: 29*681f87ddSNick Hawkins $ref: /schemas/types.yaml#/definitions/phandle 30*681f87ddSNick Hawkins description: 31*681f87ddSNick Hawkins Phandle to the global status and enable interrupt registers shared 32*681f87ddSNick Hawkins between each I2C engine controller instance. It enables the I2C 33*681f87ddSNick Hawkins engine controller to act as both a master or slave by being able to 34*681f87ddSNick Hawkins arm and respond to interrupts from its engine. Each bit in the 35*681f87ddSNick Hawkins registers represent the respective bit position. 36*681f87ddSNick Hawkins 37*681f87ddSNick Hawkinsrequired: 38*681f87ddSNick Hawkins - compatible 39*681f87ddSNick Hawkins - reg 40*681f87ddSNick Hawkins - interrupts 41*681f87ddSNick Hawkins 42*681f87ddSNick HawkinsunevaluatedProperties: false 43*681f87ddSNick Hawkins 44*681f87ddSNick Hawkinsexamples: 45*681f87ddSNick Hawkins - | 46*681f87ddSNick Hawkins i2c@2600 { 47*681f87ddSNick Hawkins compatible = "hpe,gxp-i2c"; 48*681f87ddSNick Hawkins reg = <0x2500 0x70>; 49*681f87ddSNick Hawkins interrupts = <9>; 50*681f87ddSNick Hawkins #address-cells = <1>; 51*681f87ddSNick Hawkins #size-cells = <0>; 52*681f87ddSNick Hawkins hpe,sysreg = <&sysreg_system_controller>; 53*681f87ddSNick Hawkins clock-frequency = <10000>; 54*681f87ddSNick Hawkins 55*681f87ddSNick Hawkins eeprom@50 { 56*681f87ddSNick Hawkins compatible = "atmel,24c128"; 57*681f87ddSNick Hawkins reg = <0x50>; 58*681f87ddSNick Hawkins }; 59*681f87ddSNick Hawkins }; 60