Skip to content

Commit 8450f1e

Browse files
sycamoremoonbroonie
authored andcommitted
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>
1 parent b4608e9 commit 8450f1e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ allOf:
1414

1515
properties:
1616
compatible:
17-
const: sophgo,sg2044-spifmc-nor
17+
oneOf:
18+
- const: sophgo,sg2044-spifmc-nor
19+
- items:
20+
- enum:
21+
- sophgo,sg2042-spifmc-nor
22+
- const: sophgo,sg2044-spifmc-nor
1823

1924
reg:
2025
maxItems: 1

0 commit comments

Comments
 (0)