This thread has been locked.

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

AM4378: LAN not working after passing from kernel 4.19.59 to 5.10.100

Part Number: AM4378

After updating SDK (and kernel) version, we are struggling to get the Ethernet interface working.

I have attached the original and the new version of:

  1. Device tree
  2. Kernel Log
  3. Kernel .config

Following the example from https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1052711/am4378-linux-5-10-ethernet-no-longer-works?tisearch=e2e-sitesearch&keymatch=davinci_mdio_sw#, in the devicetree I have changed

&mac {
	slaves = <1>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mii1_pins_default>;
	pinctrl-1 = <&mii1_pins_sleep>;
	status = "okay";
};

&davinci_mdio {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;
	status = "okay";
};

&cpsw_emac0 {
	phy_id = <&davinci_mdio>, <0>;
	phy-mode = "mii";
};

into

&mac_sw {
	slaves = <1>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mii1_pins_default>;
	pinctrl-1 = <&mii1_pins_sleep>;
	status = "okay";
};

&davinci_mdio_sw {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;

	ethphy0: ethernet-phy@0 {
		reg = <0>;
	};
};

&cpsw_port1 {
	phy-handle = <&ethphy0>;
	phy-mode = "mii";
	ti,dual-emac-pvid = <1>;
};

but the interface does not come up.

Any ideas?

Thank you and regards
Peter

