-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
U96V2: fix SD card voltage mode in device tree #16
base: 2020.2
Are you sure you want to change the base?
Conversation
Hi Felix, |
The Ultra96-V2 schematics have a 1.8V (VCC_PSAUX) to 3.3V translator between the MPSOC and the SD card cage. This 'no-1-8-v' is meant to tell the SD controller that 1.8V is not supported in the hardware when, actually, that is exactly how it is connected. |
If you look at the schmatic of the V1 board [1], it has the same level shifter setup. Yet, when you look in the device tree, you will see the no-1-8-v setting. [2] Also have a look at this Xilinx Answer Record about SD booting [3]. The Reference Manual for the SoC [4] (Page 745) states that for 50 MHz operation (which is what I think we are doing), only 3.3 V is supported. Obviously, the SoC is not actually putting out 3.3V, it just puts it in that 3.3 mode, so it will even work. This is what is meant with "denotes that 1.8v card voltage is not supported on this system, even if the controller claims it is", because 1.8V card voltage is not supported at 50 MHz. [1] https://www.96boards.org/documentation/consumer/ultra96/ultra96-v1/hardware-docs/files/ultra96-schematics.pdf |
Hi Tom, what's your stance on this, on a more general scale I mean: Do you think that the ultra96 V2 should have it's own device tree without depending on any files from the first board? I think that makes sense from a logical standpoint: They are different boards and they should each be configured indivudually and completely. It also makes sense when we think about the yocto users: They basically get an incomplete device tree without going through the effort of including the device tree of the first board. Also, please have a look at how the device tree of the Ultra96V2 is set up (example [1]). It's setup almost in kind of an inheritance pattern of the V2 inheriting from the V1 and then removing the incompatible parts. Does this make sense? If the V1 were to change (hypothetically), should this influence the V2? Maybe you can also relay this question to someone at avnet who knows about the reason for this setup. My recommendation would be to create a proper bsp device-tree for the V2. |
See #15