Tool/software:
Hello
I have recently found that the network port sometimes fails to start and even freezes when using the AM62 self-made board.The SDK version 8.6 I am using has experienced this phenomenon with rootfs being default and buildroot.
Phenomenon: During the boot process, the network port is connected to the device for TCP communication. Occasionally, there may be abnormal startup of the connected network card, and both the buildroot and default rootfs are affected. The Dp83867 indicator light on the network port remains on and cannot be pinged. The network card cannot be queried by ifconfig in the buildroot system, but it can be viewed by ifconfig - a. In the default rootfs, the static IP cannot be displayed when the network cable is unplugged.
The two DMESG messages are as follows:; Eth0 appears on the busybox system, eth1 appears on the default system.
eth0
root@Moons:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-rt83 (root@ubuntu) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #6 SMP PREEMPT_RT Wed Feb 12 14:04:57 CST 2025 [ 0.000000] Machine model: TL62x-EVM [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB [ 0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB [ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009c7fffff] [ 0.000000] node 0: [mem 0x000000009c800000-0x000000009e6fffff] [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] On node 0 totalpages: 524288 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 524288 pages, LIFO batch:63 [ 0.000000] cma: Reserved 144 MiB at 0x00000000f4000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 18 pages/cpu s36032 r8192 d29504 u73728 [ 0.000000] pcpu-alloc: s36032 r8192 d29504 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 isolcpus=1-3 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c5d6626c-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1832960K/2097152K available (11072K kernel code, 1214K rwdata, 4296K rodata, 1792K init, 437K bss, 116736K reserved, 147456K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000000] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008520] Console: colour dummy device 80x25 [ 0.013112] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.023793] pid_max: default: 32768 minimum: 301 [ 0.028611] LSM: Security Framework initializing [ 0.033409] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.040992] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.051012] rcu: Hierarchical SRCU implementation. [ 0.056453] Platform MSI: msi-controller@1820000 domain created [ 0.062791] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.072061] EFI services will not be available. [ 0.076989] smp: Bringing up secondary CPUs ... [ 0.082415] Detected VIPT I-cache on CPU1 [ 0.086550] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.093588] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.101024] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.108581] Detected VIPT I-cache on CPU2 [ 0.112705] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.119739] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.127157] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.134643] Detected VIPT I-cache on CPU3 [ 0.138764] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.145797] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.153214] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.159983] smp: Brought up 1 node, 4 CPUs [ 0.164188] SMP: Total of 4 processors activated. [ 0.169007] CPU features: detected: 32-bit EL0 Support [ 0.174271] CPU features: detected: CRC32 instructions [ 0.186711] CPU: All CPU(s) started at EL2 [ 0.190920] alternatives: patching kernel code [ 0.196520] devtmpfs: initialized [ 0.207544] KASLR disabled due to lack of seed [ 0.212262] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.222259] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.233856] pinctrl core: initialized pinctrl subsystem [ 0.239944] DMI not present or invalid. [ 0.244589] NET: Registered protocol family 16 [ 0.251058] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.258411] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.266504] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.275243] thermal_sys: Registered thermal governor 'step_wise' [ 0.275905] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.289086] ASID allocator initialised with 65536 entries [ 0.322045] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.328960] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.335833] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.342714] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.350842] cryptd: max_cpu_qlen set to 1000 [ 0.358828] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.368093] vcc_5v0: supplied by vmain_pd [ 0.372756] vcc_3v3_sys: supplied by vmain_pd [ 0.377643] vdd_mmc1: supplied by vcc_3v3_sys [ 0.382640] vcc_1v8: supplied by vcc_3v3_sys [ 0.388342] iommu: Default domain type: Translated [ 0.393697] SCSI subsystem initialized [ 0.398028] mc: Linux media interface: v0.10 [ 0.402433] videodev: Linux video capture interface: v2.00 [ 0.408147] pps_core: LinuxPPS API ver. 1 registered [ 0.413223] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.422573] PTP clock support registered [ 0.426633] EDAC MC: Ver: 3.0.0 [ 0.430563] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.437743] FPGA manager framework [ 0.441330] Advanced Linux Sound Architecture Driver Initialized. [ 0.448558] clocksource: Switched to clocksource arch_sys_counter [ 0.455103] VFS: Disk quotas dquot_6.6.0 [ 0.459178] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.471850] NET: Registered protocol family 2 [ 0.476594] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.485654] tcp_listen_portaddr_hash hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.494579] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.502832] TCP bind hash table entries: 16384 (order: 7, 917504 bytes, linear) [ 0.511320] TCP: Hash tables configured (established 16384 bind 16384) [ 0.518300] UDP hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.525437] UDP-Lite hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.533251] NET: Registered protocol family 1 [ 0.538245] RPC: Registered named UNIX socket transport module. [ 0.544341] RPC: Registered udp transport module. [ 0.549151] RPC: Registered tcp transport module. [ 0.553998] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.560608] NET: Registered protocol family 44 [ 0.565167] PCI: CLS 0 bytes, default 64 [ 0.570198] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.583234] Initialise system trusted keyrings [ 0.588045] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.599881] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.606492] NFS: Registering the id_resolver key type [ 0.611788] Key type id_resolver registered [ 0.616092] Key type id_legacy registered [ 0.620295] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.627164] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.634942] 9p: Installing v9fs 9p2000 file system support [ 0.675755] Key type asymmetric registered [ 0.679953] Asymmetric key parser 'x509' registered [ 0.685011] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.692579] io scheduler mq-deadline registered [ 0.697248] io scheduler kyber registered [ 0.703834] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.710299] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.717268] pinctrl-single a40000.timesync-router: 512 pins, size 2048 [ 0.732401] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.746120] pinctrl-single f4000.pinctrl: pin PIN65 already requested by f4000.pinctrl; cannot claim for 30200000.dss [ 0.756998] pinctrl-single f4000.pinctrl: pin-65 (30200000.dss) status -22 [ 0.764033] pinctrl-single f4000.pinctrl: could not request pin 65 (PIN65) from group main-dss0-pins-default on device pinctrl-single [ 0.776399] tidss 30200000.dss: Error applying setting, reverse things back [ 0.783529] tidss: probe of 30200000.dss failed with error -22 [ 0.797675] brd: module loaded [ 0.809766] loop: module loaded [ 0.813965] megasas: 07.714.04.00-rc1 [ 0.822019] tun: Universal TUN/TAP device driver, 1.6 [ 0.827853] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.834279] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.840405] sky2: driver version 1.30 [ 0.845251] VFIO - User Level meta-driver version: 0.3 [ 0.851484] i2c /dev entries driver [ 0.857048] sdhci: Secure Digital Host Controller Interface driver [ 0.863425] sdhci: Copyright(c) Pierre Ossman [ 0.868480] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.875831] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.884216] optee: probing for conduit method. [ 0.888825] optee: revision 3.20 (8e74d476) [ 0.889110] optee: dynamic shared memory is enabled [ 0.898653] optee: initialized driver [ 0.904674] NET: Registered protocol family 17 [ 0.909440] 9pnet: Installing 9P2000 support [ 0.913909] Key type dns_resolver registered [ 0.918670] printk: bootconsole [ns16550a0]: printing thread started [ 0.918720] Loading compiled-in X.509 certificates [ 0.944084] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.944173] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 1.017252] davinci-mcasp 2b00000.mcasp: IRQ common not found [ 1.025920] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 1.025938] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 1.030232] physmap-flash 50000000.nor: physmap platform flash device: [mem 0x50000000-0x50ffffff] [ 1.030312] physmap-flash 50000000.nor: map_probe failed [ 1.058666] bq32k: probe of 0-0068 failed with error -5 [ 1.058754] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 1.071263] omap_i2c 20020000.i2c: bus 1 rev0.12 at 400 kHz [ 1.071773] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created [ 1.071955] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 1.072237] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 1.073022] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 1.075344] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 1.078166] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 1.082368] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 1.095058] 4a00000.serial: ttyS8 at MMIO 0x4a00000 (irq = 15, base_baud = 3000000) is a 8250 [ 1.096419] 2b300000.serial: ttyS9 at MMIO 0x2b300000 (irq = 18, base_baud = 3000000) is a 8250 [ 1.097658] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 29, base_baud = 3000000) is a 8250 [ 1.100801] printk: console [ttyS2]: printing thread started [ 1.100817] printk: console [ttyS2] enabled [ 1.100821] printk: bootconsole [ns16550a0] disabled [ 1.115514] printk: bootconsole [ns16550a0]: printing thread stopped [ 1.116887] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250 [ 1.118096] omap8250 2820000.serial: unable to register 8250 port [ 1.118113] omap8250 2820000.serial: PM domain pd:153 will not be powered off [ 1.119252] omap8250 2840000.serial: unable to register 8250 port [ 1.120220] omap8250 2850000.serial: unable to register 8250 port [ 1.121113] 2860000.serial: ttyS7 at MMIO 0x2860000 (irq = 34, base_baud = 3000000) is a 8250 [ 1.187149] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.220589] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.220879] mdio_bus 8000f00.mdio: MDIO device at address 0 is missing. [ 1.236392] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867 [ 1.236503] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.236875] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.236885] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.236891] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.245775] pps pps0: new PPS source ptp0 [ 1.258502] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.279173] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.301980] rtc-ti-k3 2b1f0000.rtc: registered as rtc1 [ 1.411518] mmc0: CQHCI version 5.10 [ 1.417434] davinci-mcasp 2b00000.mcasp: IRQ common not found [ 1.423554] mmc1: CQHCI version 5.10 [ 1.442460] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250 [ 1.452245] 2840000.serial: ttyS5 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250 [ 1.461855] 2850000.serial: ttyS6 at MMIO 0x2850000 (irq = 33, base_baud = 3000000) is a 8250 [ 1.464496] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 1.464579] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 1.464637] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 1.465018] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.468589] input: poweroff-signal as /devices/platform/poweroff-signal/input/input0 [ 1.477836] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.478113] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.479385] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 1.491125] ALSA device list: [ 1.491135] No soundcards found. [ 1.503048] Waiting for root device PARTUUID=c5d6626c-02... [ 1.513337] mmc1: new high speed SDHC card at address aaaa [ 1.526514] mmcblk1: mmc1:aaaa SD32G 29.7 GiB [ 1.528313] mmcblk1: p1 p2 p3 [ 1.592707] mmc0: Command Queue Engine enabled [ 1.592736] mmc0: new HS200 MMC card at address 0001 [ 1.594597] mmcblk0: mmc0:0001 S0311D 7.20 GiB [ 1.594807] mmcblk0boot0: mmc0:0001 S0311D partition 1 4.00 MiB [ 1.594998] mmcblk0boot1: mmc0:0001 S0311D partition 2 4.00 MiB [ 1.595750] mmcblk0rpmb: mmc0:0001 S0311D partition 3 4.00 MiB, chardev (237:0) [ 1.597569] mmcblk0: p1 p2 [ 1.621638] EXT4-fs (mmcblk1p2): recovery complete [ 1.622933] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.623022] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.630699] devtmpfs: mounted [ 1.632045] Freeing unused kernel memory: 1792K [ 1.632148] Run /sbin/init as init process [ 1.632151] with arguments: [ 1.632152] /sbin/init [ 1.632155] with environment: [ 1.632156] HOME=/ [ 1.632158] TERM=linux [ 1.757795] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ 1.821076] random: crng init done [ 1.992299] udevd[223]: starting version 3.2.11 [ 2.045349] udevd[224]: starting eudev-3.2.11 [ 2.440101] CAN device driver interface [ 2.469948] at24 1-0051: supply vcc not found, using dummy regulator [ 2.480839] at24 1-0051: 16384 byte 24c128 EEPROM, writable, 1 bytes/write [ 2.644983] m_can_platform 20701000.can: m_can device registered (irq=47, version=32) [ 2.713562] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 2.713658] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 2.713717] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 2.713947] remoteproc remoteproc0: 5000000.m4fss is available [ 2.745937] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 2.745971] remoteproc remoteproc0: powering up 5000000.m4fss [ 2.746006] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 2.746014] remoteproc remoteproc0: request_firmware failed: -2 [ 2.771044] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 2.771195] platform 78000000.r5f: configured R5F for IPC-only mode [ 2.771248] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000 [ 2.771528] remoteproc remoteproc1: 78000000.r5f is available [ 2.771987] remoteproc remoteproc1: attaching to 78000000.r5f [ 2.781112] platform 78000000.r5f: R5F core initialized in IPC-only mode [ 2.781157] remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000 [ 2.781326] remoteproc1#vdev0buffer: registered virtio0 (type 7) [ 2.781334] remoteproc remoteproc1: remote processor 78000000.r5f is now attached [ 3.292150] virtio_rpmsg_bus virtio0: rpmsg host is online [ 3.387382] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 [ 3.974748] usbcore: registered new interface driver usbfs [ 3.975217] usbcore: registered new interface driver hub [ 3.986951] usbcore: registered new device driver usb [ 4.193054] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 4.193102] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 4.193334] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 [ 4.207115] xhci-hcd xhci-hcd.1.auto: irq 485, io mem 0x31100000 [ 4.207312] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 4.207329] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 4.207346] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 4.207502] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 4.207510] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.207515] usb usb1: Product: xHCI Host Controller [ 4.207520] usb usb1: Manufacturer: Linux 5.10.168-rt83 xhci-hcd [ 4.207524] usb usb1: SerialNumber: xhci-hcd.1.auto [ 4.209028] hub 1-0:1.0: USB hub found [ 4.209071] hub 1-0:1.0: 1 port detected [ 4.211780] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 4.211896] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 4.211904] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.211910] usb usb2: Product: xHCI Host Controller [ 4.211914] usb usb2: Manufacturer: Linux 5.10.168-rt83 xhci-hcd [ 4.211919] usb usb2: SerialNumber: xhci-hcd.1.auto [ 4.213148] hub 2-0:1.0: USB hub found [ 4.213195] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [ 4.396376] usbcore: registered new interface driver smsc95xx [ 4.456612] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 4.582816] usb 1-1: New USB device found, idVendor=0424, idProduct=9e00, bcdDevice= 3.00 [ 4.582841] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 4.589732] smsc95xx v2.0.0 [ 4.649050] using random self ethernet address [ 4.649067] using random host ethernet address [ 4.652874] usb0: HOST MAC da:f1:33:8c:63:7f [ 4.652886] usb0: MAC fa:5d:27:a5:5a:f2 [ 4.652933] g_ncm gadget: NCM Gadget [ 4.652938] g_ncm gadget: g_ncm ready [ 4.731974] SMSC LAN8710/LAN8720 usb-001:002:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=usb-001:002:01, irq=POLL) [ 4.733314] smsc95xx 1-1:1.0 eth2: register 'smsc95xx' at usb-xhci-hcd.1.auto-1, smsc95xx USB 2.0 Ethernet, 3e:c4:66:d2:aa:27 [ 6.822208] NET: Registered protocol family 10 [ 6.828446] Segment Routing with IPv6 [ 7.566542] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 7.649409] Bridge firewalling registered [ 7.911685] Initializing XFRM netlink socket [ 8.307368] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL) [ 8.307404] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 8.401097] smsc95xx 1-1:1.0 eth2: Link is Down [ 8.779808] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL) [ 8.779842] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 8.981047] smsc95xx 1-1:1.0 eth2: Link is Down [ 9.769842] can: controller area network core [ 9.769960] NET: Registered protocol family 29 [ 9.839658] can: raw protocol [ 31.977627] tlv71033: disabling [ 1299.050444] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 1299.053396] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 1302.122395] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down [ 1304.490279] smsc95xx 1-1:1.0 eth2: Link is Up - 100Mbps/Full - flow control off [ 1304.490409] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready [ 1306.547554] smsc95xx 1-1:1.0 eth2: Link is Down