4.19.59.log
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.59-g5f8c1c6121 (phoyer@SmaLin) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #33 PREEMPT Thu Jul 8 20:58:01 CEST 2021
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: SMaBiT SMaWay
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0xbd000000
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x4b0 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyO4,115200n8 video=vmalloc=512M net.ifnames=0 biosdevnames=0 root=PARTUUID=015884b5-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 975004K/1048576K available (9216K kernel code, 601K rwdata, 2780K rodata, 1024K init, 270K bss, 24420K reserved, 49152K cma-reserved, 212992K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 602 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 271 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 31775 entries in 94 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000046] OMAP clocksource: timer1 at 24000000 Hz
[    0.000510] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000524] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000964] Console: colour dummy device 80x30
[    0.000995] WARNING: Your 'console=ttyO4' has been replaced by 'ttyS4'
[    0.001002] This ensures that you still see kernel messages. Please
[    0.001008] update your kernel commandline.
[    0.001059] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.090219] pid_max: default: 32768 minimum: 301
[    0.090383] Security Framework initialized
[    0.090465] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.090489] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.091376] CPU: Testing write buffer coherency: ok
[    0.091441] CPU0: Spectre v2: using BPIALL workaround
[    0.092472] Setting up static identity map for 0x80100000 - 0x80100060
[    0.092653] rcu: Hierarchical SRCU implementation.
[    0.093085] EFI services will not be available.
[    0.094112] devtmpfs: initialized
[    0.104379] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.104853] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104878] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.108875] pinctrl core: initialized pinctrl subsystem
[    0.109665] DMI not present or invalid.
[    0.110131] NET: Registered protocol family 16
[    0.112867] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.205691] cpuidle: using governor ladder
[    0.205736] cpuidle: using governor menu
[    0.207853] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
[    0.207936] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
[    0.223688] No ATAGs?
[    0.223717] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.223734] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.239092] edma 49000000.edma: TI EDMA DMA engine driver
[    0.243175] media: Linux media interface: v0.10
[    0.243233] videodev: Linux video capture interface: v2.00
[    0.243343] pps_core: LinuxPPS API ver. 1 registered
[    0.243352] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.243377] PTP clock support registered
[    0.243416] EDAC MC: Ver: 3.0.0
[    0.244310] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.245027] Advanced Linux Sound Architecture Driver Initialized.
[    0.245618] NetLabel: Initializing
[    0.245635] NetLabel:  domain hash size = 128
[    0.245641] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.245736] NetLabel:  unlabeled traffic allowed by default
[    0.246488] clocksource: Switched to clocksource timer1
[    0.307188] NET: Registered protocol family 2
[    0.308083] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.308126] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.308201] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.308293] TCP: Hash tables configured (established 8192 bind 8192)
[    0.308486] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.308516] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.308696] NET: Registered protocol family 1
[    0.309352] RPC: Registered named UNIX socket transport module.
[    0.309367] RPC: Registered udp transport module.
[    0.309374] RPC: Registered tcp transport module.
[    0.309382] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.311638] Initialise system trusted keyrings
[    0.311973] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.317343] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.318131] NFS: Registering the id_resolver key type
[    0.318171] Key type id_resolver registered
[    0.318179] Key type id_legacy registered
[    0.318226] ntfs: driver 2.1.32 [Flags: R/O].
[    0.324898] Key type asymmetric registered
[    0.324919] Asymmetric key parser 'x509' registered
[    0.324991] bounce: pool size: 64 pages
[    0.325069] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.325083] io scheduler noop registered
[    0.325091] io scheduler deadline registered
[    0.325390] io scheduler cfq registered (default)
[    0.325404] io scheduler mq-deadline registered
[    0.325412] io scheduler kyber registered
[    0.328840] pinctrl-single 44e10800.pinmux: 199 pins, size 796
[    0.383768] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.387519] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.388397] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud = 3000000) is a 8250
[    0.389081] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    0.389868] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 32, base_baud = 3000000) is a 8250
[    0.390479] omap8250 48024000.serial: No clock speed specified: using default: 48000000
[    0.391229] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 33, base_baud = 3000000) is a 8250
[    0.391826] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    0.392563] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 34, base_baud = 3000000) is a 8250
[    0.393189] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
[    0.393915] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 35, base_baud = 3000000) is a 8250
[    1.174137] console [ttyS4] enabled
[    1.180094] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.186691] random: fast init done
[    1.190363] random: crng init done
[    1.210731] brd: module loaded
[    1.223660] loop: module loaded
[    1.229648] omap2_mcspi 481a2000.spi: registered master spi1
[    1.230392] omap2_mcspi 48345000.spi: registered master spi2
[    1.230592] spi spi2.0: setup: speed 1000000, sample leading edge, clk normal
[    1.230608] spi spi2.0: setup mode 0, 8 bits/w, 1000000 Hz max --> 0
[    1.230815] omap2_mcspi 48345000.spi: registered child spi2.0
[    1.231754] mdio_bus fixed-0: GPIO lookup for consumer reset
[    1.231764] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    1.231771] mdio_bus fixed-0: No GPIO consumer reset found
[    1.231798] libphy: Fixed MDIO Bus: probed
[    1.237012] CAN device driver interface
[    1.242055] c_can_platform 481cc000.can: c_can_platform device registered (regs=6f6bc430, irq=67)
[    1.266072] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
[    1.266084] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
[    1.266108] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/ethernet@4a100000/mdio@4a101000[0]'
[    1.266124] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/ethernet@4a100000/mdio@4a101000[0]'
[    1.266134] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
[    1.266141] mdio_bus 4a101000.mdio: No GPIO consumer reset found
[    1.316562] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.324266] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.331586] libphy: 4a101000.mdio: probed
[    1.335632] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8740
[    1.345204] cpsw 4a100000.ethernet: Detected MACID = 30:e2:83:da:bc:63
[    1.352016] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.358502] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.363795] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.372557] i2c /dev entries driver
[    1.378609] cpuidle: enable-method property 'ti,am4372' found operations
[    1.385872] sdhci: Secure Digital Host Controller Interface driver
[    1.392198] sdhci: Copyright(c) Pierre Ossman
[    1.397388] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.397398] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.397427] omap_hsmmc 48060000.mmc: No GPIO consumer cd found
[    1.397645] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
[    1.397653] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    1.397674] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.397688] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.397698] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    1.397705] omap_hsmmc 481d8000.mmc: No GPIO consumer cd found
[    1.397715] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
[    1.397720] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    1.397734] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.397746] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.397753] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    1.397760] omap_hsmmc 481d8000.mmc: No GPIO consumer wp found
[    1.398600] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.398610] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.398633] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.398648] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.398656] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.398664] omap_hsmmc 47810000.mmc: No GPIO consumer cd found
[    1.398674] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.398679] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.398693] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.398706] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.398713] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.398719] omap_hsmmc 47810000.mmc: No GPIO consumer wp found
[    1.399399] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.406233] ledtrig-cpu: registered to indicate activity on CPUs
[    1.414484] NET: Registered protocol family 10
[    1.420446] Segment Routing with IPv6
[    1.424229] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.431059] NET: Registered protocol family 17
[    1.435550] can: controller area network core (rev 20170425 abi 9)
[    1.442090] NET: Registered protocol family 29
[    1.446654] can: raw protocol (rev 20170425)
[    1.450944] can: broadcast manager protocol (rev 20170425 t)
[    1.456657] can: netlink gateway (rev 20170425) max_hops=1
[    1.462657] Key type dns_resolver registered
[    1.467268] omap_voltage_late_init: Voltage driver support not added
[    1.474656] Loading compiled-in X.509 certificates
[    1.492541] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
[    1.492660] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
[    1.492713] OMAP GPIO hardware version 0.1
[    1.497687] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
[    1.497779] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
[    1.498410] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
[    1.498496] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
[    1.499083] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
[    1.499178] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
[    1.499740] gpio gpiochip4: (gpio-128-159): added GPIO chardev (254:4)
[    1.499836] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio-128-159)
[    1.500393] gpio gpiochip5: (gpio-160-191): added GPIO chardev (254:5)
[    1.500487] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio-160-191)
[    1.500762] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
[    1.502253] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.550300] LDO1: Bringing 1800000uV into 2100000-2100000uV
[    1.559131] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
[    1.565150] cpu cpu0: Linked as a consumer to regulator.3
[    1.570705] cpu cpu0: Dropping the link to regulator.3
[    1.576072] cpu cpu0: Linked as a consumer to regulator.3
[    1.582953] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.582964] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.583007] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]' - status (0)
[    1.583086] gpio gpiochip0: Persistence not supported for GPIO 6
[    1.583102] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.591989] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.596695] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.596702] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.596721] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
[    1.596736] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
[    1.596747] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.596755] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
[    1.597219] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.5
[    1.631332] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
[    1.631356] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    1.631408] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.631446] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.631468] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    1.631486] omap_hsmmc 481d8000.mmc: No GPIO consumer cd found
[    1.631510] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
[    1.631524] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    1.631561] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.631594] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.631612] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    1.631628] omap_hsmmc 481d8000.mmc: No GPIO consumer wp found
[    1.632348] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.5
[    1.663638] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.663651] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.663683] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.663703] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.663715] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.663725] omap_hsmmc 47810000.mmc: No GPIO consumer cd found
[    1.663737] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.663744] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.663763] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.663780] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.663788] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.663797] omap_hsmmc 47810000.mmc: No GPIO consumer wp found
[    1.664332] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.1
[    1.714549] mmc1: new high speed MMC card at address 0001
[    1.721919] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB 
[    1.727602] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    1.734514] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    1.741083] mmcblk1rpmb: mmc1:0001 Q2J54A partition 3 512 KiB, chardev (244:0)
[    1.751215]  mmcblk1: p1 p2 p3 p4
[    1.783310] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
[    1.783432] gpio gpiochip3: Persistence not supported for GPIO 17
[    1.783443] no flags found for gpios
[    1.783834] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
[    1.783915] gpio gpiochip5: Persistence not supported for GPIO 8
[    1.783925] no flags found for gpios
[    1.784186] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
[    1.784219] gpio gpiochip0: Persistence not supported for GPIO 7
[    1.784227] no flags found for gpios
[    1.785662] hctosys: unable to open rtc device (rtc0)
[    1.792753] ALSA device list:
[    1.795860]   No soundcards found.
[    1.802805] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    1.825663] mmc2: new high speed SDIO card at address 0001
[    1.831809] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.840646] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.847999] devtmpfs: mounted
[    1.856211] Freeing unused kernel memory: 1024K
[    1.861032] Run /sbin/init as init process
[    2.301406] systemd[1]: System time before build time, advancing clock.
[    2.386237] systemd[1]: systemd 241 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)
[    2.408734] systemd[1]: Detected architecture arm.
[    2.457708] systemd[1]: Set hostname to <smaway>.
[    3.412579] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    3.429955] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    3.849731] systemd[1]: Reached target Remote File Systems.
[    3.893542] systemd[1]: Created slice User and Session Slice.
[    3.927854] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.967945] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    4.007731] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.025561] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    6.296260] systemd-journald[95]: Received request to flush runtime journal from PID 1
[    9.164041] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    9.288251] PM: Cannot get wkup_m3_ipc handle
[   10.180956] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[   10.237022] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[   10.251163] omap_rtc 44e3e000.rtc: char device (253:0)
[   10.251194] omap_rtc 44e3e000.rtc: registered as rtc0
[   10.291236] PM: Cannot get wkup_m3_ipc handle
[   10.296323] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[   10.384009] remoteproc remoteproc0: wkup_m3 is available
[   10.498257] PM: Cannot get wkup_m3_ipc handle
[   10.503331] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[   10.708056] PM: Cannot get wkup_m3_ipc handle
[   10.727903] remoteproc remoteproc0: powering up wkup_m3
[   10.757980] PM: Cannot get wkup_m3_ipc handle
[   10.830849] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
[   10.859298] PM: Cannot get wkup_m3_ipc handle
[   10.995068] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   11.001754] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   11.388008] PM: bootloader does not support rtc-only!
[   14.232723] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[   14.519235] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[   14.638048] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[   14.671356] omap-aes 53501000.aes: will run requests pump with realtime priority
[   14.770775] omap-des 53701000.des: will run requests pump with realtime priority
[   15.287483] net eth0: initializing cpsw version 1.15 (0)
[   15.426859] SMSC LAN8740 4a101000.mdio:00: attached PHY driver [SMSC LAN8740] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[   15.521263] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.607900] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   17.679777] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.910330] 8021q: 802.1Q VLAN Support v1.8
[   17.914591] 8021q: adding VLAN 0 to HW filter on device eth0
[   19.185738] dwc3 48390000.usb: Failed to get clk 'ref': -2
[   19.289565] dwc3 483d0000.usb: Failed to get clk 'ref': -2
[   19.478189] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   19.500829] usbcore: registered new interface driver usbfs
[   19.506454] usbcore: registered new interface driver hub
[   19.577308] usbcore: registered new device driver usb
[   19.659785] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   19.700127] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[   19.705699] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 1
[   19.777565] xhci-hcd xhci-hcd.5.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
[   19.827372] xhci-hcd xhci-hcd.5.auto: irq 104, io mem 0x48390000
[   19.847535] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   19.855858] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.927264] usb usb1: Product: xHCI Host Controller
[   19.932184] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   19.977283] usb usb1: SerialNumber: xhci-hcd.5.auto
[   20.005571] hub 1-0:1.0: USB hub found
[   20.026761] hub 1-0:1.0: 1 port detected
[   20.061416] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[   20.087275] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 2
[   20.095020] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[   20.157988] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   20.179882] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[   20.217648] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.224924] usb usb2: Product: xHCI Host Controller
[   20.252967] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   20.277696] usb usb2: SerialNumber: xhci-hcd.5.auto
[   20.300485] hub 2-0:1.0: USB hub found
[   20.322920] hub 2-0:1.0: 1 port detected
[   20.339709] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   20.345272] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 3
[   20.416640] xhci-hcd xhci-hcd.6.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
[   20.426259] xhci-hcd xhci-hcd.6.auto: irq 105, io mem 0x483d0000
[   20.436205] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[   20.483474] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   20.516636] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.534434] usb usb3: Product: xHCI Host Controller
[   20.548842] usb usb3: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   20.566913] usb usb3: SerialNumber: xhci-hcd.6.auto
[   20.582398] hub 3-0:1.0: USB hub found
[   20.596669] hub 3-0:1.0: 1 port detected
[   20.612295] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   20.626720] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 4
[   20.634458] xhci-hcd xhci-hcd.6.auto: Host supports USB 3.0 SuperSpeed
[   20.651496] usb 1-1: New USB device found, idVendor=0480, idProduct=a202, bcdDevice= 3.15
[   20.672805] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   20.683353] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   20.695420] usb 1-1: Product: External USB 3.0
[   20.702374] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[   20.716840] usb 1-1: Manufacturer: TOSHIBA
[   20.728597] usb 1-1: SerialNumber: 20170905004167C
[   20.739739] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.759292] usb usb4: Product: xHCI Host Controller
[   20.775812] usb usb4: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   20.797065] usb usb4: SerialNumber: xhci-hcd.6.auto
[   20.804568] hub 4-0:1.0: USB hub found
[   20.815218] hub 4-0:1.0: 1 port detected
[   20.938207] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   20.980049] wlcore: loaded
[   21.816685] SCSI subsystem initialized
[   21.851675] usb-storage 1-1:1.0: USB Mass Storage device detected
[   21.870922] scsi host0: usb-storage 1-1:1.0
[   21.886065] usbcore: registered new interface driver usb-storage
[   21.911993] usbcore: registered new interface driver uas
[   22.890153] scsi 0:0:0:0: Direct-Access     TOSHIBA  External USB 3.0 5438 PQ: 0 ANSI: 6
[   22.953179] sd 0:0:0:0: [sda] 1953525164 512-byte logical blocks: (1.00 TB/932 GiB)
[   22.970810] sd 0:0:0:0: [sda] Write Protect is off
[   22.975649] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[   22.986840] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   26.471794]  sda: sda1
[   26.483043] sd 0:0:0:0: [sda] Attached SCSI disk
[   30.590876] gpio gpiochip0: Persistence not supported for GPIO 4
[   30.600580] gpio gpiochip0: Persistence not supported for GPIO 20
[   30.608364] gpio gpiochip0: Persistence not supported for GPIO 23
[   30.627768] gpio gpiochip1: Persistence not supported for GPIO 0
[   30.647134] gpio gpiochip1: Persistence not supported for GPIO 1
[   30.652273] gpio gpiochip1: Persistence not supported for GPIO 5
[   30.697028] gpio gpiochip1: Persistence not supported for GPIO 6
[   30.703447] gpio gpiochip1: Persistence not supported for GPIO 7
[   30.737198] gpio gpiochip1: Persistence not supported for GPIO 16
[   30.742560] gpio gpiochip1: Persistence not supported for GPIO 22
[   30.864671] gpio gpiochip1: Persistence not supported for GPIO 25
[   30.865832] gpio gpiochip1: Persistence not supported for GPIO 27
[   30.883292] gpio gpiochip1: Persistence not supported for GPIO 29
[   30.937684] gpio gpiochip2: Persistence not supported for GPIO 2
[   30.938890] gpio gpiochip3: Persistence not supported for GPIO 23
[   30.996206] gpio gpiochip4: Persistence not supported for GPIO 9
[   31.041114] gpio gpiochip5: Persistence not supported for GPIO 11
[   31.042908] gpio gpiochip5: Persistence not supported for GPIO 12
[   31.077655] gpio gpiochip5: Persistence not supported for GPIO 13
[   32.427906] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   32.602896] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[   32.755228] FAT-fs (mmcblk1p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[13487.248342] hrtimer: interrupt took 521834 ns
[666376.862360] usb 1-1: USB disconnect, device number 2
[666376.890748] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[666376.911647] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00

5.10.100.log
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.100 (phoyer@SmaLin) (arm-linux-gnueabihf-gcc (Ubuntu 11.2.0-17ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #7 SMP PREEMPT Sat Sep 24 18:39:19 CEST 2022
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: SMaBiT SMaWay
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0xbd000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afffffff]
[    0.000000]   HighMem  [mem 0x00000000b0000000-0x00000000bfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (neon)
[    0.000000] percpu: Embedded 20 pages/cpu s49932 r8192 d23796 u81920
[    0.000000] pcpu-alloc: s49932 r8192 d23796 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyO4,115200n8 video=vmalloc=512M net.ifnames=0 biosdevnames=0 root=PARTUUID=015884b5-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 972268K/1048576K available (10240K kernel code, 1113K rwdata, 3436K rodata, 1024K init, 309K bss, 27156K reserved, 49152K cma-reserved, 212992K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 34359 entries in 101 pages
[    0.000000] ftrace: allocated 101 pages with 4 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] random: get_random_bytes called from start_kernel+0x394/0x568 with crng_init=0
[    0.000000] TI gptimer clocksource: always-on /ocp@44000000/interconnect@44c00000/segment@200000/target-module@31000
[    0.000010] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000027] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000147] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000161] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000439] TI gptimer clockevent: 24000000 Hz at /ocp@44000000/interconnect@48000000/segment@0/target-module@40000
[    0.001542] Console: colour dummy device 80x30
[    0.001585] WARNING: Your 'console=ttyO4' has been replaced by 'ttyS4'
[    0.001593] This ensures that you still see kernel messages. Please
[    0.001600] update your kernel commandline.
[    0.001660] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
[    0.058046] pid_max: default: 32768 minimum: 301
[    0.058177] LSM: Security Framework initializing
[    0.058308] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.058335] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.059465] CPU: Testing write buffer coherency: ok
[    0.059541] CPU0: Spectre v2: using BPIALL workaround
[    0.059905] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060941] Setting up static identity map for 0x80100000 - 0x80100060
[    0.061131] rcu: Hierarchical SRCU implementation.
[    0.061446] EFI services will not be available.
[    0.061604] smp: Bringing up secondary CPUs ...
[    0.061617] smp: Brought up 1 node, 1 CPU
[    0.061628] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
[    0.061637] CPU: All CPU(s) started in SVC mode.
[    0.062317] devtmpfs: initialized
[    0.077222] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.077556] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.077586] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.081355] pinctrl core: initialized pinctrl subsystem
[    0.082402] DMI not present or invalid.
[    0.082929] NET: Registered protocol family 16
[    0.085552] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.096099] thermal_sys: Registered thermal governor 'fair_share'
[    0.096114] thermal_sys: Registered thermal governor 'bang_bang'
[    0.096130] thermal_sys: Registered thermal governor 'step_wise'
[    0.096138] thermal_sys: Registered thermal governor 'user_space'
[    0.096616] cpuidle: using governor ladder
[    0.096669] cpuidle: using governor menu
[    0.107102] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
[    0.107214] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
[    1.007168] No ATAGs?
[    1.007279] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    1.007292] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    1.038289] reg-fixed-voltage fixedregulator-mmcwl: GPIO lookup for consumer (null)
[    1.038305] reg-fixed-voltage fixedregulator-mmcwl: using device tree for GPIO lookup
[    1.038345] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-mmcwl[0]'
[    1.038374] reg-fixed-voltage fixedregulator-mmcwl: No GPIO consumer (null) found
[    1.039463] iommu: Default domain type: Translated 
[    1.041950] mc: Linux media interface: v0.10
[    1.042005] videodev: Linux video capture interface: v2.00
[    1.042153] pps_core: LinuxPPS API ver. 1 registered
[    1.042164] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.042190] PTP clock support registered
[    1.042256] EDAC MC: Ver: 3.0.0
[    1.044428] NetLabel: Initializing
[    1.044450] NetLabel:  domain hash size = 128
[    1.044457] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.044538] NetLabel:  unlabeled traffic allowed by default
[    1.045063] clocksource: Switched to clocksource dmtimer
[    1.620145] NET: Registered protocol family 2
[    1.620515] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.621975] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.622034] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.622102] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.622209] TCP: Hash tables configured (established 8192 bind 8192)
[    1.622409] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.622482] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.622689] NET: Registered protocol family 1
[    1.623492] RPC: Registered named UNIX socket transport module.
[    1.623511] RPC: Registered udp transport module.
[    1.623520] RPC: Registered tcp transport module.
[    1.623527] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.626000] Initialise system trusted keyrings
[    1.626357] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.631062] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.632021] NFS: Registering the id_resolver key type
[    1.632069] Key type id_resolver registered
[    1.632079] Key type id_legacy registered
[    1.632130] ntfs: driver 2.1.32 [Flags: R/O].
[    1.711354] Key type asymmetric registered
[    1.711378] Asymmetric key parser 'x509' registered
[    1.711453] bounce: pool size: 64 pages
[    1.711526] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.711539] io scheduler mq-deadline registered
[    1.711549] io scheduler kyber registered
[    2.101948] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    2.357689] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    2.357730] edma 49000000.dma: TI EDMA DMA engine driver
[    2.379044] pinctrl-single 44e10800.pinmux: 199 pins, size 796
[    2.435902] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    2.440285] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    2.441499] omap8250 44e09000.serial: GPIO lookup for consumer rs485-term
[    2.441512] omap8250 44e09000.serial: using device tree for GPIO lookup
[    2.441557] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp@44000000/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]'
[    2.441583] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp@44000000/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]'
[    2.441597] omap8250 44e09000.serial: using lookup tables for GPIO lookup
[    2.441606] omap8250 44e09000.serial: No GPIO consumer rs485-term found
[    2.441649] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 64, base_baud = 3000000) is a 8250
[    2.442800] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    2.443872] omap8250 48022000.serial: GPIO lookup for consumer rs485-term
[    2.443887] omap8250 48022000.serial: using device tree for GPIO lookup
[    2.443932] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@22000/serial@0[0]'
[    2.443958] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@22000/serial@0[0]'
[    2.443971] omap8250 48022000.serial: using lookup tables for GPIO lookup
[    2.443980] omap8250 48022000.serial: No GPIO consumer rs485-term found
[    2.444022] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 70, base_baud = 3000000) is a 8250
[    2.445203] omap8250 48024000.serial: No clock speed specified: using default: 48000000
[    2.446273] omap8250 48024000.serial: GPIO lookup for consumer rs485-term
[    2.446286] omap8250 48024000.serial: using device tree for GPIO lookup
[    2.446333] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@24000/serial@0[0]'
[    2.446359] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@24000/serial@0[0]'
[    2.446373] omap8250 48024000.serial: using lookup tables for GPIO lookup
[    2.446382] omap8250 48024000.serial: No GPIO consumer rs485-term found
[    2.446422] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 71, base_baud = 3000000) is a 8250
[    2.447528] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    2.448573] omap8250 481a6000.serial: GPIO lookup for consumer rs485-term
[    2.448585] omap8250 481a6000.serial: using device tree for GPIO lookup
[    2.448629] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@a6000/serial@0[0]'
[    2.448656] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@a6000/serial@0[0]'
[    2.448670] omap8250 481a6000.serial: using lookup tables for GPIO lookup
[    2.448679] omap8250 481a6000.serial: No GPIO consumer rs485-term found
[    2.448721] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 79, base_baud = 3000000) is a 8250
[    2.449738] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
[    2.450761] omap8250 481a8000.serial: GPIO lookup for consumer rs485-term
[    2.450774] omap8250 481a8000.serial: using device tree for GPIO lookup
[    2.450817] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@a8000/serial@0[0]'
[    2.450843] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@a8000/serial@0[0]'
[    2.450856] omap8250 481a8000.serial: using lookup tables for GPIO lookup
[    2.450864] omap8250 481a8000.serial: No GPIO consumer rs485-term found
[    2.450907] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 80, base_baud = 3000000) is a 8250
[    3.315413] printk: console [ttyS4] enabled
[    3.323031] omap_rng 48310000.rng: Random Number Generator ver. 20
[    3.329515] random: fast init done
[    3.333192] random: crng init done
[    3.360453] brd: module loaded
[    3.375260] loop: module loaded
[    3.380542] omap2_mcspi 481a2000.spi: registered master spi1
[    3.381739] omap2_mcspi 48345000.spi: registered master spi2
[    3.382921] mdio_bus fixed-0: GPIO lookup for consumer reset
[    3.382934] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    3.382943] mdio_bus fixed-0: No GPIO consumer reset found
[    3.383144] CAN device driver interface
[    3.388877] c_can_platform 481cc000.can: c_can_platform device registered (regs=145874b3, irq=83)
[    3.403196] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
[    3.403213] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
[    3.403253] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000[0]'
[    3.403281] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000[0]'
[    3.403294] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
[    3.403303] mdio_bus 4a101000.mdio: No GPIO consumer reset found
[    3.455150] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    3.464130] mdio_bus 4a101000.mdio:00: GPIO lookup for consumer reset
[    3.464145] mdio_bus 4a101000.mdio:00: using device tree for GPIO lookup
[    3.464197] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000/ethernet-phy@0[0]'
[    3.464229] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000/ethernet-phy@0[0]'
[    3.464241] mdio_bus 4a101000.mdio:00: using lookup tables for GPIO lookup
[    3.464250] mdio_bus 4a101000.mdio:00: No GPIO consumer reset found
[    3.466187] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8740
[    3.475623] cpsw-switch 4a100000.switch: /ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/switch@0/ethernet-ports/port@2 no phy found
[    3.491129] i2c /dev entries driver
[    3.498067] cpuidle: enable-method property 'ti,am4372' found operations
[    3.505855] sdhci: Secure Digital Host Controller Interface driver
[    3.512068] sdhci: Copyright(c) Pierre Ossman
[    3.517847] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.525282] sdhci-omap 48060000.mmc: GPIO lookup for consumer cd
[    3.525296] sdhci-omap 48060000.mmc: using device tree for GPIO lookup
[    3.525326] sdhci-omap 48060000.mmc: No GPIO consumer cd found
[    3.526069] sdhci-omap 481d8000.mmc: GPIO lookup for consumer cd
[    3.526083] sdhci-omap 481d8000.mmc: using device tree for GPIO lookup
[    3.526127] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.526153] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.526165] sdhci-omap 481d8000.mmc: using lookup tables for GPIO lookup
[    3.526173] sdhci-omap 481d8000.mmc: No GPIO consumer cd found
[    3.526183] sdhci-omap 481d8000.mmc: GPIO lookup for consumer wp
[    3.526188] sdhci-omap 481d8000.mmc: using device tree for GPIO lookup
[    3.526213] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.526236] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.526246] sdhci-omap 481d8000.mmc: using lookup tables for GPIO lookup
[    3.526253] sdhci-omap 481d8000.mmc: No GPIO consumer wp found
[    3.526403] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    3.536829] sdhci-omap 47810000.mmc: GPIO lookup for consumer cd
[    3.536845] sdhci-omap 47810000.mmc: using device tree for GPIO lookup
[    3.536883] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.536907] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.536918] sdhci-omap 47810000.mmc: using lookup tables for GPIO lookup
[    3.536928] sdhci-omap 47810000.mmc: No GPIO consumer cd found
[    3.536936] sdhci-omap 47810000.mmc: GPIO lookup for consumer wp
[    3.536942] sdhci-omap 47810000.mmc: using device tree for GPIO lookup
[    3.536962] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.536982] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.536991] sdhci-omap 47810000.mmc: using lookup tables for GPIO lookup
[    3.536998] sdhci-omap 47810000.mmc: No GPIO consumer wp found
[    3.537194] ledtrig-cpu: registered to indicate activity on CPUs
[    3.545278] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    3.554184] NET: Registered protocol family 10
[    3.566639] Segment Routing with IPv6
[    3.570416] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.577270] NET: Registered protocol family 17
[    3.581761] can: controller area network core
[    3.586312] NET: Registered protocol family 29
[    3.590777] can: raw protocol
[    3.593761] can: broadcast manager protocol
[    3.598112] can: netlink gateway - max_hops=1
[    3.602720] Key type dns_resolver registered
[    3.607238] Registering SWP/SWPB emulation handler
[    3.612059] omap_voltage_late_init: Voltage driver support not added
[    3.619150] Loading compiled-in X.509 certificates
[    3.624170] Key type ._fscrypt registered
[    3.628328] Key type .fscrypt registered
[    3.632271] Key type fscrypt-provisioning registered
[    3.659844] reg-fixed-voltage fixedregulator-mmcwl: GPIO lookup for consumer (null)
[    3.659866] reg-fixed-voltage fixedregulator-mmcwl: using device tree for GPIO lookup
[    3.659904] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-mmcwl[0]'
[    3.659933] reg-fixed-voltage fixedregulator-mmcwl: No GPIO consumer (null) found
[    3.661194] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
[    3.661303] gpio gpiochip0: registered GPIOs 0 to 31 on gpio-0-31
[    3.661385] OMAP GPIO hardware version 0.1
[    3.667370] i2c i2c-1: GPIO lookup for consumer scl
[    3.667386] i2c i2c-1: using device tree for GPIO lookup
[    3.667427] of_get_named_gpiod_flags: can't parse 'scl-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0[0]'
[    3.667453] of_get_named_gpiod_flags: can't parse 'scl-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0[0]'
[    3.667466] i2c i2c-1: using lookup tables for GPIO lookup
[    3.667475] i2c i2c-1: No GPIO consumer scl found
[    3.667495] i2c i2c-1: GPIO lookup for consumer sda
[    3.667500] i2c i2c-1: using device tree for GPIO lookup
[    3.667524] of_get_named_gpiod_flags: can't parse 'sda-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0[0]'
[    3.667547] of_get_named_gpiod_flags: can't parse 'sda-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0[0]'
[    3.667556] i2c i2c-1: using lookup tables for GPIO lookup
[    3.667563] i2c i2c-1: No GPIO consumer sda found
[    3.667621] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    3.674241] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
[    3.674349] gpio gpiochip1: registered GPIOs 32 to 63 on gpio-32-63
[    3.676013] i2c i2c-2: GPIO lookup for consumer scl
[    3.676030] i2c i2c-2: using device tree for GPIO lookup
[    3.676073] of_get_named_gpiod_flags: can't parse 'scl-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    3.676101] of_get_named_gpiod_flags: can't parse 'scl-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    3.676115] i2c i2c-2: using lookup tables for GPIO lookup
[    3.676124] i2c i2c-2: No GPIO consumer scl found
[    3.676144] i2c i2c-2: GPIO lookup for consumer sda
[    3.676149] i2c i2c-2: using device tree for GPIO lookup
[    3.676174] of_get_named_gpiod_flags: can't parse 'sda-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    3.676198] of_get_named_gpiod_flags: can't parse 'sda-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    3.676207] i2c i2c-2: using lookup tables for GPIO lookup
[    3.676214] i2c i2c-2: No GPIO consumer sda found
[    3.708121] tps65218-pwrbutton: Failed to locate of_node [id: -2]
[    3.714574] tps65218-gpio: Failed to locate of_node [id: -2]
[    3.731916] LDO1: Bringing 1800000uV into 2100000-2100000uV
[    3.740648] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
[    3.747335] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
[    3.747441] gpio gpiochip2: registered GPIOs 64 to 95 on gpio-64-95
[    3.748384] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
[    3.748500] gpio gpiochip3: registered GPIOs 96 to 127 on gpio-96-127
[    3.749457] gpio gpiochip4: (gpio-128-159): added GPIO chardev (254:4)
[    3.749558] gpio gpiochip4: registered GPIOs 128 to 159 on gpio-128-159
[    3.750487] gpio gpiochip5: (gpio-160-191): added GPIO chardev (254:5)
[    3.750588] gpio gpiochip5: registered GPIOs 160 to 191 on gpio-160-191
[    3.763406] omap_reset_deassert: timedout waiting for gfx:0
[    3.769107] ti-sysc: probe of 5600fe00.target-module failed with error -110
[    3.779110] sdhci-omap 48060000.mmc: GPIO lookup for consumer cd
[    3.779127] sdhci-omap 48060000.mmc: using device tree for GPIO lookup
[    3.779194] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' - status (0)
[    3.779275] gpio gpiochip0: Persistence not supported for GPIO 6
[    3.779298] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    3.788713] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
[    3.788741] gpio gpiochip3: Persistence not supported for GPIO 17
[    3.788749] gpio-113 (?): no flags found for gpios
[    3.788918] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
[    3.788936] gpio gpiochip5: Persistence not supported for GPIO 8
[    3.788942] gpio-168 (?): no flags found for gpios
[    3.789123] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
[    3.789139] gpio gpiochip0: Persistence not supported for GPIO 7
[    3.789145] gpio-7 (?): no flags found for gpios
[    3.790514] sdhci-omap 481d8000.mmc: GPIO lookup for consumer cd
[    3.790527] sdhci-omap 481d8000.mmc: using device tree for GPIO lookup
[    3.790568] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.790595] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.790607] sdhci-omap 481d8000.mmc: using lookup tables for GPIO lookup
[    3.790616] sdhci-omap 481d8000.mmc: No GPIO consumer cd found
[    3.790625] sdhci-omap 481d8000.mmc: GPIO lookup for consumer wp
[    3.790631] sdhci-omap 481d8000.mmc: using device tree for GPIO lookup
[    3.790655] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.790679] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    3.790687] sdhci-omap 481d8000.mmc: using lookup tables for GPIO lookup
[    3.790694] sdhci-omap 481d8000.mmc: No GPIO consumer wp found
[    3.790868] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    3.799406] reg-fixed-voltage fixedregulator-mmcwl: GPIO lookup for consumer (null)
[    3.799419] reg-fixed-voltage fixedregulator-mmcwl: using device tree for GPIO lookup
[    3.799452] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-mmcwl[0]'
[    3.799490] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
[    3.799514] gpio gpiochip4: Persistence not supported for GPIO 5
[    3.804401] sdhci-omap 47810000.mmc: GPIO lookup for consumer cd
[    3.804418] sdhci-omap 47810000.mmc: using device tree for GPIO lookup
[    3.804460] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.804483] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.804495] sdhci-omap 47810000.mmc: using lookup tables for GPIO lookup
[    3.804503] sdhci-omap 47810000.mmc: No GPIO consumer cd found
[    3.804512] sdhci-omap 47810000.mmc: GPIO lookup for consumer wp
[    3.804519] sdhci-omap 47810000.mmc: using device tree for GPIO lookup
[    3.804539] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.804558] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]'
[    3.804566] sdhci-omap 47810000.mmc: using lookup tables for GPIO lookup
[    3.804574] sdhci-omap 47810000.mmc: No GPIO consumer wp found
[    3.804770] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    3.813151] sdhci-omap 48060000.mmc: Got CD GPIO
[    3.835157] sdhci-omap 48060000.mmc: GPIO lookup for consumer wp
[    3.835171] sdhci-omap 48060000.mmc: using device tree for GPIO lookup
[    3.835223] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]'
[    3.835249] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]'
[    3.835263] sdhci-omap 48060000.mmc: using lookup tables for GPIO lookup
[    3.835272] sdhci-omap 48060000.mmc: No GPIO consumer wp found
[    3.835433] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    3.892231] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    3.910471] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    3.942452] mmc0: new high speed SDHC card at address 1234
[    3.949503] mmcblk0: mmc0:1234 SA32G 28.8 GiB 
[    3.956926]  mmcblk0: p1 p2 p3 p4
[    3.984422] mmc1: new high speed MMC card at address 0001
[    3.989958] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
[    4.000208] mmcblk1: mmc1:0001 M62704 3.53 GiB 
[    4.006331] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[    4.012989] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[    4.019627] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB, chardev (244:0)
[    4.027016] sdhci-omap 47810000.mmc: card claims to support voltages below defined range
[    4.039063]  mmcblk1:
[    4.075531] mmc2: new high speed SDIO card at address 0001
[    4.092302] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.115198] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.122648] devtmpfs: mounted
[    4.133241] Freeing unused kernel memory: 1024K
[    4.138150] Run /sbin/init as init process
[    4.142268]   with arguments:
[    4.142273]     /sbin/init
[    4.142277]   with environment:
[    4.142282]     HOME=/
[    4.142287]     TERM=linux
[    4.142291]     biosdevnames=0
[    4.759551] systemd[1]: System time before build time, advancing clock.
[    4.905754] systemd[1]: systemd 241 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)
[    4.928240] systemd[1]: Detected architecture arm.
[    4.977061] systemd[1]: Set hostname to <smaway>.
[    5.859191] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    5.876751] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    6.281409] systemd[1]: Listening on udev Kernel Socket.
[    6.319115] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.355941] systemd[1]: Reached target Remote File Systems.
[    6.396452] systemd[1]: Listening on udev Control Socket.
[    6.437198] systemd[1]: Listening on Syslog Socket.
[    7.417238] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    9.557946] systemd-journald[119]: Received request to flush runtime journal from PID 1
[   16.716846] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[   16.880430] omap_rtc 44e3e000.rtc: char device (253:0)
[   16.880463] omap_rtc 44e3e000.rtc: registered as rtc0
[   16.935899] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[   16.944592] omap_rtc 44e3e000.rtc: GPIO lookup for consumer wp
[   16.944600] omap_rtc 44e3e000.rtc: using device tree for GPIO lookup
[   16.944660] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0[0]'
[   16.944688] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0[0]'
[   16.944706] omap_rtc 44e3e000.rtc: using lookup tables for GPIO lookup
[   16.944714] omap_rtc 44e3e000.rtc: No GPIO consumer wp found
[   18.456419] gpiochip_find_base: found new base at 509
[   18.461091] gpio gpiochip6: (gpio-tps65218): added GPIO chardev (254:6)
[   18.461263] gpio gpiochip6: registered GPIOs 509 to 511 on gpio-tps65218
[   22.733237] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[   22.741733] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[   22.829680] omap-sham 53100000.sham: will run requests pump with realtime priority
[   22.843419] omap-aes 53501000.aes: will run requests pump with realtime priority
[   22.858910] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[   22.966863] omap-des 53701000.des: will run requests pump with realtime priority
[   26.283811] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   26.402337] usbcore: registered new interface driver usbfs
[   26.420560] usbcore: registered new interface driver hub
[   26.450578] usbcore: registered new device driver usb
[   26.517832] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   26.526494] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   26.557080] cfg80211: failed to load regulatory.db
[   26.609203] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[   26.614792] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 1
[   26.685890] xhci-hcd xhci-hcd.5.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
[   26.726045] xhci-hcd xhci-hcd.5.auto: irq 109, io mem 0x48390000
[   26.738536] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[   26.774420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   26.815755] usb usb1: Product: xHCI Host Controller
[   26.820678] usb usb1: Manufacturer: Linux 5.10.100 xhci-hcd
[   26.857058] usb usb1: SerialNumber: xhci-hcd.5.auto
[   26.877203] hub 1-0:1.0: USB hub found
[   26.905260] hub 1-0:1.0: 1 port detected
[   26.920159] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[   26.946200] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 2
[   26.954579] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[   26.995554] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   27.003876] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[   27.025335] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   27.032611] usb usb2: Product: xHCI Host Controller
[   27.055686] usb usb2: Manufacturer: Linux 5.10.100 xhci-hcd
[   27.061305] usb usb2: SerialNumber: xhci-hcd.5.auto
[   27.080872] hub 2-0:1.0: USB hub found
[   27.093448] hub 2-0:1.0: 1 port detected
[   27.104310] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   27.121610] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 3
[   27.157450] wl18xx_driver wl18xx.4.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[   27.187877] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
[   27.215223] wlcore: WARNING falling back to default config
[   27.221436] xhci-hcd xhci-hcd.6.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
[   27.245331] xhci-hcd xhci-hcd.6.auto: irq 110, io mem 0x483d0000
[   27.257692] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[   27.275266] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   27.282541] usb usb3: Product: xHCI Host Controller
[   27.305611] usb usb3: Manufacturer: Linux 5.10.100 xhci-hcd
[   27.311231] usb usb3: SerialNumber: xhci-hcd.6.auto
[   27.336644] hub 3-0:1.0: USB hub found
[   27.340536] hub 3-0:1.0: 1 port detected
[   27.356612] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   27.362164] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 4
[   27.385411] xhci-hcd xhci-hcd.6.auto: Host supports USB 3.0 SuperSpeed
[   27.402549] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   27.422231] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[   27.455275] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   27.462553] usb usb4: Product: xHCI Host Controller
[   27.493349] usb usb4: Manufacturer: Linux 5.10.100 xhci-hcd
[   27.506031] usb usb4: SerialNumber: xhci-hcd.6.auto
[   27.528078] hub 4-0:1.0: USB hub found
[   27.531940] hub 4-0:1.0: 1 port detected
[   27.869877] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   27.957484] wlcore: loaded
[   34.340275] wlcore: PHY firmware version: Rev 8.2.0.0.245
[   34.580021] wlcore: firmware booted (Rev 8.9.0.0.88)
[   37.082392] gpio gpiochip0: Persistence not supported for GPIO 4
[   37.107233] gpio gpiochip0: Persistence not supported for GPIO 20
[   37.120568] gpio gpiochip0: Persistence not supported for GPIO 23
[   37.121628] gpio gpiochip1: Persistence not supported for GPIO 0
[   37.122131] gpio gpiochip1: Persistence not supported for GPIO 1
[   37.123043] gpio gpiochip1: Persistence not supported for GPIO 5
[   37.123480] gpio gpiochip1: Persistence not supported for GPIO 6
[   37.123854] gpio gpiochip1: Persistence not supported for GPIO 7
[   37.124230] gpio gpiochip1: Persistence not supported for GPIO 16
[   37.124585] gpio gpiochip1: Persistence not supported for GPIO 22
[   37.194337] gpio gpiochip1: Persistence not supported for GPIO 25
[   37.194883] gpio gpiochip1: Persistence not supported for GPIO 27
[   37.225034] gpio gpiochip1: Persistence not supported for GPIO 29
[   37.250919] gpio gpiochip2: Persistence not supported for GPIO 2
[   37.251462] gpio gpiochip3: Persistence not supported for GPIO 23
[   37.252426] gpio gpiochip4: Persistence not supported for GPIO 9
[   37.253170] gpio gpiochip5: Persistence not supported for GPIO 11
[   37.254041] gpio gpiochip5: Persistence not supported for GPIO 12
[   37.254716] gpio gpiochip5: Persistence not supported for GPIO 13
[   39.142236] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   39.186567] wlan0: authenticate with b8:ec:a3:f2:5b:9c
[   39.261292] wlan0: send auth to b8:ec:a3:f2:5b:9c (try 1/3)
[   39.291344] wlan0: authenticated
[   39.315841] wlan0: associate with b8:ec:a3:f2:5b:9c (try 1/3)
[   39.353485] wlan0: RX AssocResp from b8:ec:a3:f2:5b:9c (capab=0x1411 status=0 aid=1)
[   39.474424] wlan0: associated
[   39.521321] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[   39.557215] ext4 filesystem being mounted at /mnt/data supports timestamps until 2038 (0x7fffffff)
[   39.815734] FAT-fs (mmcblk0p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   39.847083] cryptd: max_cpu_qlen set to 1000
[   40.099207] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   40.141583] wlcore: Association completed.
[   40.287400] wlcore: down
[   40.356419] wlan0: deauthenticating from b8:ec:a3:f2:5b:9c by local choice (Reason: 3=DEAUTH_LEAVING)
[   40.796666] wlcore: down
[  107.677535] wlcore: PHY firmware version: Rev 8.2.0.0.245
[  108.006488] wlcore: firmware booted (Rev 8.9.0.0.88)
[  111.262525] wlan0: authenticate with b8:ec:a3:f2:5b:9c
[  111.282688] wlan0: send auth to b8:ec:a3:f2:5b:9c (try 1/3)
[  111.310884] wlan0: authenticated
[  111.325198] wlan0: associate with b8:ec:a3:f2:5b:9c (try 1/3)
[  111.338535] wlan0: RX AssocResp from b8:ec:a3:f2:5b:9c (capab=0x1411 status=0 aid=1)
[  111.391773] wlan0: associated
[  111.423660] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  111.453102] wlcore: Association completed.

