1. 28 Apr, 2021 3 commits
    • David Horstmann's avatar
      refactor(plat/arm): store UUID as a string, rather than ints · 7d111d99
      David Horstmann authored
      
      
      NOTE: Breaking change to the way UUIDs are stored in the DT
      
      Currently, UUIDs are stored in the device tree as
      sequences of 4 integers. There is a mismatch in endianness
      between the way UUIDs are represented in memory and the way
      they are parsed from the device tree. As a result, we must either
      store the UUIDs in little-endian format in the DT (which means
      that they do not match up with their string representations)
      or perform endianness conversion after parsing them.
      
      Currently, TF-A chooses the second option, with unwieldy
      endianness-conversion taking place after reading a UUID.
      
      To fix this problem, and to make it convenient to copy and
      paste UUIDs from other tools, change to store UUIDs in string
      format, using a new wrapper function to parse them from the
      device tree.
      
      Change-Id: I38bd63c907be14e412f03ef0aab9dcabfba0eaa0
      Signed-off-by: default avatarDavid Horstmann <david.horstmann@arm.com>
      7d111d99
    • David Horstmann's avatar
      feat(fdt): introduce wrapper function to read DT UUIDs · d13dbb6f
      David Horstmann authored
      
      
      TF-A does not have the capability to read UUIDs in string form
      from the device tree. This capability is useful for readability,
      so add a wrapper function, fdtw_read_uuid() to parse UUIDs from
      the DT.
      This function should parse a string of the form:
      
      "aabbccdd-eeff-4099-8877-665544332211"
      
      to the byte sequence in memory:
      
      [aa bb cc dd ee ff 40 99 88 77 66 55 44 33 22 11]
      
      Change-Id: I99a92fbeb40f4f4713f3458b36cb3863354d2bdf
      Signed-off-by: default avatarDavid Horstmann <david.horstmann@arm.com>
      d13dbb6f
    • Manish Pandey's avatar
      Merge changes I2c9aecc9,Ie6a019f4,Ief6f0a63,Iec9c80f2 into integration · 067cb3ae
      Manish Pandey authored
      * changes:
        fdts: stm32mp1: add support for the Seeed Odyssey SoM and board
        fdts: stm32mp1: add alternative SDMMC2 pins to the pinctrl
        fdts: stm32mp1: add I2C2 pins in the pinctrl
        fdts: stm32mp1: add the I2C2 peripheral in the SoC DTS
      067cb3ae
  2. 27 Apr, 2021 6 commits
  3. 26 Apr, 2021 5 commits
  4. 23 Apr, 2021 16 commits
  5. 22 Apr, 2021 7 commits
  6. 21 Apr, 2021 3 commits
    • Grzegorz Szymaszek's avatar
      fdts: stm32mp1: add support for the Seeed Odyssey SoM and board · c3c6732f
      Grzegorz Szymaszek authored
      
      
      Seeed Studio’s SoM‐STM32MP157C is a System‐on‐Module that integrates the
      STM32MP157C MPU (the 650 MHz dual‐core variant with a GPU and a
      cryptographic processor) the STPMIC1A PMIC, 512 MB of DDR3 RAM and a
      4 GB eMMC. There are two LEDs as well, one hardwired to the PMIC’s VDD
      output, and the other available at the MPU’s port PG3. The SoM can be
      plugged into a carrier board using its three 70‑pin connectors.
      
      Seeed Odyssey‐STM32MP157C is the reference carrier board for the SoM in
      a Raspberry Pi‐like form factor. It features a WiFi/Bluetooth chip, a
      microSD card port and various I/O interfaces.
      
      The device tree is based on the DKx boards. TF‑A was successfully tested
      on the board with Buildroot 2021.02 and U-Boot 2021.04.
      Signed-off-by: default avatarGrzegorz Szymaszek <gszymaszek@short.pl>
      Change-Id: I2c9aecc925561e8d338dddbb192d3bb23a533914
      c3c6732f
    • Grzegorz Szymaszek's avatar
      fdts: stm32mp1: add alternative SDMMC2 pins to the pinctrl · 0e480e0e
      Grzegorz Szymaszek authored
      
      
      The new pins—PA8, PA9, PE5, and PC7—are described in a new pinctrl node
      named “sdmmc2-d47-3”, AKA phandle “sdmmc2_d47_pins_d”. These names are
      identical to their Linux kernel counterparts (commit
      7af08140979a6e7e12b78c93b8625c8d25b084e2).
      Signed-off-by: default avatarGrzegorz Szymaszek <gszymaszek@short.pl>
      Change-Id: Ie6a019f4361790f6b5d4910ce1e7b507a6c6a21a
      0e480e0e
    • Grzegorz Szymaszek's avatar
      fdts: stm32mp1: add I2C2 pins in the pinctrl · 214b4f9a
      Grzegorz Szymaszek authored
      
      
      Some STM32MP1‐based boards, like Seeed Studio’s SoM‐STM32MP157C, have
      the SoC connected to the PMIC via I2C2 instead of I2C4 (which is used on
      the official ST development boards). This commit brings TF‑A one step
      closer to boot on such boards.
      
      The pins used, PH4 and PH5, are described in a new pinctrl node named
      “i2c2-0”, AKA phandle “i2c2_pins_a”. These names are identical to their
      Linux kernel counterparts (commit
      7af08140979a6e7e12b78c93b8625c8d25b084e2).
      Signed-off-by: default avatarGrzegorz Szymaszek <gszymaszek@short.pl>
      Change-Id: Ief6f0a632cfa992dcf3fed95d266ad6a07a96fe0
      214b4f9a