Repository navigation
AM13E232 support - #254
AM13E232 support#254
Conversation
PR Summary by QodoAdd AM13E232N9 SoC and LP-AM13E232 launchpad support
AI Description
Merge Risk
|
❌ Board tests failedCommit
All board logs (log.html and build.log) in one download: board-logs (kept 14 days) Jenkins build: |
venkatesan-krishnamoorthy
left a comment
There was a problem hiding this comment.
A few small comments on naming and comments.
- Move common pin configs to a new am13e-pinctrl.dtsi - am13e23019-pinctrl.dtsi and am13e232n9-pinctrl.dtsi now include this and add their own differing pin configs Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Move common nodes across AM13E230 and AM13E232 to am13e2x.dtsi. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add devicetree for the AM13E232N9 SoC. It shares the majority of its peripherals with the AM13E23019 SoC. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
- Define a Kconfig symbol for SOC_AM13E232 - Update mpu_regions - List AM13E232N9 in soc.yml Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Create Zephyr board lp_am13e232 for the AM13E232 LaunchPad. It uses the upstream OpenOCD target config `am13e230x.cfg` for west flash support. Console UART connections are the same as lp_am13e230. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Configure unicomm2_i2c and unicomm5_i2c with zephyr,i2c-target-eeprom virtual devices for the i2c_target_api test. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Configure unicomm0_spi for use with the SPI internal loopback test spi_loopback. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Enable the following UART tests on lp_am13e232: - uart_elementary - uart_interrupt_api - uart_mix_fifo_poll Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
774a075 to
5b95b97
Compare
Enable gpio nodes A to D, along with the available GPIOs on this specific chip as pinmux values. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Enable GPIO nodes A to D in lp_am13e232.dts Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Enable the GPIO basic_api test on lp_am13e232 by adding an overlay that defines in-gpios and out-gpios. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add `crc` to the board YAML's "supported" section and select the `crc` node as zephyr,crc. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Enable the wdt0 node and alias it to watchdog0. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
- Enable canclk and mcan0 - Select &mcan0 as zephyr,canbus Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
- add a config disabling userspace for the AM13E232 LaunchPad Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
… bit The XBAR power enable bit on AM13E232 is bit 12 instead of 14, so it has to be defined separately. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
PWREN bits for XBAR on AM13E232 have to be changed to bit 12, defined in ti_mspm_sysctl.h Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
- Duplicate lp_am13e230 overlay and config for the mux_api test - Add the board platform to tests.yaml Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
The AM13E232 LaunchPad has LEDs connected to pins D0 and D1, along with a button connected to B0. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Enable the timg12_0 node along with its counterg12_0 child node. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Duplicate the lp_am13e230 config for the counter_basic_api test. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
… bits ECAP PWREN bits on AM13E232 are different from AM13E230 as it lacks an EQEP2 block. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Override ECAP0/ECAP1 PWREN bits with the AM13E232-specific values. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Enable ecap0 as APWM output on PC14 and ecap1 as capture on PC15. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add lp_am13e232 config and overlay, looping back PC14 to PC15. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Update lp_am13e232.yaml to mention all enabled features. Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
cf21d74
into
v4.4.0-ti-next
This PR adds support for the AM13E232N9 SoC and the launchpad LP-AM13E232. The SoC has the same peripherals as AM13E23019, which is already supported. To reflect this commonality, peripheral nodes have been moved to a common
am13e2x.dtsi.Various peripheral tests have been enabled and verified to pass on
lp_am13e232.