am437x-smaway__new.dts.txt
/*
 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
 * Copyright (C) 2020 SMaBiT GmbH - http://www.smabit.eu
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

/* AM437x SMAWAY */

/dts-v1/;

#include "am4372.dtsi"
#include <dt-bindings/pinctrl/am43xx.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "SMaBiT SMaWay";
	compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43","smabit,smaway";

	aliases {
	
	};

	chosen {
		stdout-path = &uart4;
	};

	leds {
		compatible = "gpio-leds";

		pinctrl-names = "default";
		pinctrl-0 = <&leds_pins>;

		led0 {
			label = "am437x-smaway:red:led0";
			gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; 
			default-state = "off";
		};

		led1 {
			label = "am437x-smaway:blue:led1";
			gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			default-state = "off";
		};

		led2 {
			label = "am437x-smaway:green:led2";
			gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};
	};

	// fixed 12MHz oscillator
	refclk: oscillator {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12000000>;
	};

	// fixed 32k external oscillator clock
    clk_32k_rtc: clk_32k_rtc {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <32768>;    
	};

	wlan_en_reg: fixedregulator-mmcwl {
		compatible = "regulator-fixed";
		regulator-name = "vmmcwl_fixed";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;

		/* WLAN_EN GPIO */
		gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;

		/* WLAN card specific delay */
		startup-delay-us = <70000>;
		enable-active-high;
	};
};

