18c2ecf20Sopenharmony_ciZodiac Inflight Innovations RAVE EEPROM Bindings
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM
48c2ecf20Sopenharmony_ciattached to RAVE Supervisory Processor. It is expected that its Device
58c2ecf20Sopenharmony_ciTree node is specified as a child of the node corresponding to the
68c2ecf20Sopenharmony_ciparent RAVE SP device (as documented in
78c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/mfd/zii,rave-sp.txt)
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciRequired properties:
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci- compatible: Should be "zii,rave-sp-eeprom"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciOptional properties:
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci- zii,eeprom-name: Unique EEPROM identifier describing its function in the
168c2ecf20Sopenharmony_ci  system. Will be used as created NVMEM deivce's name.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciData cells:
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciData cells are child nodes of eerpom node, bindings for which are
218c2ecf20Sopenharmony_cidocumented in Documentation/devicetree/bindings/nvmem/nvmem.txt
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciExample:
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	rave-sp {
268c2ecf20Sopenharmony_ci		compatible = "zii,rave-sp-rdu1";
278c2ecf20Sopenharmony_ci		current-speed = <38400>;
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci		eeprom@a4 {
308c2ecf20Sopenharmony_ci			compatible = "zii,rave-sp-eeprom";
318c2ecf20Sopenharmony_ci			reg = <0xa4 0x4000>;
328c2ecf20Sopenharmony_ci			#address-cells = <1>;
338c2ecf20Sopenharmony_ci			#size-cells = <1>;
348c2ecf20Sopenharmony_ci			zii,eeprom-name = "main-eeprom";
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci			wdt_timeout: wdt-timeout@81 {
378c2ecf20Sopenharmony_ci				reg = <0x81 2>;
388c2ecf20Sopenharmony_ci			};
398c2ecf20Sopenharmony_ci		};
408c2ecf20Sopenharmony_ci	}
41