Lines Matching +full:spi +full:- +full:gpio
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
13 - Linus Walleij <linus.walleij@linaro.org>
16 - $ref: panel-common.yaml#
17 - $ref: /schemas/spi/spi-peripheral-props.yaml#
25 reset-gpios: true
27 vci-supply:
31 vccio-supply:
37 spi-cpha: true
39 spi-cpol: true
41 spi-max-frequency:
42 description: inherited as a SPI client node, the datasheet specifies
49 - compatible
50 - reg
51 - spi-cpha
52 - spi-cpol
53 - port
58 - |
59 #include <dt-bindings/gpio/gpio.h>
61 spi {
62 compatible = "spi-gpio";
63 sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
64 miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
65 mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
66 cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
67 num-chipselects = <1>;
68 #address-cells = <1>;
69 #size-cells = <0>;
72 spi-max-frequency = <3000000>;
73 spi-cpha;
74 spi-cpol;
76 vci-supply = <&lcd_3v0_reg>;
77 vccio-supply = <&lcd_1v8_reg>;
78 reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
83 remote-endpoint = <&display_out>;