eth1
root@Moons:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-rt83-gc051d9cb75fe-dirty (zhongqj@ubuntu) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT_RT Sun Nov 17 09:32:44 CST 2024 [ 0.000000] Machine model: TL62x-EVM [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB [ 0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB [ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009c7fffff] [ 0.000000] node 0: [mem 0x000000009c800000-0x000000009e6fffff] [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] On node 0 totalpages: 524288 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 524288 pages, LIFO batch:63 [ 0.000000] cma: Reserved 144 MiB at 0x00000000f4000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 18 pages/cpu s36032 r8192 d29504 u73728 [ 0.000000] pcpu-alloc: s36032 r8192 d29504 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 isolcpus=1-3 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=7b1add80-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1832924K/2097152K available (11072K kernel code, 1216K rwdata, 4304K rodata, 1792K init, 439K bss, 116772K reserved, 147456K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000000] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008540] Console: colour dummy device 80x25 [ 0.013136] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.023818] pid_max: default: 32768 minimum: 301 [ 0.028640] LSM: Security Framework initializing [ 0.033437] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.041019] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.051085] rcu: Hierarchical SRCU implementation. [ 0.056505] Platform MSI: msi-controller@1820000 domain created [ 0.062893] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.072188] EFI services will not be available. [ 0.077135] smp: Bringing up secondary CPUs ... [ 0.082553] Detected VIPT I-cache on CPU1 [ 0.086686] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.093724] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.101159] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.108711] Detected VIPT I-cache on CPU2 [ 0.112836] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.119871] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.127288] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.134774] Detected VIPT I-cache on CPU3 [ 0.138896] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.145929] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.153344] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.160113] smp: Brought up 1 node, 4 CPUs [ 0.164317] SMP: Total of 4 processors activated. [ 0.169137] CPU features: detected: 32-bit EL0 Support [ 0.174400] CPU features: detected: CRC32 instructions [ 0.186842] CPU: All CPU(s) started at EL2 [ 0.191048] alternatives: patching kernel code [ 0.196631] devtmpfs: initialized [ 0.208227] KASLR disabled due to lack of seed [ 0.212934] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.222932] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.234551] pinctrl core: initialized pinctrl subsystem [ 0.240614] DMI not present or invalid. [ 0.245255] NET: Registered protocol family 16 [ 0.251714] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.259069] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.267164] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.275896] thermal_sys: Registered thermal governor 'step_wise' [ 0.276572] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.289752] ASID allocator initialised with 65536 entries [ 0.325314] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.332220] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.339116] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.345981] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.354097] cryptd: max_cpu_qlen set to 1000 [ 0.362277] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.371618] vcc_5v0: supplied by vmain_pd [ 0.376271] vcc_3v3_sys: supplied by vmain_pd [ 0.381008] vdd_mmc1: supplied by vcc_3v3_sys [ 0.386070] vcc_1v8: supplied by vcc_3v3_sys [ 0.391676] iommu: Default domain type: Translated [ 0.397029] SCSI subsystem initialized [ 0.401395] mc: Linux media interface: v0.10 [ 0.405800] videodev: Linux video capture interface: v2.00 [ 0.411517] pps_core: LinuxPPS API ver. 1 registered [ 0.416593] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.425942] PTP clock support registered [ 0.430001] EDAC MC: Ver: 3.0.0 [ 0.433980] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.441176] FPGA manager framework [ 0.444772] Advanced Linux Sound Architecture Driver Initialized. [ 0.451998] clocksource: Switched to clocksource arch_sys_counter [ 0.458531] VFS: Disk quotas dquot_6.6.0 [ 0.462607] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.475260] NET: Registered protocol family 2 [ 0.480010] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.489085] tcp_listen_portaddr_hash hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.497991] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.506243] TCP bind hash table entries: 16384 (order: 7, 917504 bytes, linear) [ 0.514734] TCP: Hash tables configured (established 16384 bind 16384) [ 0.521715] UDP hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.528848] UDP-Lite hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.536672] NET: Registered protocol family 1 [ 0.541664] RPC: Registered named UNIX socket transport module. [ 0.547759] RPC: Registered udp transport module. [ 0.552569] RPC: Registered tcp transport module. [ 0.557417] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.564026] NET: Registered protocol family 44 [ 0.568585] PCI: CLS 0 bytes, default 64 [ 0.573614] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.586627] Initialise system trusted keyrings [ 0.591437] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.603310] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.609914] NFS: Registering the id_resolver key type [ 0.615164] Key type id_resolver registered [ 0.619468] Key type id_legacy registered [ 0.623669] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.630538] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.638328] 9p: Installing v9fs 9p2000 file system support [ 0.678762] Key type asymmetric registered [ 0.682960] Asymmetric key parser 'x509' registered [ 0.688030] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.695597] io scheduler mq-deadline registered [ 0.700268] io scheduler kyber registered [ 0.706966] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.713464] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.720467] pinctrl-single a40000.timesync-router: 512 pins, size 2048 [ 0.730164] pwm-backlight backlight: supply power not found, using dummy regulator [ 0.744344] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.757675] panel-simple display: supply power not found, using dummy regulator [ 0.765422] ------------[ cut here ]------------ [ 0.770142] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/panel/panel-simple.c:467 panel_simple_parse_panel_timing_node+0x1d4/0x1e8 [ 0.781893] Modules linked in: [ 0.785014] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.168-rt83-gc051d9cb75fe-dirty #1 [ 0.793462] Hardware name: TL62x-EVM (DT) [ 0.797554] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--) [ 0.803693] pc : panel_simple_parse_panel_timing_node+0x1d4/0x1e8 [ 0.809919] lr : panel_simple_probe+0x2ac/0x3d8 [ 0.814546] sp : ffff8000112bba60 [ 0.817926] x29: ffff8000112bba60 x28: 0000000000000000 [ 0.823354] x27: ffff800010f91078 x26: ffff800010f204c0 [ 0.828781] x25: ffff8000111bfc80 x24: 0000000000000000 [ 0.834208] x23: ffff800010ba22b0 x22: ffff0000000e8000 [ 0.839634] x21: ffff0000003adc10 x20: ffff0000000e8000 [ 0.845062] x19: ffff000001114a80 x18: 0000000000000000 [ 0.850488] x17: 0000000000000000 x16: 00000000679ea083 [ 0.855914] x15: ffffffffffffffff x14: ffffffff00000000 [ 0.861341] x13: ffffffffffffffff x12: 0000000000000020 [ 0.866768] x11: 0000000000000004 x10: 0101010101010101 [ 0.872195] x9 : fffffffffffffffe x8 : 7f7f7f7f7f7f7f7f [ 0.877622] x7 : fefefeff646c606d x6 : 0a0e1807ece5e3ec [ 0.883049] x5 : ffff00007fc17c50 x4 : 0000000000000000 [ 0.888475] x3 : ffff800010ba22b0 x2 : ffff8000112bbb18 [ 0.893901] x1 : 0000000000000001 x0 : ffff0000003adc10 [ 0.899329] Call trace: [ 0.901822] panel_simple_parse_panel_timing_node+0x1d4/0x1e8 [ 0.907693] panel_simple_probe+0x2ac/0x3d8 [ 0.911965] panel_simple_platform_probe+0x34/0x50 [ 0.916858] platform_drv_probe+0x54/0xa8 [ 0.920957] really_probe+0xec/0x400 [ 0.924609] driver_probe_device+0x58/0xb8 [ 0.928792] device_driver_attach+0x74/0x80 [ 0.933065] __driver_attach+0x68/0xf8 [ 0.936894] bus_for_each_dev+0x70/0xc0 [ 0.940810] driver_attach+0x24/0x30 [ 0.944461] bus_add_driver+0x150/0x210 [ 0.948378] driver_register+0x64/0x120 [ 0.952296] __platform_driver_register+0x48/0x58 [ 0.957102] panel_simple_init+0x24/0x4c [ 0.961113] do_one_initcall+0x54/0x1b8 [ 0.965032] kernel_init_freeable+0x230/0x298 [ 0.969485] kernel_init+0x14/0x114 [ 0.973048] ret_from_fork+0x10/0x30 [ 0.976699] ---[ end trace 0000000000000001 ]--- [ 0.981540] panel-simple display: Reject override mode: panel has a fixed mode [ 0.990066] pinctrl-single f4000.pinctrl: pin PIN65 already requested by f4000.pinctrl; cannot claim for 30200000.dss [ 1.000926] pinctrl-single f4000.pinctrl: pin-65 (30200000.dss) status -22 [ 1.007959] pinctrl-single f4000.pinctrl: could not request pin 65 (PIN65) from group main-dss0-pins-default on device pinctrl-single [ 1.020325] tidss 30200000.dss: Error applying setting, reverse things back [ 1.027459] tidss: probe of 30200000.dss failed with error -22 [ 1.041500] brd: module loaded [ 1.053615] loop: module loaded [ 1.057859] megasas: 07.714.04.00-rc1 [ 1.066187] tun: Universal TUN/TAP device driver, 1.6 [ 1.072033] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 1.078457] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.084579] sky2: driver version 1.30 [ 1.089516] VFIO - User Level meta-driver version: 0.3 [ 1.096078] i2c /dev entries driver [ 1.101673] sdhci: Secure Digital Host Controller Interface driver [ 1.108079] sdhci: Copyright(c) Pierre Ossman [ 1.113203] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.120598] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 1.129096] optee: probing for conduit method. [ 1.133697] optee: revision 3.20 (8e74d476) [ 1.134012] optee: dynamic shared memory is enabled [ 1.143504] optee: initialized driver [ 1.149589] NET: Registered protocol family 17 [ 1.154334] 9pnet: Installing 9P2000 support [ 1.158809] Key type dns_resolver registered [ 1.163577] printk: bootconsole [ns16550a0]: printing thread started [ 1.163626] Loading compiled-in X.509 certificates [ 1.169239] pwm-backlight backlight: supply power not found, using dummy regulator [ 1.193655] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 1.193742] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 1.271378] davinci-mcasp 2b00000.mcasp: IRQ common not found [ 1.280383] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 1.280404] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 1.292494] physmap-flash 50000000.nor: physmap platform flash device: [mem 0x50000000-0x50ffffff] [ 1.292576] physmap-flash 50000000.nor: map_probe failed [ 1.309055] bq32k: probe of 0-0068 failed with error -5 [ 1.309742] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 1.321225] omap_i2c 20020000.i2c: bus 1 rev0.12 at 400 kHz [ 1.321901] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created [ 1.322139] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 1.322425] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 1.323222] pwm-backlight backlight: supply power not found, using dummy regulator [ 1.324292] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 1.326500] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 1.329335] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 1.333542] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 1.345514] 4a00000.serial: ttyS8 at MMIO 0x4a00000 (irq = 15, base_baud = 3000000) is a 8250 [ 1.346906] 2b300000.serial: ttyS9 at MMIO 0x2b300000 (irq = 18, base_baud = 3000000) is a 8250 [ 1.348142] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 29, base_baud = 3000000) is a 8250 [ 1.348661] printk: console [ttyS2]: printing thread started [ 1.348675] printk: console [ttyS2] enabled [ 1.348679] printk: bootconsole [ns16550a0] disabled [ 1.371673] printk: bootconsole [ns16550a0]: printing thread stopped [ 1.373077] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250 [ 1.374288] omap8250 2820000.serial: unable to register 8250 port [ 1.374303] omap8250 2820000.serial: PM domain pd:153 will not be powered off [ 1.375437] omap8250 2840000.serial: unable to register 8250 port [ 1.376401] omap8250 2850000.serial: unable to register 8250 port [ 1.377311] 2860000.serial: ttyS7 at MMIO 0x2860000 (irq = 34, base_baud = 3000000) is a 8250 [ 1.395647] spi spi0.0: setup: ignoring unsupported mode bits 200 [ 1.396042] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff [ 1.396064] spi-nor: probe of spi0.0 failed with error -2 [ 1.455400] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.489040] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.498651] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867 [ 1.498666] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown [ 1.498787] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.499147] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.499159] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.499165] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.516245] pps pps0: new PPS source ptp0 [ 1.516540] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.529913] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.571397] rtc-ti-k3 2b1f0000.rtc: registered as rtc1 [ 1.680301] mmc0: CQHCI version 5.10 [ 1.686077] davinci-mcasp 2b00000.mcasp: IRQ common not found [ 1.686415] mmc1: CQHCI version 5.10 [ 1.713792] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250 [ 1.723612] 2840000.serial: ttyS5 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250 [ 1.724642] 2850000.serial: ttyS6 at MMIO 0x2850000 (irq = 33, base_baud = 3000000) is a 8250 [ 1.725389] ads7846 spi3.0: supply vcc not found, using dummy regulator [ 1.734347] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.734822] ads7846 spi3.0: touchscreen, irq 427 [ 1.735620] input: ADS7846 Touchscreen as /devices/platform/bus@f0000/20100000.spi/spi_master/spi3/spi3.0/input/input0 [ 1.738068] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 1.738141] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 1.738177] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 1.738593] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.758210] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 1.769963] ALSA device list: [ 1.769975] No soundcards found. [ 1.864503] mmc0: Command Queue Engine enabled [ 1.864527] mmc0: new HS200 MMC card at address 0001 [ 1.874711] mmcblk0: mmc0:0001 S0311D 7.20 GiB [ 1.874916] mmcblk0boot0: mmc0:0001 S0311D partition 1 4.00 MiB [ 1.875116] mmcblk0boot1: mmc0:0001 S0311D partition 2 4.00 MiB [ 1.875304] mmcblk0rpmb: mmc0:0001 S0311D partition 3 4.00 MiB, chardev (237:0) [ 1.876563] mmcblk0: p1 p2 [ 3.214582] sdhci-am654 fa00000.mmc: Power on failed [ 3.245213] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 3.411251] EXT4-fs (mmcblk0p2): recovery complete [ 3.411832] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.411921] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 3.425702] devtmpfs: mounted [ 3.427140] Freeing unused kernel memory: 1792K [ 3.427254] Run /sbin/init as init process [ 3.427257] with arguments: [ 3.427259] /sbin/init [ 3.427261] with environment: [ 3.427262] HOME=/ [ 3.427264] TERM=linux [ 3.508596] systemd[1]: System time before build time, advancing clock. [ 3.710073] NET: Registered protocol family 10 [ 3.715853] Segment Routing with IPv6 [ 3.742915] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 3.746493] systemd[1]: Detected architecture arm64. [ 3.787646] systemd[1]: Set hostname to <Moons>. [ 4.365029] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring. [ 4.365906] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring. [ 4.397869] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring. [ 4.423793] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly. [ 4.453374] systemd[1]: Configuration file /etc/systemd/system/MoonsAuto.service is marked executable. Please remove executable permission bits. Proceeding anyway. [ 4.457179] systemd[1]: Configuration file /etc/systemd/system/MCA6_first_start.service is marked executable. Please remove executable permission bits. Proceeding anyway. [ 4.557627] random: systemd: uninitialized urandom read (16 bytes read) [ 4.568839] systemd[1]: Created slice system-getty.slice. [ 4.583200] random: systemd: uninitialized urandom read (16 bytes read) [ 4.591886] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.607173] random: systemd: uninitialized urandom read (16 bytes read) [ 4.608954] systemd[1]: Created slice User and Session Slice. [ 4.628541] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.645400] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.664353] systemd[1]: Reached target Paths. [ 4.676231] systemd[1]: Reached target Remote File Systems. [ 4.690144] systemd[1]: Reached target Slices. [ 4.702166] systemd[1]: Reached target Swap. [ 4.735924] systemd[1]: Listening on RPCbind Server Activation Socket. [ 4.751330] systemd[1]: Reached target RPC Port Mapper. [ 4.772490] systemd[1]: Listening on Process Core Dump Socket. [ 4.787567] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 4.805741] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 4.808730] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.829867] systemd[1]: Listening on Journal Socket. [ 4.843952] systemd[1]: Listening on Network Service Netlink Socket. [ 4.859757] systemd[1]: Listening on udev Control Socket. [ 4.874590] systemd[1]: Listening on udev Kernel Socket. [ 4.893557] systemd[1]: Mounting Huge Pages File System... [ 4.917427] systemd[1]: Mounting POSIX Message Queue File System... [ 4.937929] systemd[1]: Mounting Kernel Debug File System... [ 4.967476] systemd[1]: Mounting Temporary Directory (/tmp)... [ 4.987582] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 5.012590] systemd[1]: Starting Start psplash boot splash screen... [ 5.038783] systemd[1]: Starting RPC Bind... [ 5.056490] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 5.077149] systemd[1]: Starting Journal Service... [ 5.108079] systemd[1]: Starting Load Kernel Modules... [ 5.126495] systemd[1]: Starting Remount Root and Kernel File Systems... [ 5.159450] systemd[1]: Starting udev Coldplug all Devices... [ 5.186779] systemd[1]: Started RPC Bind. [ 5.206960] systemd[1]: Mounted Huge Pages File System. [ 5.225183] systemd[1]: Mounted POSIX Message Queue File System. [ 5.249436] systemd[1]: Mounted Kernel Debug File System. [ 5.275481] systemd[1]: Mounted Temporary Directory (/tmp). [ 5.305162] systemd[1]: Started Create list of static device nodes for the current kernel. [ 5.331351] systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION [ 5.331834] systemd[1]: psplash-start.service: Failed with result 'exit-code'. [ 5.334236] systemd[1]: Failed to start Start psplash boot splash screen. [ 5.390207] systemd[1]: Dependency failed for Start psplash-systemd progress communication helper. [ 5.399442] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 5.418239] systemd[1]: psplash-systemd.service: Job psplash-systemd.service/start failed with result 'dependency'. [ 5.423311] systemd[1]: Started Load Kernel Modules. [ 5.461273] systemd[1]: Condition check resulted in FUSE Control File System being skipped. [ 5.466450] systemd[1]: Mounting Kernel Configuration File System... [ 5.519246] systemd[1]: Starting Apply Kernel Variables... [ 5.552138] systemd[1]: Started Remount Root and Kernel File Systems. [ 5.571697] systemd[1]: Mounted Kernel Configuration File System. [ 5.611701] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 5.611881] systemd[1]: Condition check resulted in Create System Users being skipped. [ 5.612073] random: systemd: uninitialized urandom read (16 bytes read) [ 5.616932] systemd[1]: Starting Create Static Device Nodes in /dev... [ 5.650351] systemd[1]: Started Apply Kernel Variables. [ 5.703938] systemd[1]: Started Journal Service. [ 5.715422] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 5.729851] random: systemd: uninitialized urandom read (16 bytes read) [ 5.774730] systemd-journald[211]: Received client request to flush runtime journal. [ 6.560094] random: crng init done [ 6.560112] random: 61 urandom warning(s) missed due to ratelimiting [ 7.513658] at24 1-0051: supply vcc not found, using dummy regulator [ 7.542445] at24 1-0051: 16384 byte 24c128 EEPROM, writable, 1 bytes/write [ 7.670708] CAN device driver interface [ 7.874182] m_can_platform 4e00000.can: IRQ int0 not found [ 7.874203] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 7.892284] m_can_platform 4e10000.can: IRQ int0 not found [ 7.892304] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 7.977860] m_can_platform 20701000.can: m_can device registered (irq=48, version=32) [ 7.990549] m_can_platform 4e00000.can: IRQ int0 not found [ 7.990567] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 7.991699] m_can_platform 4e10000.can: IRQ int0 not found [ 7.991711] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.124253] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 8.135062] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 8.135166] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 8.135425] remoteproc remoteproc0: 5000000.m4fss is available [ 8.141231] remoteproc remoteproc0: powering up 5000000.m4fss [ 8.141254] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 105960 [ 8.163480] remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000 [ 8.163825] remoteproc0#vdev0buffer: registered virtio0 (type 7) [ 8.163837] remoteproc remoteproc0: remote processor 5000000.m4fss is now up [ 8.166206] m_can_platform 4e00000.can: IRQ int0 not found [ 8.166223] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.166969] m_can_platform 4e10000.can: IRQ int0 not found [ 8.166976] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.248031] m_can_platform 4e00000.can: IRQ int0 not found [ 8.248050] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.248733] m_can_platform 4e10000.can: IRQ int0 not found [ 8.248742] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.471904] virtio_rpmsg_bus virtio0: rpmsg host is online [ 8.473316] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 8.473487] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 8.474140] m_can_platform 4e00000.can: IRQ int0 not found [ 8.474148] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.486822] m_can_platform 4e10000.can: IRQ int0 not found [ 8.486832] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.549978] m_can_platform 4e00000.can: IRQ int0 not found [ 8.550025] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.550691] m_can_platform 4e10000.can: IRQ int0 not found [ 8.550700] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.557517] m_can_platform 4e00000.can: IRQ int0 not found [ 8.557536] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.558366] m_can_platform 4e10000.can: IRQ int0 not found [ 8.558377] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.579211] m_can_platform 4e00000.can: IRQ int0 not found [ 8.579231] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.579975] m_can_platform 4e10000.can: IRQ int0 not found [ 8.580058] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.711729] m_can_platform 4e00000.can: IRQ int0 not found [ 8.711750] m_can_platform 4e00000.can: Unable to get irq by int0 name [ 8.713776] m_can_platform 4e00000.can: m_can device registered (irq=-6, version=32) [ 8.715290] m_can_platform 4e10000.can: IRQ int0 not found [ 8.715305] m_can_platform 4e10000.can: Unable to get irq by int0 name [ 8.717225] m_can_platform 4e10000.can: m_can device registered (irq=-6, version=32) [ 8.773066] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 8.773228] platform 78000000.r5f: configured R5F for IPC-only mode [ 8.773326] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000 [ 8.773652] remoteproc remoteproc1: 78000000.r5f is available [ 8.773741] remoteproc remoteproc1: attaching to 78000000.r5f [ 8.784614] platform 78000000.r5f: R5F core initialized in IPC-only mode [ 8.784658] remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000 [ 8.788565] virtio_rpmsg_bus virtio1: rpmsg host is online [ 8.789421] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd [ 8.789589] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe [ 8.814867] remoteproc1#vdev0buffer: registered virtio1 (type 7) [ 8.814890] remoteproc remoteproc1: remote processor 78000000.r5f is now attached [ 11.526418] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY [ 12.184881] usbcore: registered new interface driver usbfs [ 12.192435] usbcore: registered new interface driver hub [ 12.199460] usbcore: registered new device driver usb [ 12.276565] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 12.276615] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 12.276869] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 [ 12.308140] xhci-hcd xhci-hcd.2.auto: irq 541, io mem 0x31100000 [ 12.308381] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 12.308408] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [ 12.308436] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 12.308655] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 12.308663] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 12.308669] usb usb1: Product: xHCI Host Controller [ 12.308673] usb usb1: Manufacturer: Linux 5.10.168-rt83-gc051d9cb75fe-dirty xhci-hcd [ 12.308678] usb usb1: SerialNumber: xhci-hcd.2.auto [ 12.331694] hub 1-0:1.0: USB hub found [ 12.331768] hub 1-0:1.0: 1 port detected [ 12.336617] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 12.336750] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 12.336758] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 12.336763] usb usb2: Product: xHCI Host Controller [ 12.336768] usb usb2: Manufacturer: Linux 5.10.168-rt83-gc051d9cb75fe-dirty xhci-hcd [ 12.336772] usb usb2: SerialNumber: xhci-hcd.2.auto [ 12.356346] hub 2-0:1.0: USB hub found [ 12.356395] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [ 12.571062] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 12.697295] usb 1-1: New USB device found, idVendor=0424, idProduct=9e00, bcdDevice= 3.00 [ 12.697318] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 12.803243] smsc95xx v2.0.0 [ 13.323696] SMSC LAN8710/LAN8720 usb-001:002:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=usb-001:002:01, irq=POLL) [ 13.337311] smsc95xx 1-1:1.0 eth2: register 'smsc95xx' at usb-xhci-hcd.2.auto-1, smsc95xx USB 2.0 Ethernet, 86:86:e1:b9:42:eb [ 13.340082] usbcore: registered new interface driver smsc95xx [ 14.472367] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 14.578798] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 15.133692] smsc95xx 1-1:1.0 eth2: Link is Down [ 15.267510] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 15.267544] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 15.301383] Generic PHY 8000f00.mdio:01: Master/Slave resolution failed, maybe conflicting manual settings? [ 15.301457] ------------[ cut here ]------------ [ 15.301461] WARNING: CPU: 0 PID: 243 at drivers/net/phy/phy.c:963 phy_error+0x14/0x60 [ 15.301489] Modules linked in: cfg80211 rfkill libarc4 smsc smsc95xx usbnet xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles cdns_csi2rx usb_common rpmsg_char v4l2_fwnode crct10dif_ce snd_soc_simple_card snd_soc_simple_card_utils phy_can_transceiver ti_k3_r5_remoteproc dwc3_am62 rti_wdt virtio_rpmsg_bus ti_k3_m4_remoteproc j721e_csi2rx sa2ul videobuf2_dma_contig sha512_generic videobuf2_memops m_can_platform authenc videobuf2_v4l2 m_can videobuf2_common mcrc cdns_dphy can_dev at24 snd_soc_tlv320aic3x sch_fq_codel ipv6 [ 15.301594] CPU: 0 PID: 243 Comm: kworker/u8:3 Tainted: G W 5.10.168-rt83-gc051d9cb75fe-dirty #1 [ 15.301600] Hardware name: TL62x-EVM (DT) [ 15.301606] Workqueue: events_power_efficient phy_state_machine [ 15.301615] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--) [ 15.301622] pc : phy_error+0x14/0x60 [ 15.301630] lr : phy_state_machine+0x88/0x228 [ 15.301635] sp : ffff8000117a3d30 [ 15.301637] x29: ffff8000117a3d30 x28: ffff8000110e9000 [ 15.301643] x27: ffff80001300bcc8 x26: ffff000005331cc8 [ 15.301649] x25: 0000000000000000 x24: 00000000ffffffbd [ 15.301654] x23: ffff0000017a5530 x22: ffff000001ddda00 [ 15.301660] x21: ffff0000017a5000 x20: 0000000000000003 [ 15.301666] x19: ffff0000017a5000 x18: ffffffffffffffff [ 15.301671] x17: 0000000000000000 x16: 0000000000000000 [ 15.301677] x15: ffff000001ddda00 x14: 0000000000000168 [ 15.301683] x13: 0000000000000174 x12: ffff8000111020e0 [ 15.301688] x11: 0000000000000006 x10: ffff80001110d268 [ 15.301694] x9 : 00000000fffffffe x8 : 6c61756e616d2067 [ 15.301699] x7 : 6e697463696c666e x6 : ffff8000117a3a10 [ 15.301705] x5 : ffff0000017a5548 x4 : 0000000000000000 [ 15.301710] x3 : ffff0000017a5530 x2 : 0000000000000000 [ 15.301715] x1 : a6825caf21551900 x0 : ffff0000017a5000 [ 15.301722] Call trace: [ 15.301725] phy_error+0x14/0x60 [ 15.301733] phy_state_machine+0x88/0x228 [ 15.301738] process_one_work+0x1a0/0x348 [ 15.301750] worker_thread+0x4c/0x440 [ 15.301756] kthread+0x174/0x198 [ 15.301767] ret_from_fork+0x10/0x30 [ 15.301776] ---[ end trace 0000000000000003 ]--- [ 16.720681] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL) [ 16.720713] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ 19.203496] ------------[ cut here ]------------ [ 19.203515] called from state HALTED [ 19.203579] WARNING: CPU: 0 PID: 766 at drivers/net/phy/phy.c:1115 phy_stop+0xbc/0xf8 [ 19.203608] Modules linked in: wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill libarc4 smsc smsc95xx usbnet xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles cdns_csi2rx usb_common rpmsg_char v4l2_fwnode crct10dif_ce snd_soc_simple_card snd_soc_simple_card_utils phy_can_transceiver ti_k3_r5_remoteproc dwc3_am62 rti_wdt virtio_rpmsg_bus ti_k3_m4_remoteproc j721e_csi2rx sa2ul videobuf2_dma_contig sha512_generic videobuf2_memops m_can_platform authenc videobuf2_v4l2 m_can videobuf2_common mcrc cdns_dphy can_dev at24 snd_soc_tlv320aic3x sch_fq_codel ipv6 [ 19.203724] CPU: 0 PID: 766 Comm: ifconfig Tainted: G W 5.10.168-rt83-gc051d9cb75fe-dirty #1 [ 19.203731] Hardware name: TL62x-EVM (DT) [ 19.203736] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--) [ 19.203743] pc : phy_stop+0xbc/0xf8 [ 19.203748] lr : phy_stop+0xbc/0xf8 [ 19.203752] sp : ffff80001231ba50 [ 19.203754] x29: ffff80001231ba50 x28: 0000ffffe5b41002 [ 19.203761] x27: ffff000001ca6a00 x26: 0000000000000000 [ 19.203766] x25: 0000000000000001 x24: 0000000000000000 [ 19.203771] x23: 0000000000001003 x22: 0000000000000001 [ 19.203777] x21: ffff000001c5b000 x20: ffff000001c5b000 [ 19.203783] x19: ffff0000017a5000 x18: 0000000000000000 [ 19.203789] x17: 0000000000000000 x16: 0000000000000000 [ 19.203794] x15: ffff000004a49e00 x14: 000000000000011d [ 19.203799] x13: 00000000000002eb x12: ffff8000111020e0 [ 19.203805] x11: 0000000000000025 x10: ffff80001110df20 [ 19.203810] x9 : 00000000fffffffe x8 : ffff8000112251b2 [ 19.203816] x7 : 0000000000000006 x6 : ffff80001231b8a0 [ 19.203822] x5 : ffff00007fb8fb80 x4 : 0000000000000000 [ 19.203827] x3 : 0000000000000027 x2 : 0000000100000000 [ 19.203833] x1 : e27bba0fa8ceac00 x0 : 0000000000000000 [ 19.203839] Call trace: [ 19.203842] phy_stop+0xbc/0xf8 [ 19.203847] phylink_stop+0x28/0xf8 [ 19.203857] am65_cpsw_nuss_ndo_slave_stop+0x28/0x248 [ 19.203869] __dev_close_many+0xac/0x148 [ 19.203881] __dev_change_flags+0xb0/0x1c0 [ 19.203889] dev_change_flags+0x24/0x68 [ 19.203894] devinet_ioctl+0x658/0x740 [ 19.203901] inet_ioctl+0x300/0x368 [ 19.203908] sock_do_ioctl+0x48/0x2d0 [ 19.203916] sock_ioctl+0x1c4/0x4f8 [ 19.203922] __arm64_sys_ioctl+0xa8/0xf0 [ 19.203930] el0_svc_common.constprop.0+0x78/0x1c8 [ 19.203942] do_el0_svc+0x24/0xa0 [ 19.203949] el0_svc+0x14/0x20 [ 19.203959] el0_sync_handler+0xb0/0xb8 [ 19.203964] el0_sync+0x180/0x1c0 [ 19.203971] ---[ end trace 0000000000000004 ]--- [ 20.747455] Initializing XFRM netlink socket [ 22.321111] using random self ethernet address [ 22.321130] using random host ethernet address [ 22.799106] usb0: HOST MAC 26:d4:dd:a0:f7:41 [ 22.799126] usb0: MAC b2:52:f2:71:a1:08 [ 22.816671] g_ncm gadget: NCM Gadget [ 22.816693] g_ncm gadget: g_ncm ready [ 22.963446] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 22.963479] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 22.992130] Generic PHY 8000f00.mdio:01: Master/Slave resolution failed, maybe conflicting manual settings? [ 22.992203] ------------[ cut here ]------------ [ 22.992206] WARNING: CPU: 0 PID: 243 at drivers/net/phy/phy.c:963 phy_error+0x14/0x60 [ 22.992230] Modules linked in: usb_f_ncm g_ncm u_ether libcomposite xfrm_user xfrm_algo wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill libarc4 smsc smsc95xx usbnet xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles cdns_csi2rx usb_common rpmsg_char v4l2_fwnode crct10dif_ce snd_soc_simple_card snd_soc_simple_card_utils phy_can_transceiver ti_k3_r5_remoteproc dwc3_am62 rti_wdt virtio_rpmsg_bus ti_k3_m4_remoteproc j721e_csi2rx sa2ul videobuf2_dma_contig sha512_generic videobuf2_memops m_can_platform authenc videobuf2_v4l2 m_can videobuf2_common mcrc cdns_dphy can_dev at24 snd_soc_tlv320aic3x sch_fq_codel ipv6 [ 22.992356] CPU: 0 PID: 243 Comm: kworker/u8:3 Tainted: G W 5.10.168-rt83-gc051d9cb75fe-dirty #1 [ 22.992363] Hardware name: TL62x-EVM (DT) [ 22.992369] Workqueue: events_power_efficient phy_state_machine [ 22.992379] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--) [ 22.992386] pc : phy_error+0x14/0x60 [ 22.992393] lr : phy_state_machine+0x88/0x228 [ 22.992398] sp : ffff8000117a3d30 [ 22.992401] x29: ffff8000117a3d30 x28: ffff8000110e9000 [ 22.992407] x27: ffff80001300bcc8 x26: ffff000005331cc8 [ 22.992413] x25: 0000000000000000 x24: 00000000ffffffbd [ 22.992418] x23: ffff0000017a5530 x22: ffff000001ddda00 [ 22.992424] x21: ffff0000017a5000 x20: 0000000000000003 [ 22.992429] x19: ffff0000017a5000 x18: ffffffffffffffff [ 22.992435] x17: 0000000000000000 x16: 0000000000000000 [ 22.992441] x15: ffff000001ddda00 x14: 00000000000001e5 [ 22.992446] x13: 0000000000000214 x12: ffff8000111020e0 [ 22.992452] x11: 0000000000000006 x10: ffff80001110f0a8 [ 22.992457] x9 : 00000000fffffffe x8 : 6c61756e616d2067 [ 22.992463] x7 : 6e697463696c666e x6 : ffff8000117a3a10 [ 22.992468] x5 : ffff0000017a5548 x4 : 0000000000000000 [ 22.992474] x3 : ffff0000017a5530 x2 : 0000000000000000 [ 22.992479] x1 : a6825caf21551900 x0 : ffff0000017a5000 [ 22.992486] Call trace: [ 22.992490] phy_error+0x14/0x60 [ 22.992497] phy_state_machine+0x88/0x228 [ 22.992502] process_one_work+0x1a0/0x348 [ 22.992513] worker_thread+0x4c/0x440 [ 22.992520] kthread+0x174/0x198 [ 22.992529] ret_from_fork+0x10/0x30 [ 22.992538] ---[ end trace 0000000000000005 ]--- [ 24.530940] smsc95xx 1-1:1.0 eth2: Link is Down [ 27.143741] can: controller area network core [ 27.143903] NET: Registered protocol family 29 [ 27.181844] can: raw protocol [ 31.977552] vdd_mmc1: disabling [ 31.977579] tlv71033: disabling [ 362.921951] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 362.922072] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 370.089956] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down [ 394.346044] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready [ 394.346361] smsc95xx 1-1:1.0 eth2: Link is Up - 100Mbps/Full - flow control off [ 402.547760] smsc95xx 1-1:1.0 eth2: Link is Down [ 418.217977] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 639.402148] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down [ 716.138059] smsc95xx 1-1:1.0 eth2: Link is Up - 100Mbps/Full - flow control off [ 719.219016] smsc95xx 1-1:1.0 eth2: Link is Down [ 726.442242] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 728.490022] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
device tree
// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for AM625 SoC family in Quad core configuration * * TRM: https://www.ti.com/lit/pdf/spruiv7 * * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ */ /dts-v1/; #include "k3-am62.dtsi" / { cpus { #address-cells = <1>; #size-cells = <0>; cpu-map { cluster0: cluster0 { core0 { cpu = <&cpu0>; }; core1 { cpu = <&cpu1>; }; core2 { cpu = <&cpu2>; }; core3 { cpu = <&cpu3>; }; }; }; cpu0: cpu@0 { compatible = "arm,cortex-a53"; reg = <0x000>; device_type = "cpu"; enable-method = "psci"; i-cache-size = <0x8000>; i-cache-line-size = <64>; i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&L2_0>; operating-points-v2 = <&a53_opp_table>; clocks = <&k3_clks 135 0>; }; cpu1: cpu@1 { compatible = "arm,cortex-a53"; reg = <0x001>; device_type = "cpu"; enable-method = "psci"; i-cache-size = <0x8000>; i-cache-line-size = <64>; i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&L2_0>; operating-points-v2 = <&a53_opp_table>; clocks = <&k3_clks 136 0>; }; cpu2: cpu@2 { compatible = "arm,cortex-a53"; reg = <0x002>; device_type = "cpu"; enable-method = "psci"; i-cache-size = <0x8000>; i-cache-line-size = <64>; i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&L2_0>; operating-points-v2 = <&a53_opp_table>; clocks = <&k3_clks 137 0>; }; cpu3: cpu@3 { compatible = "arm,cortex-a53"; reg = <0x003>; device_type = "cpu"; enable-method = "psci"; i-cache-size = <0x8000>; i-cache-line-size = <64>; i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&L2_0>; operating-points-v2 = <&a53_opp_table>; clocks = <&k3_clks 138 0>; }; }; a53_opp_table: opp-table { compatible = "operating-points-v2-ti-cpu"; opp-shared; syscon = <&wkup_conf>; opp-200000000 { opp-hz = /bits/ 64 <200000000>; opp-supported-hw = <0x01 0x0007>; clock-latency-ns = <6000000>; opp-suspend; }; opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-supported-hw = <0x01 0x0007>; clock-latency-ns = <6000000>; }; opp-600000000 { opp-hz = /bits/ 64 <600000000>; opp-supported-hw = <0x01 0x0007>; clock-latency-ns = <6000000>; }; opp-800000000 { opp-hz = /bits/ 64 <800000000>; opp-supported-hw = <0x01 0x0007>; clock-latency-ns = <6000000>; }; opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-supported-hw = <0x01 0x0006>; clock-latency-ns = <6000000>; }; opp-1250000000 { opp-hz = /bits/ 64 <1250000000>; opp-supported-hw = <0x01 0x0004>; clock-latency-ns = <6000000>; }; }; L2_0: l2-cache0 { compatible = "cache"; cache-level = <2>; cache-size = <0x40000>; cache-line-size = <64>; cache-sets = <512>; }; };
// SPDX-License-Identifier: GPL-2.0 /* * AM625 SK: https://www.ti.com/lit/zip/sprr448 * * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/ */ /dts-v1/; #include <dt-bindings/leds/common.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include <dt-bindings/net/ti-dp83867.h> #include "k3-am625.dtsi" #include "k3-am62x-sk-common.dtsi" #include <dt-bindings/pinctrl/k3.h> / { compatible = "ti,am625-sk", "ti,am625"; model = "TL62x-EVM"; aliases { rtc0 = &bq32002; rtc1 = &wkup_rtc0; serial3 = &main_uart1; serial4 = &main_uart2; serial5 = &main_uart4; serial6 = &main_uart5; serial7 = &main_uart6; serial8 = &mcu_uart0; serial9 = &wkup_uart0; }; transceiver0: can-phy0 { compatible = "ti,tcan1042"; #phy-cells = <0>; max-bitrate = <5000000>; }; transceiver1: can-phy1 { compatible = "ti,tcan1042"; #phy-cells = <0>; max-bitrate = <5000000>; }; opp-table { /* Add 1.4GHz OPP for am625-sk board. Requires VDD_CORE to be at 0.85V */ opp-1400000000 { opp-hz = /bits/ 64 <1400000000>; opp-supported-hw = <0x01 0x0004>; clock-latency-ns = <6000000>; }; }; /delete-node/ tlv320_mclk; tlv320_mclk: clk-0 { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <24567000>; }; /delete-node/ leds; leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&main_leds_pins_default &mcu_leds_pins_default>; som_led0 { label = "heartbeat"; gpios = <&main_gpio0 1 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; function = LED_FUNCTION_HEARTBEAT; default-state = "off"; }; som_led1 { label = "disk"; gpios = <&main_gpio0 12 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0"; function = LED_FUNCTION_DISK; default-state = "off"; }; run_led { label = "run_led"; gpios = <&mcu_gpio0 0 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; function = LED_FUNCTION_STATUS; default-state = "off"; }; err_led { label = "err_led"; gpios = <&mcu_gpio0 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; function = LED_FUNCTION_STATUS; default-state = "off"; }; can_led_run { label = "can_led_run"; gpios = <&main_gpio0 46 GPIO_ACTIVE_HIGH>; linux,default-trigger = "default-on"; function = LED_FUNCTION_STATUS; default-state = "on"; }; can_led_err { label = "can_led_err"; gpios = <&main_gpio0 45 GPIO_ACTIVE_HIGH>; linux,default-trigger = "default-on"; function = LED_FUNCTION_STATUS; default-state = "on"; }; }; cap-en { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&mcu_cap_en_pins_default>; cap-en1 { label = "cap-en"; gpios = <&mcu_gpio0 11 GPIO_ACTIVE_HIGH>; linux,default-trigger = "default-on"; function = LED_FUNCTION_STATUS; default-state = "on"; }; }; poweroff-signal { compatible = "gpio-keys"; autorepeat; pinctrl-names = "default"; pinctrl-0 = <&mcu_poweroff_signal_pins_default>; poweroff-signal1 { label = "poweroff-signal"; linux,code = <KEY_PROG3>; gpios = <&mcu_gpio0 12 GPIO_ACTIVE_LOW>; debounce-interval = <0>; }; }; gpio-keys { compatible = "gpio-keys"; autorepeat; pinctrl-names = "default"; pinctrl-0 = <&mcu_keys_pins_default>; user_key@0 { label = "key0-button"; linux,code = <KEY_PROG1>; gpios = <&mcu_gpio0 7 GPIO_ACTIVE_LOW>; debounce-interval = <0>; }; user_key@1 { label = "key1-switch"; linux,code = <KEY_PROG2>; gpios = <&mcu_gpio0 8 GPIO_ACTIVE_HIGH>; debounce-interval = <0>; }; }; }; /* * device tree overlay for * GPMC CS0 with nonmultiplexed mode; */ &gpmc0{ status = "okay"; #address-cells = <2>; #size-cells = <1>; pinctrl-names = "default"; pinctrl-0 = <&main_gpmc_pins_default>; ranges = <0 0 0x00 0x50000000 0x01000000>; /* CS0 space. Min partition = 16MB */ nor@0,0 { compatible = "cfi-flash"; linux,mtd-name= "intel,pf48f6000m0y1be"; #address-cells = <1>; #size-cells = <1>; reg = <0 0 0x01000000>; /* gpmc fclk: 133MHz */ /* CONFIG 1 */ bank-width = <2>; gpmc,mux-add-data = <2>; /* 1: address-address-data multiplexing mode, 2: address-data multiplexing mode.*/ /* CONFIG 2 */ gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <120>; gpmc,cs-wr-off-ns = <120>; /* CONFIG 3 */ gpmc,adv-on-ns = <0>; gpmc,adv-rd-off-ns = <20>; gpmc,adv-wr-off-ns = <20>; /* CONFIG 4 */ gpmc,oe-on-ns = <40>; gpmc,oe-off-ns = <100>; gpmc,we-on-ns = <40>; gpmc,we-off-ns = <100>; /* CONFIG 5 */ gpmc,rd-cycle-ns = <120>; gpmc,wr-cycle-ns = <120>; gpmc,access-ns = <100>; gpmc,page-burst-access-ns = <0>; /* CONFIG 6 */ gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,wr-data-mux-bus-ns = <60>; gpmc,wr-access-ns = <80>; gpmc,cycle2cycle-samecsen; gpmc,cycle2cycle-diffcsen; }; }; &mcu_pmx0 { pinctrl-names = "default"; pinctrl-0 = < &mcu_fan_pins_default &mcu_phy_reset_pins_default>; mcu_leds_pins_default: mcu_leds_pins_default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x0000, PIN_OUTPUT, 7) /* (E8) MCU_SPI0_CS0.MCU_GPIO0_0*/ AM62X_MCU_IOPAD(0x0004, PIN_OUTPUT, 7) /* (B8) MCU_SPI0_CS1.MCU_GPIO0_1 */ >; }; mcu_keys_pins_default: mcu_keys_pins_default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x001c, PIN_INPUT, 7) /* (A6) MCU_UART0_CTSn.MCU_GPIO0_7 */ AM62X_MCU_IOPAD(0x0020, PIN_INPUT, 7) /* (B6) MCU_UART0_RTSn.MCU_GPIO0_8 */ >; }; mcu_poweroff_signal_pins_default: mcu_poweroff_signal_pins_default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x0030, PIN_INPUT, 7) /* (A4) WKUP_UART0_RTSn.MCU_GPIO0_12 */ >; }; mcu_cap_en_pins_default: mcu_cap_en_pins_default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x002c, PIN_OUTPUT, 7) /* (C6) WKUP_UART0_CTSn.MCU_GPIO0_11 */ >; }; mcu_uart0_pins_default: mcu_uart0_pins_default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x0014, PIN_INPUT, 0) /* (B5) MCU_UART0_RXD */ AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */ >; }; mcu_fan_pins_default: mcu_fan_pins_default { pinctrl-single,pins = < /* set the pull-up, the fan is turned on by default */ AM62X_MCU_IOPAD(0x0010, PIN_OUTPUT_PULLUP, 7) /* (A7) MCU_SPI0_CLK.MCU_GPIO0_4(fan) */ >; }; mcu_phy_reset_pins_default: mcu_phy_reset_pins_default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x0008, PIN_INPUT_PULLUP, 7) /* (B8) MCU_SPI0_CS1.MCU_GPIO0_2 */ AM62X_MCU_IOPAD(0x000c, PIN_INPUT_PULLUP, 7) /* (D9) MCU_SPI0_D0.MCU_GPIO0_3 */ >; }; }; &main_pmx0 { pinctrl-names = "default"; pinctrl-0 = <&main_watchdog_pins_default &main_isolate_pins_default &main_uart0_control_pins_default>; main_watchdog_pins_default: main_watchdog_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x00ac, PIN_OUTPUT, 7) /* (L21) GPMC0_CSn1.GPIO0_42 */ >; }; main_isolate_pins_default: main_isolate_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x0090, PIN_INPUT, 7) /* (M24) GPMC0_BE0n_CLE.GPIO0_35 */ AM62X_IOPAD(0x0094, PIN_INPUT, 7) /* (N20) GPMC0_BE1n.GPIO0_36 */ AM62X_IOPAD(0x0098, PIN_INPUT, 7) /* (U23) GPMC0_WAIT0.GPIO0_37 */ AM62X_IOPAD(0x00a4, PIN_INPUT, 7) /* (M22) GPMC0_DIR.GPIO0_40 */ AM62X_IOPAD(0x00a0, PIN_OUTPUT, 7) /* (K25) GPMC0_WPn.GPIO0_39 */ AM62X_IOPAD(0x0114, PIN_OUTPUT, 7) /* (B24) MMC2_DAT0.GPIO0_68 */ >; }; main_leds_pins_default: main_leds_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x0004, PIN_OUTPUT, 7) /* (G25) OSPI0_LBCLKO.GPIO0_1 */ AM62X_IOPAD(0x0030, PIN_OUTPUT, 7) /* (G21) OSPI0_CSn1.GPIO0_12 */ AM62X_IOPAD(0x0244, PIN_OUTPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ AM62X_IOPAD(0x00b8, PIN_OUTPUT, 7) /* (R21) VOUT0_DATA0.GPIO0_45 */ AM62X_IOPAD(0x00bc, PIN_OUTPUT, 7) /*(C17) VOUT0_DATA1.GPIO0_46 */ >; }; main_uart0_control_pins_default: main-uart0-control-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0104, PIN_OUTPUT, 7) /* (AC24) VOUT0_PCLK.GPIO0_64 */ >; }; main_uart1_pins_default: main-uart1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x01e8, PIN_INPUT, 1) /* (B17) I2C1_SCL.UART1_RXD */ AM62X_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (A17) I2C1_SDA.UART1_TXD */ >; }; main_uart2_pins_default: main-uart2-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x01d0, PIN_INPUT, 3) /* (A15) UART0_CTSn.UART2_RXD */ AM62X_IOPAD(0x01d4, PIN_OUTPUT, 3) /* (B15) UART0_RTSn.UART2_TXD */ AM62X_IOPAD(0x00f4, PIN_OUTPUT, 7) /*(AA21) VOUT0_DATA15.GPIO0_60 */ >; }; main_uart4_pins_default: main-uart4-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0124, PIN_INPUT, 3) /* (A23) MMC2_SDCD.UART4_RXD */ AM62X_IOPAD(0x0128, PIN_OUTPUT, 3) /* (B23) MMC2_SDWP.UART4_TXD */ AM62X_IOPAD(0x0110, PIN_OUTPUT, 7) /* (C25) MMC2_DAT1.GPIO0.67 */ >; }; main_uart5_pins_default: main-uart5-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0108, PIN_INPUT, 3) /* (D24) MMC2_DAT3.UART5_RXD */ AM62X_IOPAD(0x010c, PIN_OUTPUT, 3) /* (E23) MMC2_DAT2.UART5_TXD */ AM62X_IOPAD(0x01ac, PIN_OUTPUT, 7) /* (E19) MCASP0_AFSR.GPIO1_13*/ >; }; main_uart6_pins_default: main-uart6-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0118, PIN_INPUT, 3) /* (D25) MMC2_CLK.UART6_RXD */ AM62X_IOPAD(0x0120, PIN_OUTPUT, 3) /* (C24) MMC2_CMD.UART6_TXD */ >; }; main_ehrpwm1_pins_default: main_ehrpwm1_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x019c, PIN_OUTPUT, 6) /* (B18) MCASP0_AXR1.EHRPWM1_A */ >; }; main_spi0_clk_data_pins_default: main_spi0_clk_data_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (A14) SPI0_CLK */ AM62X_IOPAD(0x01c0, PIN_INPUT, 0) /* (B13) SPI0_D0 */ AM62X_IOPAD(0x01c4, PIN_INPUT, 0) /* (B14) SPI0_D1 */ >; }; main_spi0_cs0_pins_default: main_spi0_cs0_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x01b4, PIN_OUTPUT_PULLUP, 0) /* (A13) SPI0_CS0 */ >; }; main_ads7846_pins_default: main_ads7846_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x01f0, PIN_INPUT_PULLUP, 7) /* (A18) EXT_REFCLK1.GPIO1_30 */ >; }; main_usb0_pins_default: main_usb0_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x0254, PIN_OUTPUT, 0) /* (C20) USB0_DRVVBUS */ >; }; main_mcan0_pins_default: main_mcan0_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x01dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ AM62X_IOPAD(0x01d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ >; }; main_mcasp0_pins_default: main-mcasp0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x01B0, PIN_OUTPUT, 0) /* (A20) MCASP0_ACLKR.MCASP0_ACLKR */ AM62X_IOPAD(0x01A4, PIN_INPUT, 0) /* (B20) MCASP0_ACLKX.MCASP0_ACLKX */ AM62X_IOPAD(0x01A8, PIN_INPUT, 0) /* (D20) MCASP0_AFSX.MCASP0_AFSX */ AM62X_IOPAD(0x0198, PIN_OUTPUT, 0) /* (A19) MCASP0_AXR2.MCASP0_AXR2 */ AM62X_IOPAD(0x0194, PIN_INPUT, 0) /* (B19) MCASP0_AXR3.MCASP0_AXR3 */ >; }; main_pmic_intr_pins_default: main_pmic_intr_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x01f4, PIN_INPUT_PULLUP, 7) /* (D16) EXTINTn.GPIO1_31 */ >; }; main_gpmc_pins_default: main_gpmc_pins_default { pinctrl-single,pins = < AM62X_IOPAD(0x003c, PIN_INPUT, 0) /* (M25) GPMC0_AD0 */ AM62X_IOPAD(0x0040, PIN_INPUT, 0) /* (N23) GPMC0_AD1 */ AM62X_IOPAD(0x0064, PIN_INPUT, 0) /* (T25) GPMC0_AD10 */ AM62X_IOPAD(0x0068, PIN_INPUT, 0) /* (R21) GPMC0_AD11 */ AM62X_IOPAD(0x006c, PIN_INPUT, 0) /* (T22) GPMC0_AD12 */ AM62X_IOPAD(0x0070, PIN_INPUT, 0) /* (T24) GPMC0_AD13 */ AM62X_IOPAD(0x0074, PIN_INPUT, 0) /* (U25) GPMC0_AD14 */ AM62X_IOPAD(0x0078, PIN_INPUT, 0) /* (U24) GPMC0_AD15 */ AM62X_IOPAD(0x0044, PIN_INPUT, 0) /* (N24) GPMC0_AD2 */ AM62X_IOPAD(0x0048, PIN_INPUT, 0) /* (N25) GPMC0_AD3 */ AM62X_IOPAD(0x004c, PIN_INPUT, 0) /* (P24) GPMC0_AD4 */ AM62X_IOPAD(0x0050, PIN_INPUT, 0) /* (P22) GPMC0_AD5 */ AM62X_IOPAD(0x0054, PIN_INPUT, 0) /* (P21) GPMC0_AD6 */ AM62X_IOPAD(0x0058, PIN_INPUT, 0) /* (R23) GPMC0_AD7 */ AM62X_IOPAD(0x005c, PIN_INPUT, 0) /* (R24) GPMC0_AD8 */ AM62X_IOPAD(0x0060, PIN_INPUT, 0) /* (R25) GPMC0_AD9 */ AM62X_IOPAD(0x00a8, PIN_OUTPUT, 0) /* (M21) GPMC0_CSn0 */ AM62X_IOPAD(0x0084, PIN_OUTPUT, 0) /* (L23) GPMC0_ADVn_ALE */ AM62X_IOPAD(0x0088, PIN_OUTPUT, 0) /* (L24) GPMC0_OEn_REn */ AM62X_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L25) GPMC0_WEn */ >; }; }; &main_i2c0 { bq32002: rtc@68{ compatible = "ti,bq32000"; reg = <0x68> ; trickle-resistor-ohms = <1120>; }; }; &main_i2c1 { }; &ospi0 { }; &main_uart1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart1_pins_default>; }; &main_uart2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart2_pins_default>; rts-gpios =<&main_gpio0 60 GPIO_ACTIVE_HIGH>; rs485-rts-active-high; linux,rs485-enabled-at-boot-time; }; &main_uart4 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart4_pins_default>; rts-gpios =<&main_gpio0 67 GPIO_ACTIVE_HIGH>; rs485-rts-active-high; linux,rs485-enabled-at-boot-time; }; &main_uart5 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart5_pins_default>; rts-gpios =<&main_gpio1 13 GPIO_ACTIVE_HIGH>; rs485-rts-active-high; linux,rs485-enabled-at-boot-time; }; &main_uart6 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart6_pins_default>; }; &dss_ports { #address-cells = <1>; #size-cells = <0>; }; &epwm1 { status = "okay"; }; &main_spi0 { status = "disable"; }; &usb0 { pinctrl-names = "default"; pinctrl-0 = <&main_usb0_pins_default>; #address-cells = <1>; #size-cells = <0>; usb-role-switch; role-switch-default-mode = "peripheral"; }; &main_mcan0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_mcan0_pins_default>; }; &main_i2c2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c2_pins_default>; clock-frequency = <400000>; at24cx: at24c128@51 { compatible = "atmel,24c128"; reg = <0x51>; // trickle-resistor-ohms = <250>; }; }; &mcasp0 { status = "okay"; #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&main_mcasp0_pins_default>; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <2>; serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 0 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &mcu_pmx0 { wkup_uart0_pins_default: wkup-uart0-pins-default { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (B4) WKUP_UART0_RXD */ AM62X_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */ >; }; }; &wkup_uart0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&wkup_uart0_pins_default>; }; &mcu_uart0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mcu_uart0_pins_default>; }; &csi0_port0 { status = "disabled"; }; &pruss { status = "disabled"; }; &main_rti1 { status = "disabled"; }; &main_rti2 { status = "disabled"; }; &main_rti3 { status = "disabled"; }; &main_rti15 { status = "disabled"; }; &mcu_pmx0 { }; &mcu_mcan0 { status = "disable"; }; &mcu_mcan1 { status = "disable"; };
// SPDX-License-Identifier: GPL-2.0 /* * Common dtsi for AM62x SK and derivatives * * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/ */ / { aliases { serial2 = &main_uart0; mmc0 = &sdhci0; mmc1 = &sdhci1; mmc2 = &sdhci2; spi0 = &ospi0; usb0 = &usb0; usb1 = &usb1; ethernet0 = &cpsw_port1; ethernet1 = &cpsw_port2; }; chosen { stdout-path = "serial2:115200n8"; bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; }; memory@80000000 { device_type = "memory"; /* 2G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; }; reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; rtos_ipc_memory_region: ipc-memories@9c800000 { compatible = "shared-dma-pool"; reg = <0x00 0x9c800000 0x00 0x00300000>; no-map; }; mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 { compatible = "shared-dma-pool"; reg = <0x00 0x9cb00000 0x00 0x100000>; no-map; }; mcu_m4fss_memory_region: m4f-memory@9cc00000 { compatible = "shared-dma-pool"; reg = <0x00 0x9cc00000 0x00 0xe00000>; no-map; }; wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9da00000 { compatible = "shared-dma-pool"; reg = <0x00 0x9da00000 0x00 0x00100000>; no-map; }; wkup_r5fss0_core0_memory_region: r5f-memory@9db00000 { compatible = "shared-dma-pool"; reg = <0x00 0x9db00000 0x00 0x00c00000>; no-map; }; lpm_ctx_ddr: lpm-memory@9e700000 { reg = <0x00 0x9e700000 0x00 0x80000>; alignment = <0x1000>; }; secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>; no-map; }; secure_ddr: optee@9e800000 { reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ alignment = <0x1000>; no-map; }; }; vmain_pd: regulator-0 { /* TPS65988 PD CONTROLLER OUTPUT */ compatible = "regulator-fixed"; regulator-name = "vmain_pd"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; regulator-boot-on; }; vcc_5v0: regulator-1 { /* Output of TPS630702 */ compatible = "regulator-fixed"; regulator-name = "vcc_5v0"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vmain_pd>; regulator-always-on; regulator-boot-on; }; vcc_3v3_sys: regulator-2 { /* output of LM61460-Q1 */ compatible = "regulator-fixed"; regulator-name = "vcc_3v3_sys"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vmain_pd>; regulator-always-on; regulator-boot-on; }; vdd_mmc1: regulator-3 { /* TPS22918DBVR */ compatible = "regulator-fixed"; regulator-name = "vdd_mmc1"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on; enable-active-high; vin-supply = <&vcc_3v3_sys>; }; vdd_sd_dv: regulator-4 { /* Output of TLV71033 */ compatible = "regulator-gpio"; regulator-name = "tlv71033"; pinctrl-names = "default"; pinctrl-0 = <&vdd_sd_dv_pins_default>; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; vin-supply = <&vcc_5v0>; gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; states = <1800000 0x0>, <3300000 0x1>; }; vcc_1v8: regulator-7 { /* output of TPS6282518DMQ */ compatible = "regulator-fixed"; regulator-name = "vcc_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&vcc_3v3_sys>; regulator-always-on; regulator-boot-on; }; tlv320_mclk: clk-0 { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <12288000>; }; leds { compatible = "pwm-leds"; led-0 { label = "am62-sk:green:heartbeat"; pwms = <&main_pwm7 0 7812500 0>; max-brightness = <255>; linux,default-trigger = "heartbeat"; function = LED_FUNCTION_HEARTBEAT; default-state = "off"; }; }; timesync_router: timesync-router@a40000 { compatible = "pinctrl-single"; reg = <0x0 0xa40000 0x0 0x800>; #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0x000107ff>; }; }; &main_pmx0 { main_uart0_pins_default: main-uart0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ >; }; main_i2c0_pins_default: main-i2c0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ >; }; main_i2c2_pins_default: main-i2c2-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ >; }; main_mmc0_pins_default: main-mmc0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1) MMC0_DAT1 */ AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3) MMC0_DAT2 */ AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4) MMC0_DAT3 */ AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2) MMC0_DAT4 */ AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1) MMC0_DAT5 */ AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2) MMC0_DAT6 */ AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2) MMC0_DAT7 */ >; }; main_mmc1_pins_default: main-mmc1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ AM62X_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */ >; }; main_mdio1_pins_default: main-mdio1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */ AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ >; }; main_rgmii1_pins_default: main-rgmii1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17) RGMII1_RD0 */ AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17) RGMII1_RD1 */ AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16) RGMII1_RD2 */ AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15) RGMII1_RD3 */ AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17) RGMII1_RXC */ AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17) RGMII1_RX_CTL */ AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20) RGMII1_TD0 */ AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20) RGMII1_TD1 */ AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18) RGMII1_TD2 */ AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18) RGMII1_TD3 */ AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19) RGMII1_TXC */ AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19) RGMII1_TX_CTL */ >; }; main_rgmii2_pins_default: main-rgmii2-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ >; }; ospi0_pins_default: ospi0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */ AM62X_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */ AM62X_IOPAD(0x00c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */ AM62X_IOPAD(0x010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */ AM62X_IOPAD(0x014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */ AM62X_IOPAD(0x018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */ >; }; main_dss0_pins_default: main-dss0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ AM62X_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ AM62X_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ AM62X_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ AM62X_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ AM62X_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ AM62X_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ AM62X_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ AM62X_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ AM62X_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ AM62X_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ AM62X_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ AM62X_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ AM62X_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ AM62X_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ AM62X_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ AM62X_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ AM62X_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ AM62X_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ /* AM62X_IOPAD(0x00f4, PIN_OUTPUT, 0) (AA21) VOUT0_DATA15 */ >; }; vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */ >; }; main_usb1_pins_default: main-usb1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ >; }; main_mcasp1_pins_default: main-mcasp1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX */ AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ AM62X_IOPAD(0x008c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */ AM62X_IOPAD(0x0084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ >; }; }; &wkup_uart0 { /* WKUP UART0 is used by DM firmware */ status = "reserved"; }; &mcu_uart0 { status = "disabled"; }; &main_uart0 { pinctrl-names = "default"; pinctrl-0 = <&main_uart0_pins_default>; }; &main_uart1 { status = "disabled"; }; &main_uart2 { status = "disabled"; }; &main_uart3 { status = "disabled"; }; &main_uart4 { status = "disabled"; }; &main_uart5 { status = "disabled"; }; &main_uart6 { status = "disabled"; }; &mcu_i2c0 { status = "disabled"; }; &wkup_i2c0 { status = "disabled"; }; &main_i2c0 { pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; }; &main_i2c1 { status = "disabled"; }; &main_i2c2 { status = "disabled"; }; &main_i2c3 { status = "disabled"; }; &sdhci0 { pinctrl-names = "default"; pinctrl-0 = <&main_mmc0_pins_default>; ti,driver-strength-ohm = <50>; disable-wp; }; &sdhci1 { /* SD/MMC */ vmmc-supply = <&vdd_mmc1>; pinctrl-names = "default"; pinctrl-0 = <&main_mmc1_pins_default>; ti,driver-strength-ohm = <50>; disable-wp; no-1-8-v; }; &sdhci2 { status = "disabled"; }; &usbss0 { ti,vbus-divider; }; &usbss1 { ti,vbus-divider; }; &usb0 { #address-cells = <1>; #size-cells = <0>; usb-role-switch; }; &usb1 { dr_mode = "host"; pinctrl-names = "default"; pinctrl-0 = <&main_usb1_pins_default>; }; #define TS_OFFSET(pa, val) (0x4+(pa)*4) (0x10000 | val) ×ync_router { pinctrl-names = "default"; pinctrl-0 = <&cpts_pps>; /* Example of the timesync routing */ cpts_pps: cpts-pps { pinctrl-single,pins = < /* pps [cpts genf1] in17 -> out17 [cpts hw8_push] */ TS_OFFSET(17,17) >; }; }; &cpsw3g { pinctrl-names = "default"; pinctrl-0 = <&main_mdio1_pins_default &main_rgmii1_pins_default &main_rgmii2_pins_default>; cpts@3d000 { ti,pps = <7 1>; }; }; &cpsw_port1 { phy-mode = "rgmii-rxid"; phy-handle = <&cpsw3g_phy0>; }; &cpsw_port2 { phy-mode = "rgmii-rxid"; phy-handle = <&cpsw3g_phy1>; }; &cpsw3g_mdio { cpsw3g_phy0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,min-output-impedance; }; cpsw3g_phy1: ethernet-phy@1 { reg = <1>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,min-output-impedance; }; }; &dss { pinctrl-names = "default"; pinctrl-0 = <&main_dss0_pins_default>; }; &dss_ports { #address-cells = <1>; #size-cells = <0>; }; &mcasp0 { status = "disabled"; }; &mcasp1 { status = "disabled"; #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&main_mcasp1_pins_default>; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <2>; serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &mcasp2 { status = "disabled"; }; &mailbox0_cluster0 { mbox_m4_0: mbox-m4-0 { ti,mbox-rx = <0 0 0>; ti,mbox-tx = <1 0 0>; }; mbox_r5_0: mbox-r5-0 { ti,mbox-rx = <2 0 0>; ti,mbox-tx = <3 0 0>; }; }; &ospi0 { pinctrl-names = "default"; pinctrl-0 = <&ospi0_pins_default>; }; &mcu_m4fss { mboxes = <&mailbox0_cluster0 &mbox_m4_0>; memory-region = <&mcu_m4fss_dma_memory_region>, <&mcu_m4fss_memory_region>; }; &wkup_r5fss0_core0 { mboxes = <&mailbox0_cluster0 &mbox_r5_0>; memory-region = <&wkup_r5fss0_core0_dma_memory_region>, <&wkup_r5fss0_core0_memory_region>; }; &main_mcan0 { status = "disabled"; }; &mcu_rti0 { /* MCU RTI0 is used by M4F firmware */ status = "reserved"; }; &wkup_rti0 { /* WKUP RTI0 is used by DM firmware */ status = "reserved"; }; &epwm0 { status = "disabled"; }; &epwm1 { status = "disabled"; }; &epwm2 { status = "disabled"; }; &ecap0_pwm { status = "disabled"; }; &ecap1_pwm { status = "disabled"; }; &ecap2_pwm { status = "disabled"; };