This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: QSDI NOR FLASH - S25fL256

Part Number: AM5728

we are using qspi flash in our AM5728 custom board . we are using S25fL256 nor flash .

we made dts changes in uboot and kernel the following changes are 

&qspi {
status = "okay";
spi-max-frequency = <76800000>;
m25p80@2 {
compatible = "s25fl256s1", "spi-flash", "jedec,spi-nor";
spi-max-frequency = <76800000>;
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
#address-cells = <1>;
#size-cells = <1>;
/* MTD partition table.
* The ROM checks the first four physical blocks
* for a valid file to boot and the flash here is
* 64KiB block size.
*/
partition@0 {
label = "QSPI.SPL";
reg = <0x00000000 0x000040000>;
};
partition@1 {
label = "QSPI.u-boot";
reg = <0x00040000 0x00100000>;
};
partition@2 {
label = "QSPI.u-boot-spl-os";
reg = <0x00140000 0x00080000>;
};
partition@3 {
label = "QSPI.u-boot-env";
reg = <0x001c0000 0x00010000>;
};
partition@4 {
label = "QSPI.u-boot-env.backup1";
reg = <0x001d0000 0x0010000>;
};
partition@5 {
label = "QSPI.kernel";
reg = <0x001e0000 0x0800000>;
};
partition@6 {
label = "QSPI.file-system";
reg = <0x009e0000 0x01620000>;
};
};
};
in uboot it sworking fine  
sf probe 2
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c000000
=> sf erase 0x00000 0x100000
SF: 1048576 bytes @ 0x0 Erased: OK
=> sf write ${loadaddr} 0x00000 0x10000
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Written: Ok
but in kernel if we give cat /proc/mtd its showing nothing can anyone help us how to make it work
  • Hi,

    Please share the changes you applied in the patch format. So that it will be easier to analyze the delta.

    Also if you believe you have applied the changes properly then add debug prints in the driver: drivers/mtd/devices/m25p80.c

    See if probe is getting called successfully & also please share the complete boot logs.

    - Keerthy

  • reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-00458-ga36af91-dirty (Sep 08 2021 - 17:55:39 +0530)
    
    CPU  : DRA752-GP ES2.0
    Model: TI AM572x EVM Rev A3
    Board: AM572x EVM REV A.3A
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment
    
    I2C chip 50: requested alen 2 does not match chip offset_len 1
    MMC Device 1 not found
    ERROR: invalid mmc device
    
    at ../arch/arm/mach-omap2/utils.c:95/omap_mmc_get_part_size()
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    1522 bytes read in 2 ms (743.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    reading .psdk_setup
    1 bytes read in 2 ms (0 Bytes/s)
    Already setup.
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    3713800 bytes read in 52 ms (68.1 MiB/s)
    107412 bytes read in 36 ms (2.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe2000, end 8ffff393 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.65-rt23-g7069a470d5 (root@bcw-ll-vhfmp-0001) (g                                                                                                                                                             cc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT RT Mon Sep 1                                                                                                                                                             3 20:59:45 IST 2021
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM572x EVM Rev A3
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, s                                                                                                                                                             ize 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible                                                                                                                                                              id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, s                                                                                                                                                             ize 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible                                                                                                                                                              id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, s                                                                                                                                                             ize 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible                                                                                                                                                              id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, s                                                                                                                                                             ize 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible                                                                                                                                                              id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 13 pages/cpu @eed33000 s22752 r8192 d22304 u5324                                                                                                                                                             8
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                                                                                             es: 471616
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=57c2487                                                                                                                                                             5-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1671048K/1893376K available (8192K kernel code, 322K rwda                                                                                                                                                             ta, 2416K rodata, 2048K init, 341K bss, 33912K reserved, 188416K cma-reserved, 1                                                                                                                                                             278976K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1050a60   ( 323 kB)
    [    0.000000]        .bss : 0xc1052000 - 0xc10a7418   ( 342 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU kthread priority: 1.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phy                                                                                                                                                             s).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                                                                                                                              0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 43980                                                                                                                                                             46511023ns
    [    0.000010] Switching to timer-based delay loop, resolution 162ns
    [    0.000313] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff                                                                                                                                                             , max_idle_ns: 58327039986419 ns
    [    0.000315] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000733] Console: colour dummy device 80x30
    [    0.000838] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000840] This ensures that you still see kernel messages. Please
    [    0.000841] update your kernel commandline.
    [    0.000857] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                                                                             equency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000860] pid_max: default: 32768 minimum: 301
    [    0.000956] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000962] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001622] CPU: Testing write buffer coherency: ok
    [    0.001812] /cpus/cpu@0 missing clock-frequency property
    [    0.001845] /cpus/cpu@1 missing clock-frequency property
    [    0.001855] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001875] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.120161] EFI services will not be available.
    [    0.240404] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.240537] Brought up 2 CPUs
    [    0.240550] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.240557] CPU: All CPU(s) started in HYP mode.
    [    0.240563] CPU: Virtualization extensions available.
    [    0.241044] devtmpfs: initialized
    [    0.270806] VFP support v0.3: implementor 41 architecture 4 part 30 variant f                                                                                                                                                              rev 0
    [    0.271030] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                                                                             x_idle_ns: 19112604462750000 ns
    [    0.271048] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.274426] pinctrl core: initialized pinctrl subsystem
    [    0.275325] NET: Registered protocol family 16
    [    0.276462] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.277493] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.392425] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.502319] OMAP GPIO hardware version 0.1
    [    0.518011] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@140                                                                                                                                                             0 !
    [    0.545783] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                                                                                                                              registers.
    [    0.545794] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.546151] omap4_sram_init:Unable to allocate sram needed to handle errata I                                                                                                                                                             688
    [    0.546161] omap4_sram_init:Unable to get sram pool needed to handle errata I                                                                                                                                                             688
    [    0.546823] OMAP DMA hardware revision 0.0
    [    0.566734] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (                                                                                                                                                             LinkedList1/2/3 supported)
    [    0.568263] edma 43300000.edma: memcpy is disabled
    [    0.573154] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.578015] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.578292] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.578538] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.578767] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.579109] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.579385] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.582182] palmas 0-0058: Irq flag is 0x00000008
    [    0.613087] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
    [    0.616906] vtt_fixed: supplied by smps3
    [    0.651804] random: fast init done
    [    0.692303] vdd_3v3: supplied by regen1
    [    0.692532] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.696080] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.696620] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.697002] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 200 kHz
    [    0.697490] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.697687] media: Linux media interface: v0.10
    [    0.697740] Linux video capture interface: v2.00
    [    0.697777] pps_core: LinuxPPS API ver. 1 registered
    [    0.697784] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                                                                                             tti <giometti@linux.it>
    [    0.697809] PTP clock support registered
    [    0.697842] EDAC MC: Ver: 3.0.0
    [    0.698816] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.699116] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.699407] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.699703] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.700055] Advanced Linux Sound Architecture Driver Initialized.
    [    0.700941] clocksource: Switched to clocksource arch_sys_counter
    [    0.711935] NET: Registered protocol family 2
    [    0.712475] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.712548] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
    [    0.712847] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.712903] UDP hash table entries: 512 (order: 3, 32768 bytes)
    [    0.712958] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    [    0.713213] NET: Registered protocol family 1
    [    0.713570] RPC: Registered named UNIX socket transport module.
    [    0.713579] RPC: Registered udp transport module.
    [    0.713587] RPC: Registered tcp transport module.
    [    0.713593] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.714623] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counte                                                                                                                                                             rs available
    [    0.717728] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.725514] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.726248] NFS: Registering the id_resolver key type
    [    0.726280] Key type id_resolver registered
    [    0.726290] Key type id_legacy registered
    [    0.726331] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.727562] bounce: pool size: 64 pages
    [    0.727705] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                                                                             47)
    [    0.727716] io scheduler noop registered
    [    0.727724] io scheduler deadline registered
    [    0.727850] io scheduler cfq registered (default)
    [    0.733103] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.736584] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pci                                                                                                                                                             ephy.3
    [    0.736902] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.736914] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using                                                                                                                                                              [bus 00-ff]
    [    0.736947] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.736970] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.738389] dra7-pcie 51000000.pcie: phy link never came up
    [    1.738565] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.738579] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.738590] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.738600] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.738962] PCI: bus0: Fast back to back transfers disabled
    [    1.739079] PCI: bus1: Fast back to back transfers enabled
    [    1.739200] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.739215] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.739228] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.739567] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.741037] backlight supply power not found, using dummy regulator
    [    1.805547] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.808619] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud =                                                                                                                                                              3000000) is a 8250
    [    1.809542] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud =                                                                                                                                                              3000000) is a 8250
    [    2.782419] console [ttyS2] enabled
    [    2.786740] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 303, base_baud =                                                                                                                                                              3000000) is a 8250
    [    2.797594] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.804368] [drm] Initialized
    [    2.809319] OMAP DSS rev 6.1
    [    2.812676] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_compone                                                                                                                                                             nt_ops)
    [    2.821162] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_compo                                                                                                                                                             nent_ops)
    [    2.831807] display supply vcc not found, using dummy regulator
    [    2.869012] brd: module loaded
    [    2.877510] loop: module loaded
    [    2.881308] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    2.892501] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
    [    2.899284] libphy: (null): entered the function ****************************                                                                                                                                                             **
    [    2.906626] libphy: the bus id ******************** fixed-0
    [    2.912382] libphy: 0: the error number is *********************8
    [    2.918520] libphy: the bus state is ********** (null)
    [    2.923768] libphy: the bus state is ********** 2
    [    2.928579] libphy: Fixed MDIO Bus: probed
    [    2.935415] DEBUG: Passed entered the function davinci_mdio_probe 407
    [    2.941978] davinci_mdio 48485000.mdio: enter the probe function 1st time bef                                                                                                                                                             ore ............*********........
    [    2.952025] davinci_mdio 48485000.mdio: enter the probe function 1st time bef                                                                                                                                                             ore ............*********........
    [    2.962078] davinci_mdio 48485000.mdio: the dev node function is entered  ...                                                                                                                                                             .........*********........
    [    2.971513] davinci_mdio 48485000.mdio: the dev node function is entered  ...                                                                                                                                                             .........*********........
    [    2.980961] davinci_mdio 48485000.mdio: the dev id function is entered ......                                                                                                                                                             .....*********........
    [    2.990049] davinci_mdio 48485000.mdio: the dev id function is entered  .....                                                                                                                                                             .......*********........
    [    2.999312] davinci_mdio 48485000.mdio: the dev id function is entered if ...                                                                                                                                                             ........*********........
    [    3.008662] davinci_mdio 48485000.mdio: the dev id function is entered if....                                                                                                                                                             ......*********........
    [    3.017868] davinci_mdio 48485000.mdio: the clock is not failed ...........**                                                                                                                                                             *******........
    [    3.026344] davinci_mdio 48485000.mdio: the clock is not failed   ...........                                                                                                                                                             .*********........
    [    3.035096] davinci_mdio 48485000.mdio: enter the node 1st time before ......                                                                                                                                                             ......*********........0
    [    3.044357] davinci_mdio 48485000.mdio: enter the node 1st time before ......                                                                                                                                                             ......*********........0
    [    3.053618] libphy: (null): entered the function ****************************                                                                                                                                                             **
    [    3.060967] libphy: the bus id ******************** 48485000.mdio
    [    3.067261] libphy: 0: the error number is *********************8
    [    3.131018] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    3.137141] libphy: the bus state is ********** (null)
    [    3.142386] libphy: the bus state is ********** 2
    [    3.147197] libphy: 48485000.mdio: probed
    [    3.153525] davinci_mdio 48485000.mdio: the return value before............**                                                                                                                                                             *******........0
    [    3.162092] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driv                                                                                                                                                             er TI DP83867
    [    3.170856] cpsw 48484000.ethernet: Fixme - 001*************
    [    3.176549] cpsw 48484000.ethernet: Detected MACID = 88:3f:4a:4e:4c:80
    [    3.183166] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    3.190196] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.199092] mousedev: PS/2 mouse device common for all mice
    [    3.205006] i2c /dev entries driver
    [    3.211626] gpio-fan gpio_fan: GPIO fan initialized
    [    3.217129] tmp102 0-0048: error reading config register
    [    3.222589] tmp102: probe of 0-0048 failed with error -121
    [    3.231565] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.237949] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.358106] mmc0: new DDR MMC card at address 0001
    [    3.367150] NET: Registered protocol family 10
    [    3.375623] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.381694] mmcblk0: mmc0:0001 Q2J54A 3.64 GiB
    [    3.386462] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 2.00 MiB
    [    3.391635] NET: Registered protocol family 17
    [    3.391872] Key type dns_resolver registered
    [    3.392011] omap_voltage_late_init: Voltage driver support not added
    [    3.392120] Power Management for TI OMAP4+ devices.
    [    3.392351] Registering SWP/SWPB emulation handler
    [    3.411486] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.413612] dmm 4e000000.dmm: initialized all PAT entries
    [    3.439947] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 2.00 MiB
    [    3.442433] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.442437] [drm] No driver support for vblank timestamp query.
    [    3.446385] [drm] Enabling DMM ywrap scrolling
    [    3.464172]  mmcblk0: p1 p2
    [    3.530886] Console: switching to colour frame buffer device 100x30
    [    3.543017] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.551789] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.558945] hctosys: unable to open rtc device (rtc0)
    [    3.565105] aic_dvdd_fixed: disabling
    [    3.568785] vmmcwl_fixed: disabling
    [    3.572463] ldousb: disabling
    [    3.575711] pbias_mmc_omap5: disabling
    [    3.579482] ALSA device list:
    [    3.582461]   No soundcards found.
    [    3.700838] EXT4-fs (mmcblk0p2): recovery complete
    [    3.705952] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                                                                                                                                                             pts: (null)
    [    3.714115] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.721009] devtmpfs: mounted
    [    3.725496] Freeing unused kernel memory: 2048K
    [    3.819783] systemd[1]: System time before build time, advancing clock.
    [    3.835313] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SEL                                                                                                                                                             INUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +                                                                                                                                                             XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.853821] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.12!
    
    [    3.891562] systemd[1]: Set hostname to <am57xx-evm>.
    [    4.085587] systemd[1]: Started Dispatch Password Requests to Console Directo                                                                                                                                                             ry Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.133184] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.171250] systemd[1]: Started Forward Password Requests to Wall Directory W                                                                                                                                                             atch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    4.201213] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.231073] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.261197] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.291123] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Socket.
             Mounting Debug File System...
             Mounting POSIX Message Queue File System...
             Starting Journal Service...
             Mounting Temporary Directory...
             Starting Load Kernel Modules...
    [    4.779400] cryptodev: loading out-of-tree module taints kernel.
             Starting Create Static Device Nodes in /dev...[    4.796700] cryptodev:                                                                                                                                                              driver 1.8 loaded.
    
             Starting Setup Virtual Console...
             Starting Remount Root and Kernel File Systems...
    [    4.877244] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Apply Kernel Variables.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Load/Save Random Seed.
    [    5.933184] systemd-journald[151]: Received request to flush runtime journal                                                                                                                                                              from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [    6.426805] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9                                                                                                                                                             d000000
    [    6.442266] remoteproc remoteproc0: 58820000.ipu is available
    [    6.448883] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem                                                                                                                                                             4 failed with error -2
    [    6.458028] remoteproc remoteproc0: powering up 58820000.ipu
    [    6.463885] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem                                                                                                                                                             4 failed with error -2
    [    6.471281] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@9                                                                                                                                                             5800000
    [    6.481085] remoteproc remoteproc0: request_firmware failed: -2
    [    6.495788] remoteproc remoteproc1: 55020000.ipu is available
    [    6.501789] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem                                                                                                                                                             4 failed with error -2
    [    6.510879] remoteproc remoteproc1: powering up 55020000.ipu
    [    6.513587] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@9                                                                                                                                                             9000000
    [    6.528967] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem                                                                                                                                                             4 failed with error -2
    [    6.538204] remoteproc remoteproc1: request_firmware failed: -2
    [    6.549335] remoteproc remoteproc2: 40800000.dsp is available
    [    6.555314] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe6                                                                                                                                                             6 failed with error -2
    [    6.562958] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9                                                                                                                                                             f000000
    [    6.577872] remoteproc remoteproc2: powering up 40800000.dsp
    [    6.583688] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe6                                                                                                                                                             6 failed with error -2
    [    6.592815] remoteproc remoteproc2: request_firmware failed: -2
    [    6.603169] remoteproc remoteproc3: 41000000.dsp is available
    [    6.609098] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe6                                                                                                                                                             6 failed with error -2
    [    6.618192] remoteproc remoteproc3: powering up 41000000.dsp
    [    6.623949] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe6                                                                                                                                                             6 failed with error -2
    [    6.633061] remoteproc remoteproc3: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [    7.184343] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    7.196879] omap-des 480a5000.des: will run requests pump with realtime prior                                                                                                                                                             ity
    [    7.232050] rtc-ds1307: probe of 2-006f failed with error -5
    [    7.367094] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: reg                                                                                                                                                             istered 48070000.i2c:tps659 as rtc1
    [    7.561082] pixcir_ts 4-005c: pixcir_set_power_mode: can't read reg 0x33 : -1                                                                                                                                                             21
    [    7.568433] pixcir_ts 4-005c: Failed to set IDLE mode
    [    7.606445] pixcir_ts: probe of 4-005c failed with error -121
    [    7.668035] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [  OK  ] Started udev Coldplug all Devices.
    [    7.806553] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    7.853595] vpe 489d0000.vpe: Device registered as /dev/video0
    [  OK  ] Reached target System Initialization.
    [    7.876991] SCSI subsystem initialized
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [    8.031636] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    8.038396] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 im                                                                                                                                                             pl platform mode
    [  OK  [    8.050628] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo                                                                                                                                                              only pmp pio slum part ccc apst
    ] Reached target Basic System.
    [    8.136868] scsi host0: ahci
    [    8.159204] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x1                                                                                                                                                             00 irq 349
             Starting Print notice about GPLv3 packages...
             Starting tiipclad-daemon.service...
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Job spooling tools.
             Starting telnetd.service...
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [    8.551325] ata1: SATA link down (SStatus 0 SControl 300)
    [    8.651321] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    8.782193] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    8.806826] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
             Starting Network Service...
    [    8.826930] omap-aes 4b500000.aes: will run requests pump with realtime prior                                                                                                                                                             ity
    [    8.849852] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.871745] omap-aes 4b700000.aes: will run requests pump with realtime prior                                                                                                                                                             ity
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started telnetd.service.
    [    8.939429] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 580                                                                                                                                                             40000.encoder mapping ok
    [    8.980771] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data                                                                                                                                                              may be corrupt. Please run fsck.
    
    [  OK  ] Started Network Service.
    [    9.126010] net eth0: initializing cpsw version 1.15 (0)
    [    9.131379] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    9.146819] cpsw 48484000.ethernet: ALE Table size 1024
    [    9.195320] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    9.392596] TI DP83867 48485000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=48485000.mdio:00, irq=-1)
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [  OK  ] Reached target Network.
    [    9.501292] cpts ptp bc clkid 0
             Starting Permit User Sessions...
    [    9.539333] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
             Starting Network Name Resolution...
             Starting thttpd.service...
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [   10.103297] random: crng init done
    [  OK  ] Started rng-tools.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            binutils
            cifs-utils
            cpio
            dosfstools
            gawk
            gzip
            libreadline6
            m4
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting thermal-zone-init.service...
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started thermal-zone-init.service.
    [   11.251148] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   11.320283] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   11.366848] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   11.373479] usbcore: registered new interface driver usbfs
    [   11.373548] usbcore: registered new interface driver hub
    [   11.375321] usbcore: registered new device driver usb
    [   11.389497] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   11.389529] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   11.390081] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   11.394881] xhci-hcd xhci-hcd.1.auto: irq 476, io mem 0x48890000
    [   11.400818] hub 1-0:1.0: USB hub found
    [   11.400871] hub 1-0:1.0: 1 port detected
    [   11.401443] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   11.401460] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   11.401573] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.407685] hub 2-0:1.0: USB hub found
    [   11.407727] hub 2-0:1.0: 1 port detected
    [   11.502541] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   11.530693] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   11.543316] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   11.578174] remoteproc remoteproc4: 4b234000.pru0 is available
    [   11.596376] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   11.616175] remoteproc remoteproc5: 4b238000.pru1 is available
    [   11.623462] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   11.650585] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   11.661065] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   11.677582] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   11.685346] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [  OK  ] Reached target Sound Card.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [   12.578569] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   12.586564] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
    From 35e90a73b626f5caa40bbb51e58faad49125155c Mon Sep 17 00:00:00 2001
    From: balasub <balasubramanian@bigcatwireless.com>
    Date: Tue, 14 Sep 2021 11:37:42 +0530
    Subject: [PATCH] added pinmuxing configuration for qspi support in mux.h and
     added the qspi node in kernel dtsi
    
    ---
     U-BOOT-AM5728/board/ti/am57xx/mux_data.h      | 14 +++---
     .../boot/dts/am57xx-beagle-x15-common.dtsi    | 44 +++++++++++++++++++
     2 files changed, 51 insertions(+), 7 deletions(-)
    
    diff --git a/U-BOOT-AM5728/board/ti/am57xx/mux_data.h b/U-BOOT-AM5728/board/ti/am57xx/mux_data.h
    index a345fc3d5..d52a2e350 100644
    --- a/U-BOOT-AM5728/board/ti/am57xx/mux_data.h
    +++ b/U-BOOT-AM5728/board/ti/am57xx/mux_data.h
    @@ -32,7 +32,7 @@ const struct pad_conf_entry core_padconf_array_essential_x15[] = {
     	{GPMC_A0, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a0.vin3a_d16 */
     	{GPMC_A1, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a1.vin3a_d17 */
     	{GPMC_A2, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a2.vin3a_d18 */
    -	{GPMC_A3, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a3.vin3a_d19 */
    +	{GPMC_A3, (M1 | PIN_OUTPUT)},	/* gpmc_a3.vin3a_d19 */   //qspi cs2
     	{GPMC_A4, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a4.vin3a_d20 */
     	{GPMC_A5, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a5.vin3a_d21 */
     	{GPMC_A6, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a6.vin3a_d22 */
    @@ -42,12 +42,12 @@ const struct pad_conf_entry core_padconf_array_essential_x15[] = {
     	{GPMC_A10, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a10.vin3a_de0 */
     	{GPMC_A11, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a11.vin3a_fld0 */
     	{GPMC_A12, (M14 | PIN_INPUT_PULLUP)},	/* gpmc_a12.gpio2_2 */
    -	{GPMC_A13, (M14 | PIN_INPUT_PULLDOWN)},	/* gpmc_a13.gpio2_3 */
    -	{GPMC_A14, (M14 | PIN_INPUT_PULLUP)},	/* gpmc_a14.gpio2_4 */
    -	{GPMC_A15, (M14 | PIN_INPUT_PULLDOWN)},	/* gpmc_a15.gpio2_5 */
    -	{GPMC_A16, (M14 | PIN_INPUT_PULLDOWN)},	/* gpmc_a16.gpio2_6 */
    -	{GPMC_A17, (M14 | PIN_INPUT_PULLDOWN)},	/* gpmc_a17.gpio2_7 */
    -	{GPMC_A18, (M14 | PIN_INPUT_PULLUP)},	/* gpmc_a18.gpio2_8 */
    +	{GPMC_A13, (M1 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a13.gpio2_3 */
    +	{GPMC_A14, (M1 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a14.gpio2_4 */
    +	{GPMC_A15, (M1 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a15.gpio2_5 */
    +	{GPMC_A16, (M1 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a16.gpio2_6 */
    +	{GPMC_A17, (M1 | PIN_INPUT_PULLDOWN | MANUAL_MODE)},	/* gpmc_a17.gpio2_7 */
    +	{GPMC_A18, (M14 | PIN_OUTPUT)},	/* gpmc_a18.gpio2_8 */ //sclk
     	{GPMC_A19, (M1 | PIN_INPUT_PULLUP)},	/* gpmc_a19.mmc2_dat4 */
     	{GPMC_A20, (M1 | PIN_INPUT_PULLUP)},	/* gpmc_a20.mmc2_dat5 */
     	{GPMC_A21, (M1 | PIN_INPUT_PULLUP)},	/* gpmc_a21.mmc2_dat6 */
    diff --git a/linux-src-AM5728/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/linux-src-AM5728/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
    index feaab39ad..0b6a57186 100644
    --- a/linux-src-AM5728/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
    +++ b/linux-src-AM5728/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
    @@ -231,6 +231,50 @@
                   compatible = "rohm,dh2228fv";
            };
     };
    +
    +&qspi {
    +        status = "okay";
    +        spi-max-frequency = <48000000>;
    +
    +        spi_flash: spi_flash@2 {
    +                #address-cells = <1>;
    +                #size-cells = <1>;
    +                compatible = "spansion,m25p80", "jedec,spi-nor";
    +                reg = <0>;                              /* CS0 */
    +                spi-max-frequency = <48000000>;
    +
    +
    +        partition@0 {
    +            label = "QSPI.SPL";
    +            reg = <0x00000000 0x000040000>;
    +        };
    +        partition@1 {
    +            label = "QSPI.u-boot";
    +            reg = <0x00040000 0x00100000>;
    +        };
    +        partition@2 {
    +            label = "QSPI.u-boot-spl-os";
    +            reg = <0x00140000 0x00080000>;
    +        };
    +        partition@3 {
    +            label = "QSPI.u-boot-env";
    +            reg = <0x001c0000 0x00010000>;
    +        };
    +        partition@4 {
    +            label = "QSPI.u-boot-env.backup1";
    +            reg = <0x001d0000 0x0010000>;
    +        };
    +        partition@5 {
    +            label = "QSPI.kernel";
    +            reg = <0x001e0000 0x0800000>;
    +        };
    +        partition@6 {
    +            label = "QSPI.file-system";
    +            reg = <0x009e0000 0x01620000>;
    +        };
    +        };
    +
    +};
      
     &i2c1 {
     	status = "okay";
    -- 
    2.17.1
    
    

    please find the attached DTS changes and pinmux changes and the boot log.

  • issue is resolved we havent mentioned the reg = <2> . we are using chip select 2 . once i changed reg = <0> to reg = <2> it worked