[PATCH v2] cmd: nand: Add support to print the manufacturer, model and size

2024-03-18 Thread Mihai Sain
096 b OOB size 256 b Erase size 262144 b ecc strength 8 bits ecc step size 512 b subpagesize 4096 b options 0x4200 bbt options 0x00028000 Signed-off-by: Mihai Sain Changes in v2: -- * use #ifdef directive for ONFI flashes. *

[PATCH] cmd: nand: Add support to print the manufacturer, model and size

2024-03-18 Thread Mihai Sain
ecc strength 8 bits ecc step size 512 b subpagesize 4096 b options 0x4200 bbt options 0x00028000 Signed-off-by: Mihai Sain --- cmd/nand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/nand.c b/cmd/nand.c index fe834c4ac5..f5cfaab37c 100644 --- a/

[PATCH v2 4/4] configs: at91: sama7g54_curiosity: Add initial default configs

2024-02-27 Thread Mihai Sain
Add default configuration for nand-flash to boot the linux kernel. Add default configuration for qspi-flash to boot the linux kernel. Add default configuration for sd-card to boot the linux kernel. Configs are synced with savedefconfig. Signed-off-by: Mihai Sain --- configs

[PATCH v2 3/4] board: at91: sama7g54_curiosity: Add initial board support

2024-02-27 Thread Mihai Sain
Add initial support for SAMA7G54 Curiosity board. Hardware: SoC: SAMA7G54D2G SiP 1000 MHz DRAM: DDR3 256 MiB PMIC: MCP16502 Debug: UART3 Flash: QSPI NOR 8 MiB, SLC NAND 512 MiB M.2 slot for wireless Mikrobus connectors x 2 SD-Card connectors x 1 USB 2.0 x 3 Signed-off-by: Mihai Sain --- arch

[PATCH v2 1/4] ARM: dts: at91: sama7g5: Add flexcom 10 node

2024-02-27 Thread Mihai Sain
Add flexcom 10 node for usage on the SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 746a5ba347..a17c58cbfc 100644

[PATCH v2 0/4] Add initial support for Microchip SAMA7G54 Curiosity board

2024-02-27 Thread Mihai Sain
CONFIG_ENV_SIZE=0x4000 in mmc defconfig. * Set CONFIG_ENV_SECT_SIZE=0x1 in qspiflash defconfig. Mihai Sain (4): ARM: dts: at91: sama7g5: Add flexcom 10 node ARM: dts: at91: sama7g54_curiosity: Add initial device tree of the board board: at91: sama7g54_curiosity: Add initial board support

[PATCH v2 2/4] ARM: dts: at91: sama7g54_curiosity: Add initial device tree of the board

2024-02-27 Thread Mihai Sain
Add initial device tree of the SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain --- arch/arm/dts/Makefile | 3 + .../dts/at91-sama7g54_curiosity-u-boot.dtsi | 59 + arch/arm/dts/at91-sama7g54_curiosity.dts | 242 ++ 3 files changed, 304

[PATCH 2/4] ARM: dts: at91: sama7g54_curiosity: Add initial device tree of the board

2024-02-09 Thread Mihai Sain
Add initial device tree of the SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain --- arch/arm/dts/Makefile | 3 + .../dts/at91-sama7g54_curiosity-u-boot.dtsi | 59 + arch/arm/dts/at91-sama7g54_curiosity.dts | 246 ++ 3 files changed, 308

[PATCH 3/4] board: at91: sama7g54_curiosity: Add initial board support

2024-02-09 Thread Mihai Sain
Add initial support for SAMA7G54 Curiosity board. Hardware: SoC: SAMA7G54D2G SiP 1000 MHz DRAM: DDR3 256 MiB PMIC: MCP16502 Debug: UART3 Flash: QSPI NOR 8 MiB, SLC NAND 512 MiB M.2 slot for wireless Mikrobus connectors x 2 SD-Card connectors x 1 USB 2.0 x 3 Signed-off-by: Mihai Sain --- arch

[PATCH 4/4] configs: at91: sama7g54_curiosity: Add initial default configs

2024-02-09 Thread Mihai Sain
Add default configuration for nand-flash to boot the linux kernel. Add default configuration for qspi-flash to boot the linux kernel. Add default configuration for sdcard to boot the linux kernel. Configs are synced with savedefconfig. Signed-off-by: Mihai Sain --- configs

[PATCH 1/4] ARM: dts: at91: sama7g5: add flexcom 10 node

2024-02-09 Thread Mihai Sain
Add flexcom 10 node for usage on the SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 746a5ba347..01e880aabe 100644