&am43xx_pinmux {
	pinctrl-names = "default", "sleep";

	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa08, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AE18) cam0_data0.I2C1_SDA 
			AM4372_IOPAD(0xa0c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AB18) cam0_data1.I2C1_SCL 
		>;
	};

	i2c2_pins: i2c2_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9e8, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AB20) cam1_data0.I2C2_SDA 
			AM4372_IOPAD(0x9ec, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AC21) cam1_data1.I2C2_SCL 

		>;
	};

	spi2_pins: spi2_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9bc, PIN_OUTPUT | MUX_MODE4) // (AD17) cam0_wen.spi2_d0
			AM4372_IOPAD(0x9dc, PIN_OUTPUT | MUX_MODE4) // (AE21) cam1_pclk.spi2_sclk 
			AM4372_IOPAD(0x9e0, PIN_OUTPUT | MUX_MODE4) // (AC25) cam1_field.spi2_cs1 
			AM4372_IOPAD(0x9e4, PIN_OUTPUT | MUX_MODE4) // (AB25) cam1_wen.spi2_d1 
		>;
	};

	spi4_pins: spi4_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa50, PIN_OUTPUT | MUX_MODE0) // (P25) spi4_sclk.spi4_sclk 
			AM4372_IOPAD(0xa54, PIN_OUTPUT | MUX_MODE0) // (R24) spi4_d0.spi4_d0 
			AM4372_IOPAD(0xa58, PIN_OUTPUT | MUX_MODE0) // (P24) spi4_d1.spi4_d1 
			AM4372_IOPAD(0xa5c, PIN_OUTPUT | MUX_MODE0) // (N25) spi4_cs0.spi4_cs0 
		>;
	};

	mmc0_pins: pinmux_mmc0_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) // (D1) mmc0_clk.mmc0_clk 
			AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) // (D2) mmc0_cmd.mmc0_cmd 
			AM4372_IOPAD(0x8fc, PIN_INPUT | MUX_MODE0) // (C1) mmc0_dat0.mmc0_dat0 
			AM4372_IOPAD(0x8f8, PIN_INPUT | MUX_MODE0) // (C2) mmc0_dat1.mmc0_dat1 
			AM4372_IOPAD(0x8f4, PIN_INPUT | MUX_MODE0) // (B2) mmc0_dat2.mmc0_dat2 
			AM4372_IOPAD(0x8f0, PIN_INPUT | MUX_MODE0) // (B1) mmc0_dat3.mmc0_dat3 
			AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) // (R25) spi0_cs1.mmc0_sdcd
		>;
	};

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) // (B9) gpmc_csn1.mmc1_clk 
			AM4372_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) // (F10) gpmc_csn2.mmc1_cmd 
			AM4372_IOPAD(0x820, PIN_INPUT_PULLUP | MUX_MODE2) // (B10) gpmc_ad8.mmc1_dat0
			AM4372_IOPAD(0x824, PIN_INPUT_PULLUP | MUX_MODE2) // (A10) gpmc_ad9.mmc1_dat1 
			AM4372_IOPAD(0x828, PIN_INPUT_PULLUP | MUX_MODE2) // (F11) gpmc_ad10.mmc1_dat2 
			AM4372_IOPAD(0x82c, PIN_INPUT_PULLUP | MUX_MODE2) // (D11) gpmc_ad11.mmc1_dat3 
			AM4372_IOPAD(0x830, PIN_INPUT_PULLUP | MUX_MODE2) // (E11) gpmc_ad12.mmc1_dat4 
			AM4372_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE2) // (C11) gpmc_ad13.mmc1_dat5 
			AM4372_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE2) // (B11) gpmc_ad14.mmc1_dat6 
			AM4372_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE2) // (A11) gpmc_ad15.mmc1_dat7 
		>;
	};

    mmc2_pins: mmc2_pins {  // WiFi SDIO
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9f0, PIN_INPUT | MUX_MODE3) // (AD21) cam1_data2.mmc2_clk
			AM4372_IOPAD(0x9f4, PIN_INPUT | MUX_MODE3) // (AE22) cam1_data3.mmc2_cmd
			AM4372_IOPAD(0x9f8, PIN_INPUT | MUX_MODE3) // (AD22) cam1_data4.mmc2_dat0
			AM4372_IOPAD(0x9fc, PIN_INPUT | MUX_MODE3) // (AE23) cam1_data5.mmc2_dat1
			AM4372_IOPAD(0xa00, PIN_INPUT | MUX_MODE3) // (AD23) cam1_data6.mmc2_dat2
			AM4372_IOPAD(0xa04, PIN_INPUT | MUX_MODE3) // (AE24) cam1_data7.mmc2_dat3
		>;
	};

	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			// MDIO 
			AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	// (A17) mdio_data.mdio_data 
			AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)					// (B17) mdio_clk.mdio_clk 
		>;
	};

    davinci_mdio_sleep: davinci_mdio_sleep {
		pinctrl-single,pins = <
			// MDIO 
			AM4372_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)			// mdio_data.mdio_data 
			AM4372_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)			// mdio_clk.mdio_clk 
		>;
	};

	uart0_pins_default: uart0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) // (K25) uart0_rxd.uart0_rxd
			AM4372_IOPAD(0x974, PIN_OUTPUT | MUX_MODE0) // (J24) uart0_txd.uart0_txd
			AM4372_IOPAD(0x9cc, PIN_INPUT_PULLDOWN | MUX_MODE8) // (AC24) cam1_data9.uart0_ctsn
			AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE8) // (AD24) cam1_data8.uart0_rtsn
		>;
	};

	uart1_pins_default: uart1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0) 			// (K21) uart1_rxd.uart1_rxd 
			AM4372_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) 		// (L21) uart1_txd.uart1_txd 
		>;
	};

	uart2_pins_default: uart2_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x950, PIN_INPUT | MUX_MODE1) // (P23) spi0_sclk.uart2_rxd
			AM4372_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) // (T22) spi0_d0.uart2_txd
			AM4372_IOPAD(0x988, PIN_INPUT | MUX_MODE2) // (AB24) I2C0_SDA.uart2_ctsn
			AM4372_IOPAD(0x98c, PIN_OUTPUT | MUX_MODE2) // (Y22) I2C0_SCL.uart2_rtsn
		>;
	};

	uart3_pins_default: uart3_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa28, PIN_INPUT | MUX_MODE0) // (H25) uart3_rxd.uart3_rxd
			AM4372_IOPAD(0xa2c, PIN_OUTPUT | MUX_MODE0) // (H24) uart3_txd.uart3_txd
			AM4372_IOPAD(0xa30, PIN_INPUT | MUX_MODE0) // (H22) uart3_ctsn.uart3_ctsn
			AM4372_IOPAD(0xa34, PIN_OUTPUT | MUX_MODE0) // (K24) uart3_rtsn.uart3_rtsn
		>;
	};

	uart4_pins_default: uart4_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x968, PIN_INPUT | MUX_MODE1) // (L25) uart0_ctsn.uart4_rxd
			AM4372_IOPAD(0x96c, PIN_OUTPUT | MUX_MODE1) // (J25) uart0_rtsn.uart4_txd
		>;
	};
	
	mii1_pins_default: mii1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x908, PIN_INPUT | MUX_MODE0) // (D16) mii1_col.gmii1_col 
			AM4372_IOPAD(0x90c, PIN_INPUT | MUX_MODE0) // (B14) mii1_crs.gmii1_crs 
			AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE0) // (B13) mii1_rx_er.gmii1_rxer 
			AM4372_IOPAD(0x914, PIN_OUTPUT | MUX_MODE0) // (A13) mii1_tx_en.gmii1_txen 
			AM4372_IOPAD(0x918, PIN_INPUT | MUX_MODE0) // (A15) mii1_rx_dv.gmii1_rxdv 
			AM4372_IOPAD(0x92c, PIN_INPUT | MUX_MODE0) // (D14) mii1_tx_clk.gmii1_txclk 
			AM4372_IOPAD(0x930, PIN_INPUT | MUX_MODE0) // (D13) mii1_rx_clk.gmii1_rxclk 
			AM4372_IOPAD(0x928, PIN_OUTPUT | MUX_MODE0) // (B15) mii1_txd0.gmii1_txd0 
			AM4372_IOPAD(0x924, PIN_OUTPUT | MUX_MODE0) // (A14) mii1_txd1.gmii1_txd1 
			AM4372_IOPAD(0x920, PIN_OUTPUT | MUX_MODE0) // (C13) mii1_txd2.gmii1_txd2 
			AM4372_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE0) // (C16) mii1_txd3.gmii1_txd3 
			AM4372_IOPAD(0x940, PIN_INPUT | MUX_MODE0) // (F17) mii1_rxd0.gmii1_rxd0 
			AM4372_IOPAD(0x93c, PIN_INPUT | MUX_MODE0) // (B16) mii1_rxd1.gmii1_rxd1 
			AM4372_IOPAD(0x938, PIN_INPUT | MUX_MODE0) // (E16) mii1_rxd2.gmii1_rxd2 
			AM4372_IOPAD(0x934, PIN_INPUT | MUX_MODE0) // (C14) mii1_rxd3.gmii1_rxd3 
		>;
	};

	mii1_pins_sleep: mii1_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x908, PIN_INPUT | MUX_MODE0) // (D16) mii1_col.gmii1_col 
			AM4372_IOPAD(0x90c, PIN_INPUT | MUX_MODE0) // (B14) mii1_crs.gmii1_crs 
			AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE0) // (B13) mii1_rx_er.gmii1_rxer 
			AM4372_IOPAD(0x914, PIN_OUTPUT | MUX_MODE0) // (A13) mii1_tx_en.gmii1_txen 
			AM4372_IOPAD(0x918, PIN_INPUT | MUX_MODE0) // (A15) mii1_rx_dv.gmii1_rxdv 
			AM4372_IOPAD(0x92c, PIN_INPUT | MUX_MODE0) // (D14) mii1_tx_clk.gmii1_txclk 
			AM4372_IOPAD(0x930, PIN_INPUT | MUX_MODE0) // (D13) mii1_rx_clk.gmii1_rxclk 
			AM4372_IOPAD(0x928, PIN_OUTPUT | MUX_MODE0) // (B15) mii1_txd0.gmii1_txd0 
			AM4372_IOPAD(0x924, PIN_OUTPUT | MUX_MODE0) // (A14) mii1_txd1.gmii1_txd1 
			AM4372_IOPAD(0x920, PIN_OUTPUT | MUX_MODE0) // (C13) mii1_txd2.gmii1_txd2 
			AM4372_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE0) // (C16) mii1_txd3.gmii1_txd3 
			AM4372_IOPAD(0x940, PIN_INPUT | MUX_MODE0) // (F17) mii1_rxd0.gmii1_rxd0 
			AM4372_IOPAD(0x93c, PIN_INPUT | MUX_MODE0) // (B16) mii1_rxd1.gmii1_rxd1 
			AM4372_IOPAD(0x938, PIN_INPUT | MUX_MODE0) // (E16) mii1_rxd2.gmii1_rxd2 
			AM4372_IOPAD(0x934, PIN_INPUT | MUX_MODE0) // (C14) mii1_rxd3.gmii1_rxd3 
		>;
	};
	
	dcan0_pins_default: dcan0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x978, PIN_OUTPUT | MUX_MODE2) 		// K22 dcan0_tx P7 pin
			AM4372_IOPAD(0x97c, PIN_INPUT | MUX_MODE2) 			// L22 dcan0_rx P7 pin 
		>;
	};
	
	gpio0_pins: gpio0_pins {
	pinctrl-single,pins = <
	    	AM4372_IOPAD(0x958, PIN_OUTPUT_PULLUP | MUX_MODE7) // (T21) spi0_d1.gpio0[4] - GSM VCC		
			AM4372_IOPAD(0xa64, PIN_OUTPUT_PULLDOWN | MUX_MODE9) // (P22) spi2_d0.gpio0[20] - GSM reset
			AM4372_IOPAD(0xa6c, PIN_OUTPUT_PULLDOWN | MUX_MODE9) // (T23) spi2_cs0.gpio0[23] - GSM power
		>;
	};
	
	gpio1_pins: gpio1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x800, PIN_OUTPUT | MUX_MODE7) // (B5) gpmc_ad0.gpio1[0] - Generic
			AM4372_IOPAD(0x804, PIN_OUTPUT_PULLUP | MUX_MODE7) // (A5) gpmc_ad1.gpio1[1] - Audio reset
			AM4372_IOPAD(0x814, PIN_OUTPUT | MUX_MODE7) // (A7) gpmc_ad5.gpio1[5] - Generic
			AM4372_IOPAD(0x818, PIN_OUTPUT | MUX_MODE7) // (C8) gpmc_ad6.gpio1[6] - Generic
			AM4372_IOPAD(0x81c, PIN_OUTPUT | MUX_MODE7) // (B8) gpmc_ad7.gpio1[7] - Generic
			AM4372_IOPAD(0x840, PIN_OUTPUT | MUX_MODE7) // (C3) gpmc_a0.gpio1[16] - Generic
			AM4372_IOPAD(0x858, PIN_OUTPUT | MUX_MODE7) // (E8) gpmc_a6.gpio1[22] - ZB backdoor 2
			AM4372_IOPAD(0x864, PIN_OUTPUT | MUX_MODE7) // (B4) gpmc_a9.gpio1[25] - Generic 
			AM4372_IOPAD(0x86c, PIN_OUTPUT | MUX_MODE7) // (D8) gpmc_a11.gpio1[27] - ZB backdoor 1
			AM4372_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE7) // (A8) gpmc_csn0.gpio1[29] - Generic
		>;
	};
	
	gpio2_pins: gpio2_pins {
		pinctrl-single,pins = <
        	AM4372_IOPAD(0x890, PIN_OUTPUT | MUX_MODE7) // (A9) gpmc_advn_ale.gpio2[2] - Generic
			AM4372_IOPAD(0x894, PIN_OUTPUT_PULLUP | MUX_MODE7) // (E10) gpmc_oen_ren.gpio2[3] - LAN reset
		>;
	};

	gpio3_pins: gpio3_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa68, PIN_OUTPUT_PULLUP | MUX_MODE7) // (P20) spi2_d1.gpio3[23] - ZB reset
		>;
	};

	gpio4_pins: gpio4_pins {
		pinctrl-single,pins = <			
			AM4372_IOPAD(0x9d4, PIN_INPUT | MUX_MODE7) // (AD25) cam1_hd.gpio4[9] - GSM sense
		>;
	};

    gpio5_pins: gpio5_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa44, PIN_OUTPUT_PULLUP | MUX_MODE7) // (F23) gpio5_11.gpio5[11] - Reset Mikrobus
			AM4372_IOPAD(0xa48, PIN_OUTPUT_PULLUP | MUX_MODE7) // (E25) gpio5_12.gpio5[12] - IRQ Mikrobus
			AM4372_IOPAD(0xa4c, PIN_INPUT | MUX_MODE7) // (E24) gpio5_13.gpio5[13] - Push button
		>;
	};

	leds_pins: leds_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa38, PIN_OUTPUT_PULLDOWN | MUX_MODE7) // (D25) gpio5_8.gpio5[8] - green
			AM4372_IOPAD(0x99c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) // (M24) mcasp0_ahclkr.gpio3[17] - red
			AM4372_IOPAD(0x964, PIN_OUTPUT_PULLDOWN | MUX_MODE7) // (G24) eCAP0_in_PWM0_out.gpio0[7] - blue
		>;
	};	

	mcasp0_pins: mcasp0_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x990, PIN_INPUT | MUX_MODE0) // (N24) mcasp0_aclkx.mcasp0_aclkx
			AM4372_IOPAD(0x994, PIN_INPUT | MUX_MODE0) // (N22) mcasp0_fsx.mcasp0_fsx
			AM4372_IOPAD(0x9a0, PIN_INPUT | MUX_MODE2) // (L23) mcasp0_aclkr.mcasp0_axr2
			AM4372_IOPAD(0x9a4, PIN_INPUT | MUX_MODE2) // (K23) mcasp0_fsr.mcasp0_axr3
		>;
	};

	wlan_pins: pinmux_wlan_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9b8, PIN_INPUT | MUX_MODE7) // (AC18) cam0_field.gpio4[2] - IRQ WiFi
			AM4372_IOPAD(0x9c4, PIN_OUTPUT_PULLUP | MUX_MODE7) // (AB19) cam0_data8.gpio4[5] - WiFi enable
		>;
	};

};

