| Chrome OS CROS_EC Binding |
| The device tree node which describes the operation of the CROS_EC interface |
| - compatible = "google,cros-ec" |
| - spi-max-frequency : Sets the maximum frequency (in Hz) for SPI bus |
| - i2c-max-frequency : Sets the maximum frequency (in Hz) for I2C bus |
| - ec-interrupt : Selects the EC interrupt, defined as a GPIO according |
| - optimise-flash-write : Boolean property - if present then flash blocks |
| containing all 0xff will not be written, since we assume that the EC |
| uses that pattern for erased blocks |
| The CROS_EC node should appear as a subnode of the interrupt that connects it |
| to the EC (e.g. i2c, spi, lpc). The reg property (as usual) will indicate |
| the unit address on that bus. |
| compatible = "google,cros-ec"; |
| spi-max-frequency = <5000000>; |
| ec-interrupt = <&gpio 174 1>; |