dt-bindings: spi: rockchip-sfc: Add reset-gpios property

For Octal flash, it is possible that the pre Kenrel stage has
already been initialized to a specific IO mode in the flash.
To avoid abnormal initialization processes, it is necessary to
reset the device first.

Change-Id: I7a80aa510758697022ef2b9af7b6364e7d253ce7
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2024-03-03 14:07:42 +08:00
committed by Tao Huang
parent 37e328a6d4
commit 15bc748bda

View File

@@ -63,6 +63,7 @@ Optional properties:
- sfc-cs-gpios: specifies the gpio pins to be used for chipselects.
The gpios will be referred to as reg = <index> in the SPI child nodes.
If unspecified, a single SPI device without a chip select can be used.
- reset-gpios: specifies the reset gpio pin to be used for reseting the devices.
unevaluatedProperties: false
@@ -82,6 +83,7 @@ examples:
pinctrl-names = "default";
power-domains = <&power PX30_PD_MMC_NAND>;
sfc-cs-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>, <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
#address-cells = <1>;
#size-cells = <0>;