- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I patched the linux-5.4.40-cy-spimem.patch to TI provided SDK.
And I modified the device tree like below,
&main_spi0 {
pinctrl-names = "default";
pinctrl-0 = <&main_spi0_pins_default>;
ti,pindir-d0-out-d1-in = <1>;
nvram@0 {
compatible = "cy-spimem", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
#spi-cs-high;
#data-size = <16>;
};
};
But the spi speed is not 40Mhz as expected. Please help to point out how to set the spi speed in device tree for FRAM?
Best Regards
xixiguo
Solved! Go to Solution.
- Labels:
-
Memory F-RAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shubham,
It's CYPRESS, CY15B104Q
Regards
xixiguo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shubham,
Thank you for this input!
I found that maybe it's because that AM64x REFCLK for spi can not be divided into 40Mhz, but it still needs to be confirmed.
Regards,
xixiguo