0
Neko May

NanoPi NEO2 Voltage Regulator Update

Recommended Posts

I've checked a few places, and noticed that the NanoPi NEO2 has had an upgrade to its CPU voltage regulator that does not seem to be reflected anywhere; the sunxi-linux wiki still reports that the regulator can provide only 1.1V, and I see no evidence of a regulator for the CPU in the device tree in the master mainline kernel branch.

 

On the NEO2 V1.1, the CPU voltage regulator has been updated to provide GPIO-based voltage regulation, giving a selection of 1.1V (the same as the original board) or 1.3V (this setting is new). I'm quite new to kernel/device tree modifications, so I was wondering if anyone else was aware of this, and, if nobody is willing to incorporate it themselves, how I would go about adding support for the selectable voltage so that the board can be clocked higher than ~850MHz (according to sunxi-linux wiki).

Share this post


Link to post
Share on other sites

@Neko May armbian has support  for 1.3V

 

Use armbian-config ==> system ==> hardware

and enable

cpu-clock-1.3GHz-1.3v

and

gpio-regulator-1.3v

 

save/reboot

 

and now set cpu-governor and speeds in armbian-config ==> system ==> CPU

(I think with these new setting you will get all speeds)

 

PS: I ediited  my DTB for the OPi Zero Plus2 H5 to allow up to 1008Mhz with the 1.1v setting
(like I had it on older armbian-builds):

Neo2_1_3v_switch.jpg

Share this post


Link to post
Share on other sites

Hi @Neko May- note that newer versions of the Armbian kernel include updated DTs for the NEO2 that provide the 1.3v regulator interface settings.  So you should actually only need to enable the "cpu-clock-1.3GHz-1.3v" hardware function/DT.

 

Share this post


Link to post
Share on other sites
30 minutes ago, 5kft said:

Hi @Neko May- note that newer versions of the Armbian kernel include updated DTs for the NEO2 that provide the 1.3v regulator interface settings.  So you should actually only need to enable the "cpu-clock-1.3GHz-1.3v" hardware function/DT.

I will be curious if we will have this "game" again after the Neo2 LTS now with the upcoming NanoPi Neo2 Black;) 
see: http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO2_Black

NanoPi_NEO2_Black-1.jpg

Share this post


Link to post
Share on other sites
1 hour ago, guidol said:

I will be curious if we will have this "game" again after the Neo2 LTS now with the upcoming NanoPi Neo2 Black?

 

Indeed, I took a quick look at the schematic (http://wiki.friendlyarm.com/wiki/images/5/57/NanoPi-NEO2-Black_1907_Schematic.pdf) and noticed a few things (if the schematic is accurate):

  • If the VCC regulator is really a SY8106A (first page notes it is a MP2143DJ, which I'm guessing is a mistake), then the power circuit looks like the same as the NEO Core2, which means that the board may be able to drive the core voltage to 1.4v, meaning it can run up to 1.4GHz (like on the Core2).  This is nice!
  • The board "version" GPIO (PL3) is wired the same as the NEO2 v1.1, so for the NEO2 build target this won't allow full speed of the board as this would load the NEO2 v1.1 default DT which actually uses the far more limited MP2143DJ regulator.   In fact, with the Black they wired PC4, PC6, and PC7 the same as well as the NEO2 v1.1, which means that we can't do runtime board identification.  This likely means that we'll have to do a different board target...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0