&uart0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart0_pins_default>;
};

&uart1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart1_pins_default>;
};

&uart2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart2_pins_default>;
};

&uart3 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart3_pins_default>;
};

&uart4 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart4_pins_default>;
};

&i2c2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c2_pins>;
	clock-frequency = <100000>;

	tps65218: tps65218@24 {
		reg = <0x24>;
		compatible = "ti,tps65218";
		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-controller;
		#interrupt-cells = <2>;

		dcdc1: regulator-dcdc1 {
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1144000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc2: regulator-dcdc2 {
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912000>;			
			regulator-max-microvolt = <1378000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc3: regulator-dcdc3 {
			regulator-name = "vdcdc3";
			regulator-min-microvolt = <1350000>;
			regulator-max-microvolt = <1350000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc4: regulator-dcdc4 {
			regulator-name = "vdcdc4";
			regulator-min-microvolt = <3300000>;                  
			regulator-max-microvolt = <3300000>;                  
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc5: regulator-dcdc5 {
			regulator-name = "v1_0bat";
			regulator-min-microvolt = <1000000>;
			regulator-max-microvolt = <1000000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
			regulator-on-in-suspend;
			};
		};

		dcdc6: regulator-dcdc6 {
			regulator-name = "v1_8bat";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
			regulator-on-in-suspend;
			};
		};

		ldo1: regulator-ldo1 {
			regulator-min-microvolt = <2100000>;
			regulator-max-microvolt = <2100000>;
			regulator-boot-on;
			regulator-always-on;
		};
	};
};

&i2c1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
};

