- May 30, 2024
-
-
Robert Nelson authored
Draft: riscv: dts: fix network Closes #1 See merge request !1
-
- May 29, 2024
-
-
Lars Randers authored
-
- Dec 27, 2023
-
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
- Feb 22, 2023
-
-
Conor Dooley authored
Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Feb 21, 2023
-
-
Conor Dooley authored
Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Just like the devicetree, the sys load address for QSPI nor should have been converted back to 32-bit addresses. Do it now. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
The qspi-nor version of the dt was ignored while moving to the v2022.10/v2023.02 IKRD version. Make up for lost time (figuratively and literally) and convert it over now. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Feb 20, 2023
-
-
Conor Dooley authored
Bring the Aldec TySoM into the fold by adding a devicetree and supporting board files etc. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Feb 17, 2023
-
-
Conor Dooley authored
Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Feb 14, 2023
-
-
Padmarao Begari authored
Use an env variable(design_overlays) to apply the design structure overlays to the fitImage. Signed-off-by:
Padmarao Begari <padmarao.begari@microchip.com>
-
Padmarao Begari authored
If available, Read the device tree overlays from the design structure and create the env variables for number of overlays, device tree overlays image address and total size of device tree overlays. Later these env variables are used to apply overlays to the device tree. Signed-off-by:
Padmarao Begari <padmarao.begari@microchip.com>
-
- Feb 09, 2023
-
-
Conor Dooley authored
Reference designs prior to v2022.10 are not compatible with this version of the dts, so add a specific compatible. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Valentina Fernandez authored
Drop duplicate CONFIG_CMD_UBI from the microchip_mpfs_icicle_defconfig Signed-off-by:
Valentina Fernandez <valentina.fernandezalanis@microchip.com>
-
Valentina Fernandez authored
Drop default mem layout environment variables from the mpfs header file. The default load address values for the initrd and kernel will be defined from the FIT image load addresses and/or U-BOot source script. Signed-off-by:
Valentina Fernandez <valentina.fernandezalanis@microchip.com>
-
Valentina Fernandez authored
Icicle is going back to a lowmem configuration, update the load address back to a 32-bit memory address. Signed-off-by:
Valentina Fernandez Alanis <valentina.fernandezalanis@microchip.com>
-
Conor Dooley authored
The v2022.10 (and later) IKRD versions are intended to support an overlaid memory map that supports 32- and 64-bit PCI devices at the same time. Update the U-Boot devicetree to support such a configuration. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Feb 08, 2023
-
-
Conor Dooley authored
There are 3 boards currently using the PolarFire SoC, so extract the Kconfig sections that are determined at a CPU level from the board Kconfigs now that we have a CPU Kconfig. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Now that we have a custom CPU implementation, switch the PolarFire SoC boards over to use it instead of the generic RISC-V CPU. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
PolarFire SoC needs a custom implementation of top_of_ram(), so stop using the generic CPU & create a custom CPU instead. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Icicle is going back to a lowmem configuration. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
The initial devicetree for PolarFire SoC incorrectly created a fixed frequency clock in the devicetree to represent the msspll, but the msspll is not a fixed frequency clock. The actual reference clock on a board is either 125 or 100 MHz, 125 MHz in the case of the icicle kit. Swap the incorrect representation of the msspll out for the actual reference clock. Fixes: dd4ee416 ("riscv: dts: Add device tree for Microchip Icicle Kit") Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Feb 01, 2023
-
-
Conor Dooley authored
Sync the critical clocks in the U-Boot driver with those marked as critical in Linux. The Linux driver has an explanation of why each clock is considered to be critical, so import that too. Fixes: 2f27c921 ("clk: Add Microchip PolarFire SoC clock driver") Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Not all "periph" clocks are children of the AHB clock, some have the AXI clock as their parent & the mtimer clock is derived from the external reference clock directly. Stop assuming the AHB clock to be the parent of all "periph" clocks and define their correct parents instead. Fixes: 2f27c921 ("clk: Add Microchip PolarFire SoC clock driver") Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
The original devicetrees for PolarFire SoC messed up & defined the msspll's output as a fixed-frequency, 600 MHz clock & used that as the input for the clock controller node. The msspll is not a fixed frequency clock and later devicetrees handled this properly. Check the devicetree & if it is one of the fixed ones, register the msspll. Otherwise, skip registering it & pass the reference clock directly to the cfg clock registration function so that existing devicetrees are not broken by this change. As the MSS PLL is not a "cfg" or a "periph" clock, add a new driver for it, based on the one in Linux. Fixes: 2f27c921 ("clk: Add Microchip PolarFire SoC clock driver") Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Currently the clock driver for PolarFire SoC takes a very naive approach to the relationship between clocks. It reads the dt to get an input clock, assumes that that is fixed frequency, reads the "clock-frequency" property & uses that to set up both the "cfg" and "periph" clocks. Simplifying for the sake of incremental fixes, the "correct" parentage for the clocks currently supported in U-Boot is that the "cfg" clocks should be children of the fixed frequency clock in the dt. The AHB clock is one of these "cfg" clocks and is the parent of the "periph" clocks. Instead of passing the clock rate of the fixed-frequency clock to the "cfg" and "periph" registration functions and the name of the parents, pass their actual parents & use clk_get_rate() to determine their parents rates. The "periph" clocks are purely gate clocks and should not be reading the AHB clocks registers to determine their rates, as they can simply report the output of clk_get_rate() on their parent. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
When this binding header was initally upstreamed, the PLL clocking the microprocessor subsystem (MSS) and the RTC reference clocks were omitted. Add them now, matching the IDs used in Linux. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
- Nov 09, 2022
-
-
Valentina Fernandez authored
Update the icicle kit amp defconfig to drop the custom boot command to use U-boot distro boot feature instead. This allows to use the same boot environment for Yocto and Buildroot build systems. Signed-off-by:
Valentina Fernandez <valentina.fernandezalanis@microchip.com>
-
- Nov 03, 2022
-
-
Valentina Fernandez authored
Update the icicle kit config file to use the default BOOTENV options for mmc. This allows to use the same boot environment for Yocto and Buildroot build systems. Signed-off-by:
Valentina Fernandez <valentina.fernandezalanis@microchip.com>
-
- Sep 19, 2022
-
-
Conor Dooley authored
No PolarFire SoC based board currently supported by U-Boot uses a TI ethernet PHY. The M100PFSEVP has a Microchip KSZ903 & the first party boards have Vitesse PHYs. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Since the aries patches were created, we have added support for more peripherals on PolarFire SoC. Update the default enabled list to include more of them. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
Unsetting BOOTCOMMAND prevents overriding this from kconfig. Stop unsetting it and instead set it only if undefined. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Padmarao Begari authored
Signed-off-by:
Padmarao Begari <padmarao.begari@microchip.com>
-
Padmarao Begari authored
Add device tree for qpsi nor booting Signed-off-by:
Padmarao Begari <padmarao.begari@microchip.com>
-
Conor Dooley authored
A late ack is currently being sent at the end of a transfer due to incorrect logic in mchp_corei2c_empty_rx(). Currently the Assert Ack bit is being written to the controller's control reg after the last byte has been received, causing it to sent another byte with the ack. Instead, the AA flag should be written to to the contol register when the penultimate byte is read so it is sent out for the last byte. Reported-by:
Andreas Buerkler <andreas.buerkler@enclustra.com> Fixes: 0dc0d1e0 ("i2c: Add Microchip PolarFire SoC I2C driver") Fixes: 0190d48488 ("i2c: microchip: fix ack sending logic") Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
"Master receive mode" was not correctly sending ACKs/NACKs in the interrupt handler. Bring the handling of M_SLAR_ACK, M_RX_DATA_ACKED & M_RX_DATA_NACKED in line with the Linux driver. Fixes: 0dc0d1e0 ("i2c: Add Microchip PolarFire SoC I2C driver") Reported-by:
Shravan Chippa <shravan.chippa@microchip.com> Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Vattipalli Praveen authored
Signed-off-by:
Vattipalli Praveen <praveen.kumar@microchip.com>
-
Valentina Fernandez authored
Add CONFIG_OF_LIBFDT_OVERLAY to icicle kit defconfigs to apply dts overlays from U-boot Signed-off-by:
Valentina Fernandez <valentina.fernandezalanis@microchip.com>
-
Valentina Fernandez authored
Add a device tree for the Aries m100pfsevp, based on the PolarFire SoC. Signed-off-by:
Valentina Fernandez <valentina.fernandezalanis@microchip.com>
-