[PATCH 0/4] Add initial support for Microchip SAMA7G54 Curiosity board

2024-02-09 Thread Mihai Sain
This patch series adds initial support for Microchip SAMA7G54 Curiosity board. Mihai Sain (4): ARM: dts: at91: sama7g5: add flexcom 10 node ARM: dts: at91: sama7g54_curiosity: Add initial device tree of the board board: at91: sama7g54_curiosity: Add initial board support configs: at91

[PATCH v2] board: at91: sama5d29_curiosity: add initial support for sama5d29_curiosity

2023-07-24 Thread Mihai Sain
and CONFIG_SYS_PROMPT_HUSH_PS2 * Remove CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_SDRAM_SIZE Signed-off-by: Mihai Sain --- arch/arm/dts/Makefile | 3 + .../dts/at91-sama5d29_curiosity-u-boot.dtsi | 55 + arch/arm/dts/at91-sama5d29_curiosity.dts | 219 ++ arch/arm/mach

[u-boot][PATCH] board: at91: sama5d29_curiosity: add initial support for sama5d29_curiosity

2023-07-20 Thread Mihai Sain
Add initial support for sama5d29_curiosity board. Hardware: SoC: SAMA5D29 500 MHz DRAM: LPDDR2 512 MiB PMIC: MCP16502 Debug: UART0 Flash: QSPI NOR 8 MiB RGB LCD connector Mikrobus connectors x 2 SD-Card connectors x 2 USB 2.0 x 2 Signed-off-by: Mihai Sain --- arch/arm/dts/Makefile

[PATCH] ARM: dts: at91: sama7g5: fix clock id for ebi node

2023-02-23 Thread Mihai Sain
The PMC_MCK1 clock id for the ebi node is 23. Fixes: 4ce85577ac ("ARM: dts: at91: sama7g5/sama7g5ek: align with Linux DT") Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/d

[PATCH] ARM: dts: at91: sama7g5: fix clock id for ebi node

2023-02-23 Thread Mihai Sain
The PMC_MCK1 clock id for the ebi node is 23. Fixes: 4ce85577ac ("ARM: dts: at91: sama7g5/sama7g5ek: align with Linux DT") Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/d

[PATCH] ARM: dts: at91: sam9x60: add sdhci1 node and pinctrl

2022-12-23 Thread Mihai Sain
Add node for sdhci1 controller and its pinctrl. Signed-off-by: Mihai Sain --- arch/arm/dts/sam9x60.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi index 64d58f80af..fd203faf45 100644 --- a/arch/arm/dts

[PATCH] configs: sam9x60: add mmc config for sdmmc1

2022-12-23 Thread Mihai Sain
Add new config for storing environment from SDMMC1. Signed-off-by: Mihai Sain --- board/atmel/sam9x60_curiosity/MAINTAINERS | 1 + configs/sam9x60_curiosity_mmc1_defconfig | 92 +++ 2 files changed, 93 insertions(+) create mode 100644 configs

[[PATCH] board: at91: sam9x60: set blue led on at boot time

2022-12-23 Thread Mihai Sain
Set blue led on at boot time in order to highlight that u-boot is loaded. This is done for all sam9x60 based boards which contain an RGB led. Signed-off-by: Mihai Sain --- board/atmel/sam9x60_curiosity/sam9x60_curiosity.c | 10 ++ board/atmel/sam9x60ek/sam9x60ek.c | 9

[PATCH] ARM: mach-at91: add support for sama7g5 chip id and extended id definition

2022-12-02 Thread Mihai Sain
Add SAMA7G5 series chip id definitions to align with linux SoC driver. Add support for SAMA7G5 System-In-Package (SIP): SAMA7G54D1G, SAMA7G54D2G, SAMA7G54D4G. Signed-off-by: Mihai Sain --- arch/arm/mach-at91/armv7/sama7g5_devices.c | 26 +++- arch/arm/mach-at91/include/mach

[PATCH] ARM: dts: at91: sama7g5: fix signal name of pin PD8

2022-11-14 Thread Mihai Sain
The signal name of pin PD8 with function D is A22_NANDCLE as it is defined in the datasheet. Fixes: 558378a4cd ("ARM: mach-at91: add support for new SoC sama7g5") Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5-pinfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] ARM: dts: at91: sama7g5: fix signal name of pin PB2

2022-10-17 Thread Mihai Sain
The signal name of pin PB2 with function F is FLEXCOM11_IO1 as it is defined in the datasheet. Fixes: 558378a4cd ("ARM: mach-at91: add support for new SoC sama7g5") Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5-pinfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)