Add s32n79 rcon support#30
Open
costinctin wants to merge 7 commits intonxp-imx:masterfrom
Open
Conversation
b01e4cd to
76d3690
Compare
Fix reading of PCAL9555 pin value. Given a mistake, the pin bitmask was not applied correctly on the read value buffer. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
Fix issue of wrongly displaying the serial no. with lsftdi command. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
Change S32n79rdb board id so that it does not overlap with other boards already available. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
Add possibility to change default 400KHz I2C frequency by adding a new "frequency" parameter for the ft4232h_i2c device path. This is important because there are cases when HW design implies an I2C clock speed for a rail and another for a different rail. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
The S32N79RDB boot modes cannot be controlled from on board DIP switches. The only way to change where to boot from (SD/eMMC/QSPI/serial) is to program the RCON EEPROM. At boot time, the CPU reads it and decides where to boot from. The user can list the available boot modes via the "lsbootmode" command. For eMMC/QSPI/SD, basic configurations are provided. To change any of the boot configuration, the "custom" bootmode is provided. Used standalone, it writes the RCON EEPROM from address 0x0. It is the only way to set serial boot mode. In conjunction with "cfg_addr" option it can set bytes in the EEPROM starting from the value passed to it (e.g. -cfg_addr=0x05 starts writing from address 0x05). Only the first 20 bytes of the RCON are available for read/write. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
76d3690 to
7d45967
Compare
There are cases when some pins are not direct I/Os. They are used to activate certain HW modules and must be brought to a certain value before exit, otherwise functionality might be affected. An example is S32N79RDB board, where leaving EN_CNTL_I2C or EN_RCON_I2C lines active, puts the FTDI4232's I2C lines in parallel with the CPU's and creates interferences during debug time. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
Enable setting FT4232 ports as GPIO. Aside from port B that is used for I2C communication, port C or port D might be used as GPIOs. This is true for S32N79RDB that has TP32, TP30, TP29 and TP27 connected to Port C and D. Signed-off-by: Costin Constantin <costin.constantin@nxp.com>
7d45967 to
7a5d9bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Functionality that enables RCON support for S32N79RDB