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.

SK-AM62B-P1: PMIC Configuration device tree

Part Number: SK-AM62B-P1
Other Parts Discussed in Thread: SK-AM62-LP, TPS65219

As I refered SK AM62B-P1 the pmic used is TPS6521904RHBR . Can you help me in configuring it through dts corresponding to this

Schematics : https://www.ti.com/lit/zip/spar001

  • Hello Manjunath,

    You may get a delayed reply as today is a holiday in Dallas.

    Regards,

    S.Anil.

  • i tries myself but i am getting error white booting

    // SPDX-License-Identifier: GPL-2.0
    /*
     * AM625 SK: https://www.ti.com/lit/zip/sprr448
     *
     * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/
     */
    
    /dts-v1/;
    
    #include "k3-am62x-sk-common.dtsi"
    
    / {
    	compatible = "ti,am625-sk", "ti,am625";
    	model = "Texas Instruments AM625 SK";
    
    	opp-table {
    		/* Add 1.4GHz OPP for am625-sk board. Requires VDD_CORE to be at 0.85V */
    		opp-1400000000 {
    			opp-hz = /bits/ 64 <1400000000>;
    			opp-supported-hw = <0x01 0x0004>;
    			clock-latency-ns = <6000000>;
    		};
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		/* 2G RAM */
    		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
    
    	};
    
    	vmain_pd: regulator-0 {
    		/* TPS65988 PD CONTROLLER OUTPUT */
    		compatible = "regulator-fixed";
    		regulator-name = "vmain_pd";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vcc_5v0: regulator-1 {
    		/* Output of TPS630702RNMR */
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_5v0";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		vin-supply = <&vmain_pd>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vcc_3v3_sys: regulator-2 {
    		/* output of LM61460-Q1 */
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_3v3_sys";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vmain_pd>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vdd_mmc1: regulator-3 {
    		/* TPS22918DBVR */
    		compatible = "regulator-fixed";
    		regulator-name = "vdd_mmc1";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		enable-active-high;
    		vin-supply = <&vcc_3v3_sys>;
    		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
    	};
    
    	vdd_sd_dv: regulator-4 {
    		compatible = "regulator-gpio";
    		regulator-name = "vddshv_sdio";
    		pinctrl-names = "default";
    		pinctrl-0 = <&vdd_sd_dv_pins_default>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		vin-supply = <&ldo1_reg>;
    		gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0>,
    			 <3300000 0x1>;
    	};
    
    	wlan_lten: regulator-5 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan_lten";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vcc_3v3_sys>;
    		/*regulator-always-on;*/
    		gpios = <&exp1 11 GPIO_ACTIVE_LOW>;
    	};
    
    	wlan_en: regulator-6 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan_en";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		vin-supply = <&wlan_lten>;
    		enable-active-high;
    		gpios = <&main_gpio0 71 GPIO_ACTIVE_HIGH>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&wlan_en_pins_default>;
    	};
    	
    };
    
    &main_pmx0 {
    	main_rgmii2_pins_default: main-rgmii2-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */
    			AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */
    			AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */
    			AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */
    			AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */
    			AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */
    			AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */
    			AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */
    			AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */
    			AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */
    			AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */
    			AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */
    		>;
    	};
    
    	ospi0_pins_default: ospi0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */
    			AM62X_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */
    			AM62X_IOPAD(0x00c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */
    			AM62X_IOPAD(0x010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */
    			AM62X_IOPAD(0x014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */
    			AM62X_IOPAD(0x018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */
    			AM62X_IOPAD(0x01c, PIN_INPUT, 0) /* (J23) OSPI0_D4 */
    			AM62X_IOPAD(0x020, PIN_INPUT, 0) /* (J25) OSPI0_D5 */
    			AM62X_IOPAD(0x024, PIN_INPUT, 0) /* (H25) OSPI0_D6 */
    			AM62X_IOPAD(0x028, PIN_INPUT, 0) /* (J22) OSPI0_D7 */
    			AM62X_IOPAD(0x008, PIN_INPUT, 0) /* (J24) OSPI0_DQS */
    		>;
    	};
    
    	vdd_sd_dv_pins_default: vdd-sd-dv-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */
    		>;
    	};
    
    	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */
    		>;
    	};
    
    	wlan_en_pins_default: wlan-en-pins-default {
    		pinctrl-single,pins = <
    				AM62X_IOPAD(0x124, PIN_OUTPUT, 7) /* (A23) MMC2_SDCD.GPIO0_71 */
    		>;
    	};
    
    	main_mmc2_pins_default: main-mmc2-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x120, PIN_INPUT, 0) /* (C24) MMC2_CMD */
    			AM62X_IOPAD(0x118, PIN_INPUT, 0) /* (D25) MMC2_CLK */
    			AM62X_IOPAD(0x114, PIN_INPUT, 0) /* (B24) MMC2_DAT0 */
    			AM62X_IOPAD(0x110, PIN_INPUT, 0) /* (C25) MMC2_DAT1 */
    			AM62X_IOPAD(0x10c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */
    			AM62X_IOPAD(0x108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */
    			AM62X_IOPAD(0x11c, PIN_INPUT, 0) /* (#N/A) MMC2_CLKB */
    		>;
    	};
    
    	main_wlirq_pins_default: main-wlirq-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x128, PIN_INPUT, 7) /* (B23) MMC2_SDWP.GPIO0_72 */
    		>;
    	};
    
    	pmic_irq_pins_default: pmic-irq-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01f4, PIN_INPUT, 7) /* (D16) EXTINTn.GPIO1_31 */
    		>;
    	};
    	
    };
    
    
    &main_i2c1 {
    	exp1: gpio@22 {
    		compatible = "ti,tca6424";
    		reg = <0x22>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
    				   "PRU_DETECT", "MMC1_SD_EN",
    				   "VPP_LDO_EN", "EXP_PS_3V3_En",
    				   "EXP_PS_5V0_En", "RPI_HAT_DETECT",
    				   "WLAN_ALERT_3V3", "BT_UART_WAKE_SOC_3V3",
    				   "UART1_MUX_SEL", "WL_LT_EN",
    				   "GPIO_HDMI_RSTn", "CSI_GPIO1",
    				   "CSI_GPIO2", "PRU_3V3_EN",
    				   "HDMI_INTn", "TEST_GPIO2",
    				   "AUD_BUF_EN", "WL_BUF_EN",
    				   "AUD_BUF_CLK_DIR", "WL_BUF_CLK_DIR",
    				   "TS_INT#", "IO_EXP_TEST_LED";
    
    		interrupt-parent = <&main_gpio1>;
    		interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    
    		pinctrl-names = "default";
    		pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>;
    	};
    
    	exp2: gpio@20 {
    		compatible = "ti,tca6408";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		gpio-line-names = "WLAN_SDIO_RST_3V3", "GPIO_TS_RSTn",
    				   "GPIO_AUD_RSTn", "GPIO_eMMC_RSTn",
    				   "", "",
    				   "", "";
    	};
    	
    };
    
    &sdhci1 {
    	vmmc-supply = <&vdd_mmc1>;
    	vqmmc-supply = <&vdd_sd_dv>;
    };
    
    &sdhci2 {
    	status = "okay";
    	vmmc-supply = <&wlan_en>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc2_pins_default>;
    	bus-width = <4>;
    	non-removable;
    	ti,fails-without-test-cd;
    	cap-power-off-card;
    	keep-power-in-suspend;
    	ti,driver-strength-ohm = <50>;
    	assigned-clocks = <&k3_clks 157 158>;
    	assigned-clock-parents = <&k3_clks 157 160>;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@2 {
    		compatible = "ti,wl1837";
    		reg = <2>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&main_wlirq_pins_default>;
    		interrupt-parent = <&main_gpio0>;
    		interrupts = <72 IRQ_TYPE_EDGE_RISING>;
    	};
    };
    
    &cpsw3g {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_rgmii1_pins_default
    		     &main_rgmii2_pins_default>;
    
    	cpts@3d000 {
    		/* MAP HW3_TS_PUSH to GENF1 */
    		ti,pps = <2 1>;
    	};
    };
    
    &cpsw_port2 {
    	phy-mode = "rgmii-rxid";
    	phy-handle = <&cpsw3g_phy1>;
    };
    
    &cpsw3g_mdio {
    	cpsw3g_phy1: ethernet-phy@1 {
    		reg = <1>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    		ti,min-output-impedance;
    	};
    };
    
    &main_i2c0 {
    	tps65219: pmic@30 {
    		compatible = "ti,tps65219";
    		reg = <0x30>;
    		buck1-supply = <&vcc_3v3_sys>;
    		buck2-supply = <&vcc_3v3_sys>;
    		buck3-supply = <&vcc_3v3_sys>;
    		ldo1-supply = <&vcc_3v3_sys>;
    		ldo2-supply = <&buck2_reg>;
    		ldo3-supply = <&vcc_3v3_sys>;
    		ldo4-supply = <&vcc_3v3_sys>;
    
    		pinctrl-names = "default";
    		pinctrl-0 = <&pmic_irq_pins_default>;
    
    		interrupt-parent = <&gic500>;
    		interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
    		ti,power-button;
    
    		regulators {
    			buck1_reg: buck1 {
    				regulator-name = "VDD_CORE";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <850000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			buck2_reg: buck2 {
    				regulator-name = "VDDA_1V8";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			buck3_reg: buck3 {
    				regulator-name = "VCC1V2_SYS";
    				regulator-min-microvolt = <1200000>;
    				regulator-max-microvolt = <1200000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo1_reg: ldo1 {
    				regulator-name = "VDDSHV_SDIO";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    			};
    
    			ldo2_reg: ldo2 {
    				regulator-name = "VDD_LDO2";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo3_reg: ldo3 {
    				regulator-name = "VDDA1V8";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo4_reg: ldo4 {
    				regulator-name = "VDD_2V5";
                        		regulator-min-microvolt = <25000000>;
                        		regulator-max-microvolt = <25000000>;
                        		regulator-boot-on;
                        		regulator-always-on;
    			};
    		};
    	};
    };
    
    &mailbox0_cluster0 {
    	mbox_m4_0: mbox-m4-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &ospi0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&ospi0_pins_default>;
    
    	flash@0{
    		compatible = "jedec,spi-nor";
    		reg = <0x0>;
    		spi-tx-bus-width = <8>;
    		spi-rx-bus-width = <8>;
    		spi-max-frequency = <25000000>;
    		cdns,tshsl-ns = <60>;
    		cdns,tsd2d-ns = <60>;
    		cdns,tchsh-ns = <60>;
    		cdns,tslch-ns = <60>;
    		cdns,read-delay = <4>;
    
    		partitions {
    			compatible = "fixed-partitions";
    			#address-cells = <1>;
    			#size-cells = <1>;
    
    			partition@0 {
    				label = "ospi.tiboot3";
    				reg = <0x0 0x80000>;
    			};
    
    			partition@80000 {
    				label = "ospi.tispl";
    				reg = <0x80000 0x200000>;
    			};
    
    			partition@280000 {
    				label = "ospi.u-boot";
    				reg = <0x280000 0x400000>;
    			};
    
    			partition@680000 {
    				label = "ospi.env";
    				reg = <0x680000 0x40000>;
    			};
    
    			partition@6c0000 {
    				label = "ospi.env.backup";
    				reg = <0x6c0000 0x40000>;
    			};
    
    			partition@800000 {
    				label = "ospi.rootfs";
    				reg = <0x800000 0x37c0000>;
    			};
    
    			partition@3fc0000 {
    				label = "ospi.phypattern";
    				reg = <0x3fc0000 0x40000>;
    			};
    		};
    	};
    };
    
    &tlv320aic3106 {
    	DVDD-supply = <&buck2_reg>;
    };
    
    #define K3_TS_OFFSET(pa, val)	(0x4+(pa)*4) (0x10000 | val)
    
    &timesync_router {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&cpsw_cpts>;
    
    	/* Use Time Sync Router to map GENF1 input to HW3_TS_PUSH output */
    	cpsw_cpts: cpsw-cpts {
    		pinctrl-single,pins = <
    			/* pps [cpsw cpts genf1] in17 -> out12 [cpsw cpts hw3_push] */
    			K3_TS_OFFSET(12, 17)
    			>;
    	};
    };
    U-Boot SPL 2023.04-00001-gf5b119738d-dirty (Jan 18 2024 - 10:30:51 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
    SPL initial stack usage: 13376 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 00:42:57, Jan 13 2023
    
    U-Boot SPL 2023.04-00001-gf5b119738d-dirty (Jan 18 2024 - 10:32:01 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Error (-2): cannot determine file size
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-00001-gf5b119738d-dirty (Jan 18 2024 - 10:32:01 +0530)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Board: AM62B-SKEVM-P1 rev A
    DRAM:  2 GiB
    Core:  71 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    Unidentified board claims AM62B-SKEVM-P1 in eeprom header
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    669 bytes read in 15 ms (43 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    20593152 bytes read in 236 ms (83.2 MiB/s)
    61652 bytes read in 17 ms (3.5 MiB/s)
    Working FDT set to 88000000
    1048 bytes read in 17 ms (59.6 KiB/s)
    2397 bytes read in 16 ms (145.5 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.33-00001-ge4769b223d98-dirty (etana@etana) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #2 SMP PREEMPT Wed Jan 17 18:43:49 IST 2024
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f7600000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ff6fffff]
    [    0.000000]   node   0: [mem 0x00000000ff700000-0x00000000fffc9fff]
    [    0.000000]   node   0: [mem 0x00000000fffca000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 19 pages/cpu s38376 r8192 d31256 u77824
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=7e50dd96-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1838068K/2097152K available (12480K kernel code, 1294K rwdata, 4044K rodata, 2176K init, 498K bss, 128012K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008557] Console: colour dummy device 80x25
    [    0.013149] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023832] pid_max: default: 32768 minimum: 301
    [    0.028606] LSM: Security Framework initializing
    [    0.033461] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.041046] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050889] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.058353] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.064655] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.071055] rcu: Hierarchical SRCU implementation.
    [    0.075962] rcu: 	Max phase no-delay instances is 1000.
    [    0.081581] Platform MSI: msi-controller@1820000 domain created
    [    0.087925] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.097846] EFI services will not be available.
    [    0.102791] smp: Bringing up secondary CPUs ...
    [    0.108115] Detected VIPT I-cache on CPU1
    [    0.108233] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.108252] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.108310] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.109018] Detected VIPT I-cache on CPU2
    [    0.109096] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.109112] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.109146] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.109777] Detected VIPT I-cache on CPU3
    [    0.109861] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.109874] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.109903] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.109973] smp: Brought up 1 node, 4 CPUs
    [    0.189706] SMP: Total of 4 processors activated.
    [    0.194519] CPU features: detected: 32-bit EL0 Support
    [    0.199793] CPU features: detected: CRC32 instructions
    [    0.205114] CPU: All CPU(s) started at EL2
    [    0.209311] alternatives: applying system-wide alternatives
    [    0.216909] devtmpfs: initialized
    [    0.229020] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.239032] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.250604] pinctrl core: initialized pinctrl subsystem
    [    0.256598] DMI not present or invalid.
    [    0.261167] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.268445] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.276001] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.284111] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.292299] audit: initializing netlink subsys (disabled)
    [    0.298009] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
    [    0.298523] thermal_sys: Registered thermal governor 'step_wise'
    [    0.305942] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.312129] cpuidle: using governor menu
    [    0.322998] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.330032] ASID allocator initialised with 65536 entries
    [    0.347250] platform display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.355273] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
    [    0.366880] platform connector: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
    [    0.377863] KASLR disabled due to lack of seed
    [    0.389564] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.396540] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.402950] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.409890] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.416297] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.423236] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.429644] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.436583] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.444828] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.454766] iommu: Default domain type: Translated 
    [    0.459783] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.466490] SCSI subsystem initialized
    [    0.470702] usbcore: registered new interface driver usbfs
    [    0.476349] usbcore: registered new interface driver hub
    [    0.481809] usbcore: registered new device driver usb
    [    0.487534] pps_core: LinuxPPS API ver. 1 registered
    [    0.492615] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.501967] PTP clock support registered
    [    0.506101] EDAC MC: Ver: 3.0.0
    [    0.510278] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.517409] FPGA manager framework
    [    0.521002] Advanced Linux Sound Architecture Driver Initialized.
    [    0.528227] clocksource: Switched to clocksource arch_sys_counter
    [    0.534726] VFS: Disk quotas dquot_6.6.0
    [    0.538784] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.551766] NET: Registered PF_INET protocol family
    [    0.557076] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.566340] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.575153] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.583091] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.591294] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.599278] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.606195] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.613120] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.620670] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.626932] RPC: Registered named UNIX socket transport module.
    [    0.633015] RPC: Registered udp transport module.
    [    0.637824] RPC: Registered tcp transport module.
    [    0.642633] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.649226] NET: Registered PF_XDP protocol family
    [    0.654140] PCI: CLS 0 bytes, default 64
    [    0.658979] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.669107] Initialise system trusted keyrings
    [    0.673968] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.686408] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.693118] NFS: Registering the id_resolver key type
    [    0.698352] Key type id_resolver registered
    [    0.702630] Key type id_legacy registered
    [    0.706797] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.713652] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.721425] 9p: Installing v9fs 9p2000 file system support
    [    0.760115] Key type asymmetric registered
    [    0.764307] Asymmetric key parser 'x509' registered
    [    0.769348] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.777083] io scheduler mq-deadline registered
    [    0.781723] io scheduler kyber registered
    [    0.789283] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.795796] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.802603] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.816528] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.831502] loop: module loaded
    [    0.836087] megasas: 07.719.03.00-rc1
    [    0.844037] tun: Universal TUN/TAP device driver, 1.6
    [    0.849992] thunder_xcv, ver 1.0
    [    0.853343] thunder_bgx, ver 1.0
    [    0.856670] nicpf, ver 1.0
    [    0.859873] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
    [    0.867263] hns3: Copyright (c) 2017 Huawei Corporation.
    [    0.872755] hclge is initializing
    [    0.876165] e1000: Intel(R) PRO/1000 Network Driver
    [    0.881158] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.887068] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.892142] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.898224] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.903744] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.909467] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.915874] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.922063] sky2: driver version 1.30
    [    0.926563] VFIO - User Level meta-driver version: 0.3
    [    0.932703] usbcore: registered new interface driver usb-storage
    [    0.939634] i2c_dev: i2c /dev entries driver
    [    0.946268] sdhci: Secure Digital Host Controller Interface driver
    [    0.952646] sdhci: Copyright(c) Pierre Ossman
    [    0.957609] Synopsys Designware Multimedia Card Interface Driver
    [    0.964270] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.971159] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.977526] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.984539] usbcore: registered new interface driver usbhid
    [    0.990247] usbhid: USB HID core driver
    [    0.995522] optee: probing for conduit method.
    [    1.000131] optee: revision 3.20 (8e74d476)
    [    1.000464] optee: dynamic shared memory is enabled
    [    1.010001] optee: initialized driver
    [    1.015704] Initializing XFRM netlink socket
    [    1.020139] NET: Registered PF_PACKET protocol family
    [    1.025543] 9pnet: Installing 9P2000 support
    [    1.030009] Key type dns_resolver registered
    [    1.034835] registered taskstats version 1
    [    1.039064] Loading compiled-in X.509 certificates
    [    1.052717] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
    [    1.143484] VDDSHV_SDIO: bypassed regulator has no supply!
    [    1.150001] VDDAR_CORE: Bringing 1800000uV into 850000-850000uV
    [    1.158105] VDD_PHY_2V5: Bringing 2500000uV into 25000000-25000000uV
    [    1.164884] VDD_PHY_2V5: failed to apply 25000000-25000000uV constraint: -EINVAL
    [    1.172521] tps65219 0-0030: failed to register tps65219-regulator regulator
    [    1.179745] tps65219-pmic: probe of tps65219-regulator.0.auto failed with error -22
    [    1.188924] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.197035] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    1.204064] pca953x 1-0020: using no AI
    [    1.229245] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.236364] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.242336] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.250701] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.259931] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.269828] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.278127] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.289195] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.299278] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.309579] printk: console [ttyS2] disabled
    [    1.314043] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 289, base_baud = 3000000) is a 8250
    [    1.322943] printk: console [ttyS2] enabled
    [    1.322943] printk: console [ttyS2] enabled
    [    1.331400] printk: bootconsole [ns16550a0] disabled
    [    1.331400] printk: bootconsole [ns16550a0] disabled
    [    1.344466] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.349556] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.356518] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.361912] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.368666] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.375139] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.381600] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.387831] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.394640] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.401171] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.409601] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.456253] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.466123] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.474235] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.482358] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.495215] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.502344] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.508893] pps pps0: new PPS source ptp0
    [    1.513218] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.523713] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.535165] mmc0: CQHCI version 5.10
    [    1.541288] gpio-regulator regulator-4: Failed to register regulator: -517
    [    1.548868] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.555649] pca953x 1-0022: using AI
    [    1.563140] gpio-333 (UART1_FET_SEL): hogged as output/low
    [    1.569725] gpio-317 (EXP_PS_3V3_EN): hogged as output/high
    [    1.575939] gpio-318 (EXP_PS_5V5_EN): hogged as output/high
    [    1.580234] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.586281] gpio-regulator regulator-4: Failed to register regulator: -517
    [    1.597029] gpio-regulator regulator-4: Failed to register regulator: -517
    [    1.604788] gpio-regulator regulator-4: Failed to register regulator: -517
    [    1.605006] mmc2: CQHCI version 5.10
    [    1.612307] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.625073] input: mcu_gpio_key as /devices/platform/mcu_gpio_key/input/input0
    [    1.633742] gpio-regulator regulator-4: Failed to register regulator: -517
    [    1.651470] ALSA device list:
    [    1.654464]   No soundcards found.
    [    1.656255] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    1.666569] gpio-regulator regulator-4: Failed to register regulator: -517
    [    1.673949] Waiting for root device PARTUUID=7e50dd96-02...
    [    1.692700] mmc0: Command Queue Engine enabled
    [    1.697174] mmc0: new HS200 MMC card at address 0001
    [    1.703187] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.709949] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.716335] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.722317] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.729529] gpio-regulator regulator-4: Failed to register regulator: -517
    [   11.682871] gpio-regulator regulator-4: Failed to register regulator: -517
    [   11.690427] platform fa00000.mmc: deferred probe pending
    [   11.695851] platform regulator-4: deferred probe pending

  • Hi Manjunath,

    Somehow there was a typo during the thread dispatch and your query wasn't delivered to anyone. Sorry for the mistake.

    Now I just saw your question, but since 2 months have been passed, do you still need assistance on this matter?

  • yes we still require support for that

  • Hi Manjunath,

    The SK-AM62B-P1 dts doesn't have tips65219 support yet, but you could refer to k3-am62-lp-sk.dts.

  • refering k3-am62-lp-sk.dts I edited the am625-sk.dts and I got the above error

  • Hi Manjunath,

    After compared the board schematics between SK-AM62B-P1 and SK-AM62-LP, they use different configurations of TPS65219, so the DTS PMIC node in k3-am62-lp.dts cannot be directly copied to sk-am625-sk.dts.

    What function do you miss if kernel dts doesn't have TPS65219 information?

  • Above i have provided what i changed in the dts , can you verify it with the am62b-p1 schematics.also attached the error i got.

  • The dev team is working on it but the software is not ready yet.

    What function do you miss without the kernel PMIC driver support?

  • Its working fine without configuring pmic in device. 

  • Please wait for the PMIC enabled in the SDK. You can continue using the SDK on the EVM without the PMIC driver at this moment.