&epwmss0 {
	status = "okay";
};

&tscadc {
	status = "okay";

	adc {
		ti,adc-channels = <0 1 2 3 4 5 6 7>;
	};
};

&gpio0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio0_pins>;
};

&gpio1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio1_pins>;	
};

&gpio2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio2_pins>;
};

&gpio3 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio3_pins>;
};

&gpio4 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio4_pins>;
};

&gpio5 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio5_pins>;
};

&mmc1 {
	status = "okay";
    vmmc-supply = <&dcdc4>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
	//broken-cd;
};

&mmc2 {
	status = "okay";
	vmmc-supply = <&dcdc4>;
	bus-width = <8>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;
	ti,non-removable;
};

&mmc3 {
	dmas = <&edma_xbar 30 0 1>,
                <&edma_xbar 31 0 2>;
	dma-names = "tx", "rx";
	status = "okay";
	vmmc-supply = <&wlan_en_reg>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc2_pins &wlan_pins>;
	ti,non-removable;
	ti,needs-special-hs-handling;
	cap-power-off-card;
	keep-power-in-suspend;
	max-frequency = <30000000>;

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@0 {
		compatible = "ti,wl1835";
		reg = <2>;
		interrupt-parent = <&gpio4>;
		interrupts = <2 IRQ_TYPE_EDGE_RISING>;
	};
};

&usb2_phy1 {
	status = "okay";
};

&usb1 {
	dr_mode = "host";
	status = "okay";
};

&usb2_phy2 {
	status = "okay";
};

&usb2 {
	dr_mode = "host";
	status = "okay";
};

&mac_sw {
	slaves = <1>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mii1_pins_default>;
	pinctrl-1 = <&mii1_pins_sleep>;
	status = "okay";
};

&davinci_mdio_sw {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;

	ethphy0: ethernet-phy@0 {
		reg = <0>;
	};
};

&cpsw_port1 {
	phy-handle = <&ethphy0>;
	phy-mode = "mii";
	ti,dual-emac-pvid = <1>;
};

&elm {
	status = "okay";
};

&rtc {
	clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
	clock-names = "ext-clk", "int-clk";
	status = "okay";
};

&cpu {
	cpu0-supply = <&dcdc2>;
};

&dcan0{
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&dcan0_pins_default>;
};

&spi2 {
	#address-cells = <1>;
    #size-cells = <0>;

	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi2_pins>;
};

&spi4 {
	#address-cells = <1>;
    #size-cells = <0>;

	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi4_pins>;
};

am437x-smaway__original.dts.txt
/*
 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
 * Copyright (C) 2020 SMaBiT GmbH - http://www.smabit.eu
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

/* AM437x SMAWAY */

/dts-v1/;

