1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 # Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: OLPC XO-1.75 Embedded Controller bindings
11 This binding describes the Embedded Controller acting as a SPI bus master
12 on a OLPC XO-1.75 laptop computer.
14 The embedded controller requires the SPI controller driver to signal
15 readiness to receive a transfer (that is, when TX FIFO contains the
16 response data) by strobing the ACK pin with the ready signal. See the
17 "ready-gpios" property of the SSP binding as documented in:
18 <Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>.
21 - Lubomir Rintel <lkundrak@v3.sk>
28 description: GPIO uspecifier of the CMD pin
37 additionalProperties: false
41 #include <dt-bindings/gpio/gpio.h>
47 ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
50 compatible = "olpc,xo1.75-ec";
52 cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>;