aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorZixian Zeng <sycamoremoon376@gmail.com>2025-05-25 22:58:41 +0800
committerMark Brown <broonie@kernel.org>2025-05-27 14:15:42 +0100
commit8450f1e0d3d0e0b200eb14d14dfb8ef5ddb9bda9 (patch)
tree4dc3b023ed8dc28879020b9b2583ba49f650bb68 /Documentation/devicetree
parentspi: spi-pci1xxxx: Fix Probe failure with Dual SPI instance with INTx interrupts (diff)
downloadlinux-rng-8450f1e0d3d0e0b200eb14d14dfb8ef5ddb9bda9.tar.xz
linux-rng-8450f1e0d3d0e0b200eb14d14dfb8ef5ddb9bda9.zip
spi: dt-bindings: spi-sg2044-nor: Add SOPHGO SG2042
Add bindings for the SOPHGO SG2042 SPI-NOR flash controller, which is compatible with SOPHGO SG2044. Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Chen Wang <unicorn_wang@outlook.com> Link: https://patch.msgid.link/20250525-sfg-spifmc-v2-1-a3732b6f5ab4@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml b/Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml
index 948ff7a09643..66e54dedab14 100644
--- a/Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml
@@ -14,7 +14,12 @@ allOf:
properties:
compatible:
- const: sophgo,sg2044-spifmc-nor
+ oneOf:
+ - const: sophgo,sg2044-spifmc-nor
+ - items:
+ - enum:
+ - sophgo,sg2042-spifmc-nor
+ - const: sophgo,sg2044-spifmc-nor
reg:
maxItems: 1