#include "am4372.dtsi"
#include <dt-bindings/pinctrl/am43xx.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "SMaBiT SMaWay";
	compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43","smabit,smaway";

	aliases {
	
	};

	chosen {
		stdout-path = &uart4;
	};

	leds {
		compatible = "gpio-leds";

		pinctrl-names = "default";
		pinctrl-0 = <&leds_pins>;

		led0 {
			label = "am437x-smaway:red:led0";
			gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; 
			default-state = "off";
		};

		led1 {
			label = "am437x-smaway:blue:led1";
			gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			default-state = "off";
		};

		led2 {
			label = "am437x-smaway:green:led2";
			gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};
	};

	// fixed 12MHz oscillator
	refclk: oscillator {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12000000>;
	};

	// fixed 32k external oscillator clock
    clk_32k_rtc: clk_32k_rtc {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <32768>;    
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "SMaWay Audio";
		simple-audio-card,widgets =
			"Headphone", "Headphone Jack",
			"Line", "Line In";
		simple-audio-card,routing =
			"Headphone Jack",	"HPLOUT",
			"Headphone Jack",	"HPROUT",
			"LINE1L",		"Line In",
			"LINE1R",		"Line In";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&sound_master>;
		simple-audio-card,frame-master = <&sound_master>;
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
		};

		sound_master: simple-audio-card,codec {
			sound-dai = <&tlv320aic3x>;
			system-clock-frequency = <12000000>;
		};
	};

	wlan_en_reg: fixedregulator-mmcwl {
		compatible = "regulator-fixed";
		regulator-name = "vmmcwl_fixed";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;

		/* WLAN_EN GPIO */
		gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;

		/* WLAN card specific delay */
		startup-delay-us = <70000>;
		enable-active-high;
	};
};

&am43xx_pinmux {
	pinctrl-names = "default", "sleep";

	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa08, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AE18) cam0_data0.I2C1_SDA 
			AM4372_IOPAD(0xa0c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AB18) cam0_data1.I2C1_SCL 
		>;
	};

	i2c2_pins: i2c2_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9e8, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AB20) cam1_data0.I2C2_SDA 
			AM4372_IOPAD(0x9ec, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) // (AC21) cam1_data1.I2C2_SCL 

		>;
	};

	spi2_pins: spi2_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9bc, PIN_OUTPUT | MUX_MODE4) // (AD17) cam0_wen.spi2_d0
			AM4372_IOPAD(0x9dc, PIN_OUTPUT | MUX_MODE4) // (AE21) cam1_pclk.spi2_sclk 
			AM4372_IOPAD(0x9e0, PIN_OUTPUT | MUX_MODE4) // (AC25) cam1_field.spi2_cs1 
			AM4372_IOPAD(0x9e4, PIN_OUTPUT | MUX_MODE4) // (AB25) cam1_wen.spi2_d1 
		>;
	};

	spi4_pins: spi4_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa50, PIN_OUTPUT | MUX_MODE0) // (P25) spi4_sclk.spi4_sclk 
			AM4372_IOPAD(0xa54, PIN_OUTPUT | MUX_MODE0) // (R24) spi4_d0.spi4_d0 
			AM4372_IOPAD(0xa58, PIN_OUTPUT | MUX_MODE0) // (P24) spi4_d1.spi4_d1 
			AM4372_IOPAD(0xa5c, PIN_OUTPUT | MUX_MODE0) // (N25) spi4_cs0.spi4_cs0 
		>;
	};

	mmc0_pins: pinmux_mmc0_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) // (D1) mmc0_clk.mmc0_clk 
			AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) // (D2) mmc0_cmd.mmc0_cmd 
			AM4372_IOPAD(0x8fc, PIN_INPUT | MUX_MODE0) // (C1) mmc0_dat0.mmc0_dat0 
			AM4372_IOPAD(0x8f8, PIN_INPUT | MUX_MODE0) // (C2) mmc0_dat1.mmc0_dat1 
			AM4372_IOPAD(0x8f4, PIN_INPUT | MUX_MODE0) // (B2) mmc0_dat2.mmc0_dat2 
			AM4372_IOPAD(0x8f0, PIN_INPUT | MUX_MODE0) // (B1) mmc0_dat3.mmc0_dat3 
			AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) // (R25) spi0_cs1.mmc0_sdcd
		>;
	};

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) // (B9) gpmc_csn1.mmc1_clk 
			AM4372_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) // (F10) gpmc_csn2.mmc1_cmd 
			AM4372_IOPAD(0x820, PIN_INPUT_PULLUP | MUX_MODE2) // (B10) gpmc_ad8.mmc1_dat0
			AM4372_IOPAD(0x824, PIN_INPUT_PULLUP | MUX_MODE2) // (A10) gpmc_ad9.mmc1_dat1 
			AM4372_IOPAD(0x828, PIN_INPUT_PULLUP | MUX_MODE2) // (F11) gpmc_ad10.mmc1_dat2 
			AM4372_IOPAD(0x82c, PIN_INPUT_PULLUP | MUX_MODE2) // (D11) gpmc_ad11.mmc1_dat3 
			AM4372_IOPAD(0x830, PIN_INPUT_PULLUP | MUX_MODE2) // (E11) gpmc_ad12.mmc1_dat4 
			AM4372_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE2) // (C11) gpmc_ad13.mmc1_dat5 
			AM4372_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE2) // (B11) gpmc_ad14.mmc1_dat6 
			AM4372_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE2) // (A11) gpmc_ad15.mmc1_dat7 
		>;
	};

    mmc2_pins: mmc2_pins {  // WiFi SDIO
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9f0, PIN_INPUT | MUX_MODE3) // (AD21) cam1_data2.mmc2_clk
			AM4372_IOPAD(0x9f4, PIN_INPUT | MUX_MODE3) // (AE22) cam1_data3.mmc2_cmd
			AM4372_IOPAD(0x9f8, PIN_INPUT | MUX_MODE3) // (AD22) cam1_data4.mmc2_dat0
			AM4372_IOPAD(0x9fc, PIN_INPUT | MUX_MODE3) // (AE23) cam1_data5.mmc2_dat1
			AM4372_IOPAD(0xa00, PIN_INPUT | MUX_MODE3) // (AD23) cam1_data6.mmc2_dat2
			AM4372_IOPAD(0xa04, PIN_INPUT | MUX_MODE3) // (AE24) cam1_data7.mmc2_dat3
		>;
	};

	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			// MDIO 
			AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	// (A17) mdio_data.mdio_data 
			AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)					// (B17) mdio_clk.mdio_clk 
		>;
	};

    davinci_mdio_sleep: davinci_mdio_sleep {
		pinctrl-single,pins = <
			// MDIO 
			AM4372_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)			// mdio_data.mdio_data 
			AM4372_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)			// mdio_clk.mdio_clk 
		>;
	};

	uart0_pins_default: uart0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) // (K25) uart0_rxd.uart0_rxd
			AM4372_IOPAD(0x974, PIN_OUTPUT | MUX_MODE0) // (J24) uart0_txd.uart0_txd
			AM4372_IOPAD(0x9cc, PIN_INPUT_PULLDOWN | MUX_MODE8) // (AC24) cam1_data9.uart0_ctsn
			AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE8) // (AD24) cam1_data8.uart0_rtsn
		>;
	};

	uart1_pins_default: uart1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0) 			// (K21) uart1_rxd.uart1_rxd 
			AM4372_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) 		// (L21) uart1_txd.uart1_txd 
		>;
	};

	uart2_pins_default: uart2_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x950, PIN_INPUT | MUX_MODE1) // (P23) spi0_sclk.uart2_rxd
			AM4372_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) // (T22) spi0_d0.uart2_txd
			AM4372_IOPAD(0x988, PIN_INPUT | MUX_MODE2) // (AB24) I2C0_SDA.uart2_ctsn
			AM4372_IOPAD(0x98c, PIN_OUTPUT | MUX_MODE2) // (Y22) I2C0_SCL.uart2_rtsn
		>;
	};

	uart3_pins_default: uart3_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa28, PIN_INPUT | MUX_MODE0) // (H25) uart3_rxd.uart3_rxd
			AM4372_IOPAD(0xa2c, PIN_OUTPUT | MUX_MODE0) // (H24) uart3_txd.uart3_txd
			AM4372_IOPAD(0xa30, PIN_INPUT | MUX_MODE0) // (H22) uart3_ctsn.uart3_ctsn
			AM4372_IOPAD(0xa34, PIN_OUTPUT | MUX_MODE0) // (K24) uart3_rtsn.uart3_rtsn
		>;
	};

	uart4_pins_default: uart4_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x968, PIN_INPUT | MUX_MODE1) // (L25) uart0_ctsn.uart4_rxd
			AM4372_IOPAD(0x96c, PIN_OUTPUT | MUX_MODE1) // (J25) uart0_rtsn.uart4_txd
		>;
	};
	
	mii1_pins_default: mii1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x908, PIN_INPUT | MUX_MODE0) // (D16) mii1_col.gmii1_col 
			AM4372_IOPAD(0x90c, PIN_INPUT | MUX_MODE0) // (B14) mii1_crs.gmii1_crs 
			AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE0) // (B13) mii1_rx_er.gmii1_rxer 
			AM4372_IOPAD(0x914, PIN_OUTPUT | MUX_MODE0) // (A13) mii1_tx_en.gmii1_txen 
			AM4372_IOPAD(0x918, PIN_INPUT | MUX_MODE0) // (A15) mii1_rx_dv.gmii1_rxdv 
			AM4372_IOPAD(0x92c, PIN_INPUT | MUX_MODE0) // (D14) mii1_tx_clk.gmii1_txclk 
			AM4372_IOPAD(0x930, PIN_INPUT | MUX_MODE0) // (D13) mii1_rx_clk.gmii1_rxclk 
			AM4372_IOPAD(0x928, PIN_OUTPUT | MUX_MODE0) // (B15) mii1_txd0.gmii1_txd0 
			AM4372_IOPAD(0x924, PIN_OUTPUT | MUX_MODE0) // (A14) mii1_txd1.gmii1_txd1 
			AM4372_IOPAD(0x920, PIN_OUTPUT | MUX_MODE0) // (C13) mii1_txd2.gmii1_txd2 
			AM4372_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE0) // (C16) mii1_txd3.gmii1_txd3 
			AM4372_IOPAD(0x940, PIN_INPUT | MUX_MODE0) // (F17) mii1_rxd0.gmii1_rxd0 
			AM4372_IOPAD(0x93c, PIN_INPUT | MUX_MODE0) // (B16) mii1_rxd1.gmii1_rxd1 
			AM4372_IOPAD(0x938, PIN_INPUT | MUX_MODE0) // (E16) mii1_rxd2.gmii1_rxd2 
			AM4372_IOPAD(0x934, PIN_INPUT | MUX_MODE0) // (C14) mii1_rxd3.gmii1_rxd3 
		>;
	};

	mii1_pins_sleep: mii1_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x908, PIN_INPUT | MUX_MODE0) // (D16) mii1_col.gmii1_col 
			AM4372_IOPAD(0x90c, PIN_INPUT | MUX_MODE0) // (B14) mii1_crs.gmii1_crs 
			AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE0) // (B13) mii1_rx_er.gmii1_rxer 
			AM4372_IOPAD(0x914, PIN_OUTPUT | MUX_MODE0) // (A13) mii1_tx_en.gmii1_txen 
			AM4372_IOPAD(0x918, PIN_INPUT | MUX_MODE0) // (A15) mii1_rx_dv.gmii1_rxdv 
			AM4372_IOPAD(0x92c, PIN_INPUT | MUX_MODE0) // (D14) mii1_tx_clk.gmii1_txclk 
			AM4372_IOPAD(0x930, PIN_INPUT | MUX_MODE0) // (D13) mii1_rx_clk.gmii1_rxclk 
			AM4372_IOPAD(0x928, PIN_OUTPUT | MUX_MODE0) // (B15) mii1_txd0.gmii1_txd0 
			AM4372_IOPAD(0x924, PIN_OUTPUT | MUX_MODE0) // (A14) mii1_txd1.gmii1_txd1 
			AM4372_IOPAD(0x920, PIN_OUTPUT | MUX_MODE0) // (C13) mii1_txd2.gmii1_txd2 
			AM4372_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE0) // (C16) mii1_txd3.gmii1_txd3 
			AM4372_IOPAD(0x940, PIN_INPUT | MUX_MODE0) // (F17) mii1_rxd0.gmii1_rxd0 
			AM4372_IOPAD(0x93c, PIN_INPUT | MUX_MODE0) // (B16) mii1_rxd1.gmii1_rxd1 
			AM4372_IOPAD(0x938, PIN_INPUT | MUX_MODE0) // (E16) mii1_rxd2.gmii1_rxd2 
			AM4372_IOPAD(0x934, PIN_INPUT | MUX_MODE0) // (C14) mii1_rxd3.gmii1_rxd3 
		>;
	};
	
	dcan0_pins_default: dcan0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x978, PIN_OUTPUT | MUX_MODE2) 		// K22 dcan0_tx P7 pin
			AM4372_IOPAD(0x97c, PIN_INPUT | MUX_MODE2) 			// L22 dcan0_rx P7 pin 
		>;
	};
	
	gpio0_pins: gpio0_pins {
	pinctrl-single,pins = <
	    	AM4372_IOPAD(0x958, PIN_OUTPUT_PULLUP | MUX_MODE7) // (T21) spi0_d1.gpio0[4] - GSM VCC		
			AM4372_IOPAD(0xa64, PIN_OUTPUT_PULLDOWN | MUX_MODE9) // (P22) spi2_d0.gpio0[20] - GSM reset
			AM4372_IOPAD(0xa6c, PIN_OUTPUT_PULLDOWN | MUX_MODE9) // (T23) spi2_cs0.gpio0[23] - GSM power
		>;
	};
	
	gpio1_pins: gpio1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x800, PIN_OUTPUT | MUX_MODE7) // (B5) gpmc_ad0.gpio1[0] - Generic
			AM4372_IOPAD(0x804, PIN_OUTPUT_PULLUP | MUX_MODE7) // (A5) gpmc_ad1.gpio1[1] - Audio reset
			AM4372_IOPAD(0x814, PIN_OUTPUT | MUX_MODE7) // (A7) gpmc_ad5.gpio1[5] - Generic
			AM4372_IOPAD(0x818, PIN_OUTPUT | MUX_MODE7) // (C8) gpmc_ad6.gpio1[6] - Generic
			AM4372_IOPAD(0x81c, PIN_OUTPUT | MUX_MODE7) // (B8) gpmc_ad7.gpio1[7] - Generic
			AM4372_IOPAD(0x840, PIN_OUTPUT | MUX_MODE7) // (C3) gpmc_a0.gpio1[16] - Generic
			AM4372_IOPAD(0x858, PIN_OUTPUT | MUX_MODE7) // (E8) gpmc_a6.gpio1[22] - ZB backdoor 2
			AM4372_IOPAD(0x864, PIN_OUTPUT | MUX_MODE7) // (B4) gpmc_a9.gpio1[25] - Generic 
			AM4372_IOPAD(0x86c, PIN_OUTPUT | MUX_MODE7) // (D8) gpmc_a11.gpio1[27] - ZB backdoor 1
			AM4372_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE7) // (A8) gpmc_csn0.gpio1[29] - Generic
		>;
	};
	
	gpio2_pins: gpio2_pins {
		pinctrl-single,pins = <
        	AM4372_IOPAD(0x890, PIN_OUTPUT | MUX_MODE7) // (A9) gpmc_advn_ale.gpio2[2] - Generic
			AM4372_IOPAD(0x894, PIN_OUTPUT_PULLUP | MUX_MODE7) // (E10) gpmc_oen_ren.gpio2[3] - LAN reset
		>;
	};

	gpio3_pins: gpio3_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa68, PIN_OUTPUT_PULLUP | MUX_MODE7) // (P20) spi2_d1.gpio3[23] - ZB reset
		>;
	};

	gpio4_pins: gpio4_pins {
		pinctrl-single,pins = <			
			AM4372_IOPAD(0x9d4, PIN_INPUT | MUX_MODE7) // (AD25) cam1_hd.gpio4[9] - GSM sense
		>;
	};

    gpio5_pins: gpio5_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa44, PIN_OUTPUT_PULLUP | MUX_MODE7) // (F23) gpio5_11.gpio5[11] - Reset Mikrobus
			AM4372_IOPAD(0xa48, PIN_OUTPUT_PULLUP | MUX_MODE7) // (E25) gpio5_12.gpio5[12] - IRQ Mikrobus
			AM4372_IOPAD(0xa4c, PIN_INPUT | MUX_MODE7) // (E24) gpio5_13.gpio5[13] - Push button
		>;
	};

	leds_pins: leds_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa38, PIN_OUTPUT_PULLDOWN | MUX_MODE7) // (D25) gpio5_8.gpio5[8] - green
			AM4372_IOPAD(0x99c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) // (M24) mcasp0_ahclkr.gpio3[17] - red
			AM4372_IOPAD(0x964, PIN_OUTPUT_PULLDOWN | MUX_MODE7) // (G24) eCAP0_in_PWM0_out.gpio0[7] - blue
		>;
	};	

	mcasp0_pins: mcasp0_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x990, PIN_INPUT | MUX_MODE0) // (N24) mcasp0_aclkx.mcasp0_aclkx
			AM4372_IOPAD(0x994, PIN_INPUT | MUX_MODE0) // (N22) mcasp0_fsx.mcasp0_fsx
			AM4372_IOPAD(0x9a0, PIN_INPUT | MUX_MODE2) // (L23) mcasp0_aclkr.mcasp0_axr2
			AM4372_IOPAD(0x9a4, PIN_INPUT | MUX_MODE2) // (K23) mcasp0_fsr.mcasp0_axr3
		>;
	};

	wlan_pins: pinmux_wlan_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9b8, PIN_INPUT | MUX_MODE7) // (AC18) cam0_field.gpio4[2] - IRQ WiFi
			AM4372_IOPAD(0x9c4, PIN_OUTPUT_PULLUP | MUX_MODE7) // (AB19) cam0_data8.gpio4[5] - WiFi enable
		>;
	};

};

