Unverified Commit 8d0d27a7 authored by Marcus Folkesson's avatar Marcus Folkesson Committed by Javier Martinez Canillas
Browse files

dt-bindings: display: sitronix,st7571: add example for SPI

parent 052039e3
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -76,3 +76,28 @@ examples:
        };
      };
    };

    spi {
      #address-cells = <1>;
      #size-cells = <0>;

      display@0 {
        compatible = "sitronix,st7571";
        reg = <0>;
        reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
        width-mm = <37>;
        height-mm = <27>;

        panel-timing {
          hactive = <128>;
          vactive = <96>;
          hback-porch = <0>;
          vback-porch = <0>;
          clock-frequency = <0>;
          hfront-porch = <0>;
          hsync-len = <0>;
          vfront-porch = <0>;
          vsync-len = <0>;
        };
      };
    };