Re: [PATCH 03/16] dt-bindings: fpga: machxo2-slave: add pin for program sequence init
From: Xu Yilun <yilun.xu@intel.com>
Date: 2022-08-29 07:54:53
Also in:
linux-fpga
From: Xu Yilun <yilun.xu@intel.com>
Date: 2022-08-29 07:54:53
Also in:
linux-fpga
On 2022-08-25 at 16:13:30 +0200, Johannes Zink wrote:
This commit adds a pin which initiates the FPGA programming sequence once pulsed low.
Why we don't have to use this pin before? Thanks, Yilun
Signed-off-by: Johannes Zink <redacted> --- .../devicetree/bindings/fpga/lattice,machxo2-slave.yaml | 7 +++++++ 1 file changed, 7 insertions(+)diff --git a/Documentation/devicetree/bindings/fpga/lattice,machxo2-slave.yaml b/Documentation/devicetree/bindings/fpga/lattice,machxo2-slave.yaml index 78f0da8f772f..03dc134ec7b8 100644 --- a/Documentation/devicetree/bindings/fpga/lattice,machxo2-slave.yaml +++ b/Documentation/devicetree/bindings/fpga/lattice,machxo2-slave.yaml@@ -26,6 +26,12 @@ properties: enum: - lattice,machxo2-slave-spi + program-gpios: + maxItems: 1 + description: | + GPIO Output tied to the FPGA's n_program pin to initiate a + programming sequence. This pin is active low. + lattice,erase-sram: type: boolean description: SRAM is to be erased during flash erase operation@@ -57,5 +63,6 @@ examples: reg = <0>; lattice,erase-sram; lattice,erase-feature-row; + lattice,program-gpios = <&gpio1 2 GPIO_ACTIVE_LOW> }; };-- 2.30.2