&uart0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart0_pins_default>;
};

&uart1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart1_pins_default>;
};

&uart2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart2_pins_default>;
};

&uart3 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart3_pins_default>;
};

&uart4 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart4_pins_default>;
};

&i2c2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c2_pins>;
	clock-frequency = <100000>;

	tps65218: tps65218@24 {
		reg = <0x24>;
		compatible = "ti,tps65218";
		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-controller;
		#interrupt-cells = <2>;

		dcdc1: regulator-dcdc1 {
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1144000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc2: regulator-dcdc2 {
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912000>;			
			regulator-max-microvolt = <1378000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc3: regulator-dcdc3 {
			regulator-name = "vdcdc3";
			regulator-min-microvolt = <1350000>;
			regulator-max-microvolt = <1350000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc4: regulator-dcdc4 {
			regulator-name = "vdcdc4";
			regulator-min-microvolt = <3300000>;                  
			regulator-max-microvolt = <3300000>;                  
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc5: regulator-dcdc5 {
			regulator-name = "v1_0bat";
			regulator-min-microvolt = <1000000>;
			regulator-max-microvolt = <1000000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
			regulator-on-in-suspend;
			};
		};

		dcdc6: regulator-dcdc6 {
			regulator-name = "v1_8bat";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
			regulator-on-in-suspend;
			};
		};

		ldo1: regulator-ldo1 {
			regulator-min-microvolt = <2100000>;
			regulator-max-microvolt = <2100000>;
			regulator-boot-on;
			regulator-always-on;
		};
	};
};

&i2c1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
};

&epwmss0 {
	status = "okay";
};

&tscadc {
	status = "okay";

	adc {
		ti,adc-channels = <0 1 2 3 4 5 6 7>;
	};
};

&gpio0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio0_pins>;
};

&gpio1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio1_pins>;	
};

&gpio2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio2_pins>;
};

&gpio3 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio3_pins>;
};

&gpio4 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio4_pins>;
};

&gpio5 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&gpio5_pins>;
};

&mmc1 {
	status = "okay";
    vmmc-supply = <&dcdc4>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
	//broken-cd;
};

&mmc2 {
	status = "okay";
	vmmc-supply = <&dcdc4>;
	bus-width = <8>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;
	ti,non-removable;
};

&mmc3 {
	dmas = <&edma_xbar 30 0 1>,
                <&edma_xbar 31 0 2>;
	dma-names = "tx", "rx";
	status = "okay";
	vmmc-supply = <&wlan_en_reg>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc2_pins &wlan_pins>;
	ti,non-removable;
	ti,needs-special-hs-handling;
	cap-power-off-card;
	keep-power-in-suspend;
	max-frequency = <30000000>;

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@0 {
		compatible = "ti,wl1835";
		reg = <2>;
		interrupt-parent = <&gpio4>;
		interrupts = <2 IRQ_TYPE_EDGE_RISING>;
	};
};

&usb2_phy1 {
	status = "okay";
};

&usb1 {
	dr_mode = "host";
	status = "okay";
};

&usb2_phy2 {
	status = "okay";
};

&usb2 {
	dr_mode = "host";
	status = "okay";
};

&mac {
	slaves = <1>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mii1_pins_default>;
	pinctrl-1 = <&mii1_pins_sleep>;
	status = "okay";
};

&davinci_mdio {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;
	status = "okay";
};

&cpsw_emac0 {
	phy_id = <&davinci_mdio>, <0>;
	phy-mode = "mii";
};

&elm {
	status = "okay";
};

&rtc {
	clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
	clock-names = "ext-clk", "int-clk";
	status = "okay";
};

&cpu {
	cpu0-supply = <&dcdc2>;
};

&sgx {
	status = "okay";
};

&dcan0{
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&dcan0_pins_default>;
};

&spi2 {
	#address-cells = <1>;
    #size-cells = <0>;

	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi2_pins>;
};

&spi4 {
	#address-cells = <1>;
    #size-cells = <0>;

	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi4_pins>;

	tlv320aic3x: codec@0 {
		compatible = "ti,tlv320aic3x";
		reg = <0>; // CS number
		#sound-dai-cells = <0>;
		spi-max-frequency = <1000000>;
		AVDD-supply = <&dcdc4>;
		DRVDD-supply = <&dcdc4>;
		DVDD-supply = <&ldo1>;
		ai3x-ocmv = <0>;
	};
};

&mcasp0 {
	#sound-dai-cells = <0>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mcasp0_pins>;

	status = "okay";

	op-mode = <0>;          /* MCASP_IIS_MODE */
	tdm-slots = <2>;
	/* 4 serializers */
	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
		0 0 1 2
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

original.config.txt

new.config.txt

  • Hi,

    The only difference between the new version of DTS and this one is the slaves field in the mac_sw node. Please try deleting the slaves field property. Right no the CPSW does not appear to be initializing. What does ifconfig -a show?

    Best Regards,

    Schuyler 

  • Hi Schuyler,

    I had already tried, unfortunately the slave line does not make any difference. However - no idea why this inhibits the driver to load for cpsw0 - at the end it was this entry missing:

    &cpsw_port2 {
    status = "disabled";
    };

    Now it is working fine.

    Thank you and regards
    Peter