working 50 MHz

Signed-off-by: Heinrich Toews <ht@twx-software.de>
This commit is contained in:
Heinrich Toews
2026-02-19 18:06:04 +01:00
parent 94b0440bc4
commit 244531efd2
@@ -190,28 +190,24 @@
compatible = "jedec,spi-nor";
reg = <0x0>;
/* Target frequency for stable operation */
spi-max-frequency = <10000000>;
/* 50 MHz Target for high stability */
spi-max-frequency = <50000000>;
/* Hybrid mode configuration:
* Fast Octal Read (8 lines) / Reliable Single Write (1 line)
*/
spi-rx-bus-width = <8>;
spi-tx-bus-width = <8>;
/* PHY mode usually not required for <= 50MHz */
/* cdns,phy-mode; */
/* Cadence OSPI timing tuning */
/* Set to 0 if JEDEC ID is read correctly,
increase to 1 or 2 if ID 'garbage' appears */
/* Standard read delay for 50MHz */
cdns,read-delay = <0>;
/* Enable OSPI PHY for improved signal integrity at 50MHz+ */
// cdns,phy-mode;
/* Standard timings in ns for 50MHz operation (T=20ns) */
cdns,tshsl-ns = <40>;
cdns,tsd2d-ns = <40>;
cdns,tchsh-ns = <10>;
cdns,tslch-ns = <10>;
/* Standard flash timings in nanoseconds */
cdns,tshsl-ns = <60>;
cdns,tsd2d-ns = <60>;
cdns,tchsh-ns = <60>;
cdns,tslch-ns = <60>;
/* Octal bus width */
spi-rx-bus-width = <8>;
spi-tx-bus-width = <8>;
partitions {
compatible = "fixed-partitions";