1*c66ec88fSEmmanuel VadotZodiac Inflight Innovations RAVE EEPROM Bindings 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM 4*c66ec88fSEmmanuel Vadotattached to RAVE Supervisory Processor. It is expected that its Device 5*c66ec88fSEmmanuel VadotTree node is specified as a child of the node corresponding to the 6*c66ec88fSEmmanuel Vadotparent RAVE SP device (as documented in 7*c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/mfd/zii,rave-sp.txt) 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotRequired properties: 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot- compatible: Should be "zii,rave-sp-eeprom" 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional properties: 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot- zii,eeprom-name: Unique EEPROM identifier describing its function in the 16*c66ec88fSEmmanuel Vadot system. Will be used as created NVMEM deivce's name. 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotData cells: 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotData cells are child nodes of eerpom node, bindings for which are 21*c66ec88fSEmmanuel Vadotdocumented in Documentation/devicetree/bindings/nvmem/nvmem.txt 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotExample: 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot rave-sp { 26*c66ec88fSEmmanuel Vadot compatible = "zii,rave-sp-rdu1"; 27*c66ec88fSEmmanuel Vadot current-speed = <38400>; 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot eeprom@a4 { 30*c66ec88fSEmmanuel Vadot compatible = "zii,rave-sp-eeprom"; 31*c66ec88fSEmmanuel Vadot reg = <0xa4 0x4000>; 32*c66ec88fSEmmanuel Vadot #address-cells = <1>; 33*c66ec88fSEmmanuel Vadot #size-cells = <1>; 34*c66ec88fSEmmanuel Vadot zii,eeprom-name = "main-eeprom"; 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot wdt_timeout: wdt-timeout@81 { 37*c66ec88fSEmmanuel Vadot reg = <0x81 2>; 38*c66ec88fSEmmanuel Vadot }; 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot } 41