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.

TPS65218: TPS65218 driver is not working properly

Part Number: TPS65218
Other Parts Discussed in Thread: AM3358,

Tool/software:

I'm using AM3358 CPU and TPS65218.
- kernel version 5.10

However, TPS65218 is not working properly in the kernel.

root@AptusLx:/sys/kernel/debug/regulator# ls
reg-dummy-regulator-dummy        tps65218-regulator.4.auto-DCDC2  tps65218-regulator.4.auto-DCDC6  vddfix_1v8
regulator_summary                tps65218-regulator.4.auto-DCDC3  tps65218-regulator.4.auto-LDO1   vddfix_3v3
supply_map                       tps65218-regulator.4.auto-DCDC4  tps65218-regulator.4.auto-LS2    vddfix_5v0
tps65218-regulator.4.auto-DCDC1  tps65218-regulator.4.auto-DCDC5  tps65218-regulator.4.auto-LS3
croot@AptusLx:/sys/kernel/debug/regulator# cat regulator_summary
 regulator                      use open bypass  opmode voltage current     min     max
---------------------------------------------------------------------------------------
 regulator-dummy                  3    4      0 unknown     0mV     0mA     0mV     0mV
    1-005d-VDDIO                  1                                 0mA     0mV     0mV
    1-005d-AVDD28                 1                                 0mA     0mV     0mV
    47401b00.usb-phy-vcc          0                                 0mA     0mV     0mV
    47401300.usb-phy-vcc          0                                 0mA     0mV     0mV
 vddfix_3v3                       5    4      0 unknown  3300mV     0mA  3300mV  3300mV
    0-000a-VDDIO                  1                                 0mA     0mV     0mV
    0-000a-VDDA                   1                                 0mA     0mV     0mV
    481d8000.mmc-vmmc             1                                 0mA  3300mV  3400mV
    backlight-power               1                                 0mA     0mV     0mV
 vddfix_1v8                       2    1      0 unknown  1800mV     0mA  1800mV  1800mV
    0-000a-VDDD                   1                                 0mA     0mV     0mV
 vddfix_5v0                       1    0      0 unknown  5000mV     0mA  5000mV  5000mV
 DCDC1                            0    0      0 unknown  1100mV     0mA     0mV     0mV
 DCDC2                            0    0      0 unknown  1330mV     0mA     0mV     0mV
 DCDC3                            0    0      0 unknown  1500mV     0mA     0mV     0mV
 DCDC4                            0    0      0 unknown  3300mV     0mA     0mV     0mV
 DCDC5                            0    0      0 unknown  1000mV     0mA     0mV     0mV
 DCDC6                            0    0      0 unknown  1800mV     0mA     0mV     0mV
 LDO1                             0    0      0 unknown  1800mV     0mA     0mV     0mV
 LS2                              0    0      0 unknown     0mV   100mA     0mA     0mA
 LS3                              0    0      0 unknown     0mV   100mA     0mA     0mA

The device tree I am currently using is as follows.

  vdd3p3_fixed: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vddfix_3v3";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
  };

  vdd1p8_fixed: fixedregulator@1 {
    compatible = "regulator-fixed";
    regulator-name = "vddfix_1v8";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    regulator-always-on;
  };

  vdd5p0_fixed: fixedregulator@2 {
    compatible = "regulator-fixed";
    regulator-name = "vddfix_5v0";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
        regulator-always-on;
  };



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

  status = "okay";
  clock-frequency = <100000>;

  tps65218: tps65218@24 {
    reg = <0x24>;
    compatible = "ti,tps65218";
  };

  gt911: gt911@5d {
    compatible = "goodix,gt911";
    pinctrl-names = "default";
    pinctrl-0 = <&touch_control_pins>;
    reg = <0x5d>;                               // 0x14 / 0x5d
    interrupt-parent = <&gpio2>;
    interrupts = <2 IRQ_TYPE_EDGE_RISING>;      // IRQ_TYPE_NONE 0 / IRQ_TYPE_LEVEL_HIGH 4
    irq-gpios = <&gpio2 2 0>;                   // GPIO_ACTIVE_HIGH 0
    reset-gpios = <&gpio2 3 0>;                 // GPIO_ACTIVE_LOW 1
  };
};

&tps65218 {
  /*
   * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
   * mode") at poweroff.  Most BeagleBone versions do not support RTC-only
   * mode and risk hardware damage if this mode is entered.
   *
   * For details, see linux-omap mailing list May 2015 thread
   *      [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
   * In particular, messages:
   *      http://www.spinics.net/lists/linux-omap/msg118585.html
   *      http://www.spinics.net/lists/linux-omap/msg118615.html
   *
   * You can override this later with
   *      &tps {  /delete-property/ ti,pmic-shutdown-controller;  }
   * if you want to use RTC-only mode and made sure you are not affected
   * by the hardware problems. (Tip: double-check by performing a current
   * measurement after shutdown: it should be less than 1 mA.)
   */

  compatible = "ti,tps65218";
  interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>;     /* NMIn */
  interrupt-controller;
  #interrupt-cells = <2>;

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

    dcdc2_reg: regulator-dcdc2 {
      /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
      regulator-name = "vdd_mpu";
      regulator-min-microvolt = <912000>;
      regulator-max-microvolt = <1326000>;
      regulator-boot-on;
      regulator-always-on;
    };

    dcdc3_reg: regulator-dcdc3 {
      /* VDD_DDR voltage 1.5V with +/-5% tolerance */
      regulator-name = "vdd_ddr";
      regulator-min-microvolt = <1500000>;
      regulator-max-microvolt = <1500000>;
      regulator-boot-on;
      regulator-always-on;
    };

    dcdc4_reg: regulator-dcdc4 {
      /* VDD_3V3 voltage 3.3V with +/-5% tolerance */
      regulator-name = "vdd_3v3a";
      regulator-min-microvolt = <3300000>;
      regulator-max-microvolt = <3300000>;
      regulator-boot-on;
      regulator-always-on;
    };

    ldo1_reg: regulator-ldo1 {
      /* VDD_1V8 voltage 1.8V with +/-5% tolerance */
      regulator-name = "vdd_1v8";
      regulator-min-microvolt = <1800000>;
      regulator-max-microvolt = <1800000>;
      regulator-boot-on;
      regulator-always-on;
    };
  };
};

Device tree and kernel log are attached.

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * 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.
 */
/dts-v1/;

#include "am33xx.dtsi"
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

// Definitions of Board Revisions
#define GMDSS_BOARD_REV_00                  0       // GMDSS Board Initial Version: Proto-Board
#define GMDSS_BOARD_REV_01                  1       // GMDSS Revised Board Version: ES-A
#define GMDSS_BOARD_REV_02                  2       // GMDSS Revised Board Version: ES-B

// Definitions of LCD Resolutions
#define LCD_800X480                         0x01    // LCD Resolution: 800x480
#define LCD_1024X600                        0x02    // LCD Resolution: 1024x600

/* if not defined CONFIG_BOARD_REV by KCONFIG */
#ifndef CONFIG_BOARD_REV
#define CONFIG_BOARD_REV                    GMDSS_BOARD_REV_02
#endif

// LCD Resolution Options
#define GMDSS_LCD_RESOLUTION            LCD_1024X600

/ {
  model = "Intellian GMDSS SDT IGT";
  compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";

  cpus {
    cpu@0 {
      cpu0-supply = <&dcdc2_reg>;
    };
  };

  memory@80000000 {
    device_type = "memory";
    reg = <0x80000000 0x20000000>; /* 512 MB */
  };

  chosen {
        stdout-path = &uart1;
  };

  user_leds {
    pinctrl-names = "default";
    pinctrl-0 = <&user_leds>;
    compatible = "gpio-leds";

    led1 {
      label = "WORK_LED";
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
#else
      gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
#endif
      linux,default-trigger = "timer";
    };

    led2 {
      label = "DISTRESS_LED";
      default-state = "off";
      linux,default-trigger = "gpio";
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;           // DSC-LED
      trigger-sources = <&gpio3 18 GPIO_ACTIVE_LOW>;  // DSC-SW
#else
      gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;            // DSC-LED
      trigger-sources = <&gpio2 27 GPIO_ACTIVE_LOW>;  // DSC-SW
#endif
    };
  };

  vdd3p3_fixed: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vddfix_3v3";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
  };

  vdd1p8_fixed: fixedregulator@1 {
    compatible = "regulator-fixed";
    regulator-name = "vddfix_1v8";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    regulator-always-on;
  };

  vdd5p0_fixed: fixedregulator@2 {
    compatible = "regulator-fixed";
    regulator-name = "vddfix_5v0";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
        regulator-always-on;
  };

  lcd_backlight: backlight {
    compatible = "pwm-backlight";
    pwms = <&ecap2 0 1000000 0>;
    power-supply = <&vdd3p3_fixed>;

    //brightness-levels =
    //  <0 1 2 3 4
    //  5 6 7 8 9
    //  10 11 12 13 14
    //  15 16 17 18 19
    //  20 21 25 30 40
    //  50 60 70 80 90 100>;
    // <0 60 80 100 120 135 150 175 190 230 255>;

    //default-brightness-level = <30>;
    num-interpolated-steps=<4095>;
    default-brightness-level = <4095>;
    };

  lcd0: panel {
    compatible = "ti,tilcdc,panel";
    pinctrl-names = "default";
    pinctrl-0 = <&lcd_pins>;

    enable-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
    backlight = <&lcd_backlight>;
    status = "okay";

    panel-info {
      ac-bias           = <255>;  // AC Bias Pin Frequency
      ac-bias-intrpt    = <0>;    // AC Bias Pin Transitions per Interrupt
      dma-burst-sz      = <16>;   // DMA burst size
      bpp               = <32>;   // Bits per pixel
      fdd               = <0x80>; // FIFO DMA Request Delay
      sync-edge         = <1>;    // 0=rising 1=falling
      sync-ctrl         = <1>;    // 0=ignore
      raster-order      = <0>;    // 1=Most-to-least 0=Least-to-most
      fifo-th           = <0>;    // DMA FIFO threshold
      invert-pxl-clk    = <1>;
    };

  display-timings {
    native-mode = <&timing0>;
#if (GMDSS_LCD_RESOLUTION == LCD_800X480)
    timing0: 800x480 {
      clock-frequency = <33333000>;
      hactive = <800>;
      vactive = <480>;
      hsync-len = <40>;
      hback-porch = <46>;
      hfront-porch = <170>;
      vsync-len = <3>;
      vback-porch = <23>;
      vfront-porch = <19>;
      hsync-active = <0>;     // 0:Low Active, 1:High Active
      vsync-active = <0>;     // 0:Low Active, 1:High Active
      de-active = <1>;        // 0:Low Active, 1:High Active
      pixelclk-active = <1>;  // 0:falling edge, 1:rising edge
      };
#elif (GMDSS_LCD_RESOLUTION == LCD_1024X600)
    timing0: 1024x600 {
      clock-frequency = <52000000>;
      hactive = <1024>;
      vactive = <600>;
      hsync-len = <8>;
      hback-porch = <160>;
      hfront-porch = <180>;
      vsync-len = <4>;
      vback-porch = <23>;
      vfront-porch = <12>;
      hsync-active = <0>;     // 0:Low Active, 1:High Active
      vsync-active = <0>;     // 0:Low Active, 1:High Active
      de-active = <0>;        // 0:Low Active, 1:High Active
      pixelclk-active = <1>;  // 0:falling edge, 1:rising edge
    };
#endif
  };
  };

  clk_mcasp0_fixed: clk_mcasp0_fixed {
    #clock-cells = <0>;
    compatible = "fixed-clock";
    clock-frequency = <25000000>;
  };

  sound {
    compatible = "simple-audio-card";
    pinctrl-names = "default";
    pinctrl-0 = <&audio_detect_pins>;

    simple-audio-card,name = "Gmdss-Sgtl5000-Audio";
    simple-audio-card,widgets =
      "Microphone",   "Mic Jack",
      "Headphone",    "Headset Jack",
      "Speaker",      "Speaker Ext";
    simple-audio-card,routing =
      "MIC_IN",           "Mic Jack",
      "Mic Jack",         "Mic Bias",
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      "Headset Jack",     "LINE_OUT",     /* "HP_OUT" */
#else
      "Headset Jack",     "HP_OUT",
#endif
      "Speaker Ext",      "LINE_OUT";

    simple-audio-card,format = "i2s";
    simple-audio-card,bitclock-master = <&sound_master>;
    simple-audio-card,frame-master = <&sound_master>;

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

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

#if (CONFIG_BOARD_REV >= GMDSS_BOARD_REV_01)
  rotary1 {
    compatible = "rotary-encoder";
    pinctrl-names = "default";
    pinctrl-0 = <&rotary1_pins>;
    gpios = <&gpio3 18 1>, <&gpio3 19 1>;
    linux,axis = <0>;               /* 0:ABS_X/REL_X, 1:ABS_Y/REL_Y */
    rotary-encoder,relative-axis;   /* relative-axis/rollover(ABS_XY) */
  };
#endif
};


&am33xx_pinmux {
  pinctrl-names = "default";
  pinctrl-0 = <&gpio_key_pins>;

  gpio_key_pins: pinmux_gpio_keys {
    pinctrl-single,pins = <
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      AM33XX_IOPAD(0x9A0, PIN_INPUT_PULLUP | MUX_MODE7)     /* MCASP0_ACLKR.GPIO3_18: DSC_SW */
#else
#if !defined(RECOVERY_KERNEL_MODE)
      AM33XX_IOPAD(0x8F0, PIN_INPUT | MUX_MODE7)            /* MMC0_DAT3.GPIO2_26: DIM_SW */
      AM33XX_IOPAD(0x8F4, PIN_INPUT | MUX_MODE7)            /* MMC0_DAT2.GPIO2_27: DSC_SW */
#endif  // #if !defined(RECOVERY_KERNEL_MODE)
#endif  // #if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      AM33XX_IOPAD(0x9B0, PIN_INPUT_PULLUP | MUX_MODE7)     /* XDMA_EVENT_INTR0.GPIO0_19: SSAS_RX1 */
      AM33XX_IOPAD(0x9B4, PIN_INPUT_PULLUP | MUX_MODE7)     /* XDMA_EVENT_INTR1.GPIO0_20: SSAS_RX2 */
      AM33XX_IOPAD(0x9E4, PIN_INPUT_PULLUP | MUX_MODE7)     /* EMU0.GPIO3_7: SSAS_RX3 */
      AM33XX_IOPAD(0x9E8, PIN_INPUT_PULLUP | MUX_MODE7)     /* EMU1.GPIO3_8: SSAS_TEST */
    >;
  };

  user_leds: pinmux_user_leds {
    pinctrl-single,pins = <
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLUP | MUX_MODE7)      /* RMII1_REFCLK.GPIO0_29: WORK_LED */
      AM33XX_IOPAD(0x9A4, PIN_OUTPUT_PULLUP | MUX_MODE7)      /* MCASP0_FSR.GPIO3_19: DISTRESS_LED */
#else
      AM33XX_IOPAD(0x87C, PIN_OUTPUT_PULLUP | MUX_MODE7)      /* GPMC_CSN0.GPIO1_29: WORK_LED */
      AM33XX_IOPAD(0x888, PIN_OUTPUT_PULLUP | MUX_MODE7)      /* GPMC_CSN3.GPIO2_0: DISTRESS_LED */
#endif
    >;
  };

  i2c0_pins: pinmux_i2c0_pins {
    pinctrl-single,pins = <
      /* PoE TPS23861 : 0x20 */
      AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0)     /* I2C0_SDA.I2C0_SDA */
      AM33XX_IOPAD(0x98C, PIN_INPUT_PULLUP | MUX_MODE0)     /* I2C0_SCL.I2C0_SCL */
    >;
  };

  i2c1_pins: pinmux_i2c1_pins {
    pinctrl-single,pins = <
      /* PMIC TPS65217 : 0x24 */
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      AM33XX_IOPAD(0x968, PIN_INPUT_PULLUP | MUX_MODE3)     /* UART0_CTSn.I2C1_SDA */
      AM33XX_IOPAD(0x96C, PIN_INPUT_PULLUP | MUX_MODE3)     /* UART0_RTSn.I2C1_SCL */
#else
      AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE2)     /* SPI0_D1.I2C1_SDA */
      AM33XX_IOPAD(0x95C, PIN_INPUT_PULLUP | MUX_MODE2)     /* SPI0_CS0.I2C1_SCL */
#endif
    >;
  };

#if (CONFIG_BOARD_REV >= GMDSS_BOARD_REV_01)
  uart0_pins: pinmux_uart0_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0)       /* UART0_RXD.UART0_RXD */
      AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* UART0_TXD.UART0_TXD */
    >;
  };

  uart4_pins: pinmux_uart4_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x968, PIN_INPUT_PULLUP | MUX_MODE1)       /* UART0_CTSN.UART4_RXD */
      AM33XX_IOPAD(0x96C, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* UART0_RTSN.UART4_TXD */
    >;
  };

  rotary1_pins: pinmux_rotary1_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x9A0, PIN_INPUT | MUX_MODE7)              /* MCASP0_ACLKR.GPIO3_18 */
      AM33XX_IOPAD(0x9A4, PIN_INPUT | MUX_MODE7)              /* MCASP0_FSR.GPIO3_19 */
    >;
  };
#endif

  uart1_pins: pinmux_uart1_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0)     /* UART1_RXD.UART1_RXD */
      AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)  /* UART1_TXD.UART1_TXD */
    >;
  };

  uart2_pins: pinmux_uart2_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE1)     /* SPI0_SCLK.UART2_RXD */
      AM33XX_IOPAD(0x954, PIN_OUTPUT_PULLDOWN | MUX_MODE1)  /* SPI0_D0.UART2_TXD */
    >;
  };

  dcan0_pins: pinmux_dcan0_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x978, PIN_OUTPUT  | MUX_MODE2)            /* UART1_CTSn.DCAN0_TX */
      AM33XX_IOPAD(0x97C, PIN_INPUT   | MUX_MODE2)            /* UART1_RTSn.DCAN0_RX */
    >;
  };

  cpsw_default: cpsw_default {
    pinctrl-single,pins = <
      /* Slave 1 */
      AM33XX_IOPAD(0x908, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_COL.GMII1_COL      */
      AM33XX_IOPAD(0x90C, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_CRS.GMII1_CRS      */
      AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXERR.GMII1_RXERR  */
      AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* GMII1_TXEN.GMII1_TXEN    */
      AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXDV.GMII1_RXDV    */
      AM33XX_IOPAD(0x91C, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* GMII1_TXD3.GMII1_TXD3    */
      AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* GMII1_TXD2.GMII1_TXD2    */
      AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* GMII1_TXD1.GMII1_TXD1    */
      AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* GMII1_TXD0.GMII1_TXD0    */
      AM33XX_IOPAD(0x92C, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_TXCLK.GMII1_TXCLK  */
      AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXCLK.GMII1_RXCLK  */
      AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXD3.rgmii1_RXD3   */
      AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXD2.rgmii1_RXD2   */
      AM33XX_IOPAD(0x93C, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXD1.rgmii1_RXD1   */
      AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* GMII1_RXD0.rgmii1_RXD0   */

      /* Slave 2 */
      AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* GPMC_A0.GMII2_TXEN   */
      AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A1.GMII2_RXDV   */
      AM33XX_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* GPMC_A2.GMII2_TXD3   */
      AM33XX_IOPAD(0x84C, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* GPMC_A3.GMII2_TXD2   */
      AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* GPMC_A4.GMII2_TXD1   */
      AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE1)    /* GPMC_A5.GMII2_TXD0   */
      AM33XX_IOPAD(0x858, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A6.GMII2_TXCLK  */
      AM33XX_IOPAD(0x85C, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A7.GMII2_RXCLK  */
      AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A8.GMII2_RXD3   */
      AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A9.GMII2_RXD2   */
      AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A10.GMII2_RXD1  */
      AM33XX_IOPAD(0x86C, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_A11.GMII2_RXD0  */
      AM33XX_IOPAD(0x870, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_WAIT0.GMII2_CRS */
      AM33XX_IOPAD(0x874, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_WPN.GMII2_RXERR */
      AM33XX_IOPAD(0x878, PIN_INPUT_PULLDOWN  | MUX_MODE1)    /* GPMC_BE1N.GMII2_COL  */
    >;
  };

  cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
      /* Slave 1 reset value */
      AM33XX_IOPAD(0x908, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x90C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x91C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x92C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x93C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN  | MUX_MODE7)

      /* Slave 2 reset value */
      AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x84C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x85C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x86C, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x870, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x874, PIN_INPUT_PULLDOWN  | MUX_MODE7)
      AM33XX_IOPAD(0x878, PIN_INPUT_PULLDOWN  | MUX_MODE7)
    >;
  };

  davinci_mdio_default: davinci_mdio_default {
    pinctrl-single,pins = <
      /* MDIO */
      AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)   /* MDIO_DATA.MDIO_DATA */
      AM33XX_IOPAD(0x94C, PIN_OUTPUT_PULLUP | MUX_MODE0)                  /* MDIO_CLK.MDIO_CLK */
    >;
  };

  davinci_mdio_sleep: davinci_mdio_sleep {
    pinctrl-single,pins = <
      /* MDIO reset value */
      AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
      AM33XX_IOPAD(0x94C, PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
  };

#if defined(RECOVERY_KERNEL_MODE)
  /* MMC0 pins used as MMC0 in Recovery Kernel: all pins were connected pull-up externally */
  mmc1_pins: pinmux_mmc1_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x8FC, PIN_INPUT | MUX_MODE0)      /* MMC0_DAT0.MMC0_DAT0 */
      AM33XX_IOPAD(0x8F8, PIN_INPUT | MUX_MODE0)      /* MMC0_DAT1.MMC0_DAT1 */
      AM33XX_IOPAD(0x8F4, PIN_INPUT | MUX_MODE0)      /* MMC0_DAT2.MMC0_DAT2 */
      AM33XX_IOPAD(0x8F0, PIN_INPUT | MUX_MODE0)      /* MMC0_DAT3.MMC0_DAT3 */
      AM33XX_IOPAD(0x904, PIN_INPUT | MUX_MODE0)      /* MMC0_CMD.MMC0_CMD */
      AM33XX_IOPAD(0x900, PIN_INPUT | MUX_MODE0)      /* MMC0_CLK.MMC0_CLK */
      AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7)      /* SPI0_CS1.GPIO0_6: MMC0_CD */
    >;
  };
#endif

  emmc_pins: pinmux_emmc_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP    | MUX_MODE2)    /* GPMC_CSN1.MMC1_CLK */
      AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP    | MUX_MODE2)    /* GPMC_CSN2.MMC1_CMD */
      AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD0.MMC1_DAT0 */
      AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD1.MMC1_DAT1 */
      AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD2.MMC1_DAT2 */
      AM33XX_IOPAD(0x80C, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD3.MMC1_DAT3 */
      AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD4.MMC1_DAT4 */
      AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD5.MMC1_DAT5 */
      AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD6.MMC1_DAT6 */
      AM33XX_IOPAD(0x81C, PIN_INPUT_PULLUP    | MUX_MODE1)    /* GPMC_AD7.MMC1_DAT7 */
      AM33XX_IOPAD(0x964, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* ECAP0_IN_PWM0_OUT.GPIO0_7: MMC1_RST */
    >;
  };

  mcasp0_pins: mcasp0_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x990, PIN_INPUT_PULLDOWN | MUX_MODE0)     /* MCASP0_ACLKX.MCASP0_ACLKX: I2S_SCLK */
      AM33XX_IOPAD(0x994, PIN_INPUT_PULLDOWN | MUX_MODE0)     /* MCASP0_FSX.MCASP0_FSX: I2S_LRCLK */
      AM33XX_IOPAD(0x998, PIN_INPUT_PULLDOWN  | MUX_MODE0)    /* MCASP0_AXR0.MCASP0_AXR0: I2S_DIN */
      AM33XX_IOPAD(0x9A8, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* MCASP0_AXR1.MCASP0_AXR1: I2S_DOUT */
      AM33XX_IOPAD(0x9AC, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* MCASP0_AHCLKX.MCASP0_AHCLKX: Codec_MCLK */
    >;
  };

    usb1_drvvbus: usb1_drvvbus {
      pinctrl-single,pins = <
        AM33XX_IOPAD(0xA34, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* USB1_DRVVBUS.USB1_DRVVBUS */
      >;
    };

    ecap2_pins: backlight_pins {
      pinctrl-single,pins = <
        AM33XX_IOPAD(0x99C, PIN_INPUT_PULLDOWN | MUX_MODE4)     /* MCASP0_AHCLKR.eCAP2_in_PWM2_out: LCD_PWM */
      >;
    };

    lcd_pins: lcd_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD8.LCD_DATA23 */
      AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD9.LCD_DATA22 */
      AM33XX_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD10.LCD_DATA21 */
      AM33XX_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD11.LCD_DATA20 */
      AM33XX_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD12.LCD_DATA19 */
      AM33XX_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD13.LCD_DATA18 */
      AM33XX_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD14.LCD_DATA17 */
      AM33XX_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1)   /* GPMC_AD15.LCD_DATA16 */
      AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA0.LCD_DATA0 */
      AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA1.LCD_DATA1 */
      AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA2.LCD_DATA2 */
      AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA3.LCD_DATA3 */
      AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA4.LCD_DATA4 */
      AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA5.LCD_DATA5 */
      AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA6.LCD_DATA6 */
      AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA7.LCD_DATA7 */
      AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA8.LCD_DATA8 */
      AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA9.LCD_DATA9 */
      AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA10.LCD_DATA10 */
      AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA11.LCD_DATA11 */
      AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA12.LCD_DATA12 */
      AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA13.LCD_DATA13 */
      AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA14.LCD_DATA14 */
      AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)   /* LCD_DATA15.LCD_DATA15 */
      AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)   /* LCD_VSYNC.LCD_VSYNC */
      AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)   /* LCD_HSYNC.LCD_HSYNC */
      AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)   /* LCD_PCLK.LCD_PCLK */
      AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)   /* LCD_AC_BIAS_EN.LCD_AC_BIAS_EN */
      AM33XX_IOPAD(0x898, PIN_OUTPUT_PULLUP | MUX_MODE7)  /* GPMC_WEN.gpio2[4]: LCD_RST */
    >;
  };

    audio_detect_pins: audio_detect_pins {
    pinctrl-single,pins = <
#if (CONFIG_BOARD_REV == GMDSS_BOARD_REV_00)
      AM33XX_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE7)       /* GPMC_CSN3.GPIO2_0: H_Det */
      AM33XX_IOPAD(0xA1C, PIN_INPUT_PULLUP | MUX_MODE7)       /* USB0_DRVVBUS.GPIO0_18: Hook */
      AM33XX_IOPAD(0x87C, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* GPMC_CSN0.GPIO1_29: SPK_EN */
#else
      AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* RMII1_REFCLK.GPIO0_29: SPK_EN */
#endif
      AM33XX_IOPAD(0x88C, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* GPMC_CLK.GPIO2_1: HP_EN */
      AM33XX_IOPAD(0xA1C, PIN_INPUT_PULLUP | MUX_MODE7)       /* USB0_DRVVBUS.GPIO0_18: Hook */
    >;
  };

    touch_control_pins: pinmux_touch_pins {
    pinctrl-single,pins = <
      AM33XX_IOPAD(0x890, PIN_INPUT  | MUX_MODE7)             /* GPMC_ADVn_ALE.GPIO2_2: TPS_INT */
      AM33XX_IOPAD(0x894, PIN_OUTPUT_PULLUP   | MUX_MODE7)    /* GPMC_OEn_REn.GPIO2_3: TPS_RST */
    >;
  };
};

&mcasp0 {
  pinctrl-names = "default";
  pinctrl-0 = <&mcasp0_pins>;
  ti,no-idle;

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

  #sound-dai-cells = <0>;
  status = "okay";
};

#if (CONFIG_BOARD_REV >= GMDSS_BOARD_REV_01)
&uart0 {
  pinctrl-names = "default";
  pinctrl-0 = <&uart0_pins>;
  status = "okay";
};

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

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

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


&usb {
  status = "okay";
};

&usb_ctrl_mod {
  status = "okay";
};

&usb1_phy {
  status = "okay";
};

&usb1 {
  status = "okay";
  dr_mode = "host";       // host / peripheral / otg
  pinctrl-names = "default";
  pinctrl-0 = <&usb1_drvvbus>;
};

&cppi41dma  {
  status = "okay";
};

&i2c0 {
  pinctrl-names = "default";
  pinctrl-0 = <&i2c0_pins>;

  status = "okay";
  clock-frequency = <100000>;

  sgtl5000: sgtl5000@a {
    #sound-dai-cells = <0>;
    compatible = "fsl,sgtl5000";
    reg = <0x0a>;
    status = "okay";

    clocks = <&clk_mcasp0_fixed>;
    micbias-resistor-k-ohms = <2>;
    micbias-voltage-m-volts = <2250>;

    /* Regulators */
    VDDA-supply = <&vdd3p3_fixed>;
    VDDIO-supply = <&vdd3p3_fixed>;
    VDDD-supply = <&vdd1p8_fixed>;
  };
};

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

  status = "okay";
  clock-frequency = <100000>;

  tps65218: tps65218@24 {
    reg = <0x24>;
    compatible = "ti,tps65218";
  };

  gt911: gt911@5d {
    compatible = "goodix,gt911";
    pinctrl-names = "default";
    pinctrl-0 = <&touch_control_pins>;
    reg = <0x5d>;                               // 0x14 / 0x5d
    interrupt-parent = <&gpio2>;
    interrupts = <2 IRQ_TYPE_EDGE_RISING>;      // IRQ_TYPE_NONE 0 / IRQ_TYPE_LEVEL_HIGH 4
    irq-gpios = <&gpio2 2 0>;                   // GPIO_ACTIVE_HIGH 0
    reset-gpios = <&gpio2 3 0>;                 // GPIO_ACTIVE_LOW 1
  };
};

&tps65218 {
  /*
   * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
   * mode") at poweroff.  Most BeagleBone versions do not support RTC-only
   * mode and risk hardware damage if this mode is entered.
   *
   * For details, see linux-omap mailing list May 2015 thread
   *      [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
   * In particular, messages:
   *      http://www.spinics.net/lists/linux-omap/msg118585.html
   *      http://www.spinics.net/lists/linux-omap/msg118615.html
   *
   * You can override this later with
   *      &tps {  /delete-property/ ti,pmic-shutdown-controller;  }
   * if you want to use RTC-only mode and made sure you are not affected
   * by the hardware problems. (Tip: double-check by performing a current
   * measurement after shutdown: it should be less than 1 mA.)
   */

  compatible = "ti,tps65218";
  interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>;     /* NMIn */
  interrupt-controller;
  #interrupt-cells = <2>;

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

    dcdc2_reg: regulator-dcdc2 {
      /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
      regulator-name = "vdd_mpu";
      regulator-min-microvolt = <912000>;
      regulator-max-microvolt = <1326000>;
      regulator-boot-on;
      regulator-always-on;
    };

    dcdc3_reg: regulator-dcdc3 {
      /* VDD_DDR voltage 1.5V with +/-5% tolerance */
      regulator-name = "vdd_ddr";
      regulator-min-microvolt = <1500000>;
      regulator-max-microvolt = <1500000>;
      regulator-boot-on;
      regulator-always-on;
    };

    dcdc4_reg: regulator-dcdc4 {
      /* VDD_3V3 voltage 3.3V with +/-5% tolerance */
      regulator-name = "vdd_3v3a";
      regulator-min-microvolt = <3300000>;
      regulator-max-microvolt = <3300000>;
      regulator-boot-on;
      regulator-always-on;
    };

    ldo1_reg: regulator-ldo1 {
      /* VDD_1V8 voltage 1.8V with +/-5% tolerance */
      regulator-name = "vdd_1v8";
      regulator-min-microvolt = <1800000>;
      regulator-max-microvolt = <1800000>;
      regulator-boot-on;
      regulator-always-on;
    };
  };
};

&mac {
  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&cpsw_default>;
  pinctrl-1 = <&cpsw_sleep>;
  dual_emac = <1>;
  status = "okay";
};

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

  reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
  reset-delay-us = <2>;   /* 1us reset time */

  lan8710_0: ethernet-phy@1 {
    reg = <0x01>;
    max-speed = <100>;
    smsc,disable-energy-detect;
  };

  lan8710_1: ethernet-phy@7 {
    reg = <0x07>;
    max-speed = <100>;
    smsc,disable-energy-detect;
  };
};

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

&cpsw_emac1 {
  phy_id = <&davinci_mdio>, <0x07>;
  phy-mode = "mii";
  dual_emac_res_vlan = <2>;
};

#if defined(RECOVERY_KERNEL_MODE)
&mmc1 {
  status = "okay";
  vmmc-supply = <&vdd3p3_fixed>;
  bus-width = <0x4>;
  pinctrl-names = "default";
  pinctrl-0 = <&mmc1_pins>;
  cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
#endif

&mmc2 {
  compatible = "ti,am33xx-hsmmc";
  vmmc-supply = <&vdd3p3_fixed>;
  pinctrl-names = "default";
  pinctrl-0 = <&emmc_pins>;
  bus-width = <0x8>;
  status = "okay";
  no-1-8-v;
  ti,non-removable;
};

&aes {
  status = "okay";
};

&sham {
  status = "okay";
};

&lcdc {
  status = "okay";
  blue-and-red-wiring = "crossed";   /* straight / crossed */
};

&epwmss2 {
  status = "okay";

  ecap2: pwm@100{
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&ecap2_pins>;
  };
};

&rtc {
  clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
  clock-names = "ext-clk", "int-clk";
  system-power-controller;
};

&wkup_m3_ipc {
  ti,scale-data-fw = "am335x-bone-scale-data.bin";
};

//&sgx {
//  status = "okay";
//};

&pruss_tm{
  status = "okay";

  pruss: pruss@0{
    status = "okay";
  };
};

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

&tscadc {
  status = "okay";

  adc {
#if (CONFIG_BOARD_REV >= GMDSS_BOARD_REV_02)
    ti,adc-channels = <0 1 2 3 4 5>;
    ti,chan-step-opendelay = <0x0F 0x0F 0x0F 0x0F 0x0F 0x0F>;     /* 0 ~ 0x3FFFF */
    ti,chan-step-sampledelay = <0xFF 0xFF 0xFF 0xFF 0xFF 0xFF>;   /* 0 ~ 0xFF */
    ti,chan-step-avg = <8 8 8 8 8 8>;                             /* 0 ~ 16 */
#else
    ti,adc-channels = <0 1 2 4>;
    ti,chan-step-opendelay = <0x0F 0x0F 0x0F 0x0F>;               /* 0 ~ 0x3FFFF */
    ti,chan-step-sampledelay = <0xFF 0xFF 0xFF 0xFF>;             /* 0 ~ 0xFF */
    ti,chan-step-avg = <8 8 8 8>;                                 /* 0 ~ 16 */
#endif
  };
};

&cpu0_opp_table {
  /*
   * All PG 2.0 silicon may not support 1GHz but some of the early
   * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
   * to support 1GHz OPP so enable it for PG 2.0 on this board.
   */
  oppnitro-1000000000 {
    opp-supported-hw = <0x06 0x0100>;
  };
};

=~=~=~=~=~=~=~=~=~=~=~= MobaXterm log 2024.08.20 16:23:58 =~=~=~=~=~=~=~=~=~=~=~=

[2024-08-20 16:23:58]  U-Boot SPL 2019.01-00085-g9c18de2995-dirty (Aug 20 2024 - 14:33:42 +0900)
[2024-08-20 16:23:58]  Trying to boot from MMC2
[2024-08-20 16:23:58]  
[2024-08-20 16:23:58]  
[2024-08-20 16:23:58]  U-Boot 2019.01-00085-g9c18de2995-dirty (Aug 20 2024 - 14:33:42 +0900)
[2024-08-20 16:23:59]  
[2024-08-20 16:23:59]  CPU  : AM335X-GP rev 2.1
[2024-08-20 16:23:59]  Model: Intellian GMDSS_SDT_IGT_Rev1
[2024-08-20 16:23:59]  DRAM:  512 MiB
[2024-08-20 16:23:59]  MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
[2024-08-20 16:23:59]  Loading Environment from FAT... OK
[2024-08-20 16:23:59]  eMMC boot
[2024-08-20 16:23:59]  CURRENT SCRATCH REGISTER : 0x040B0000 FINISH FLASH : 1
[2024-08-20 16:23:59]  Recovery boot [emmc]
[2024-08-20 16:23:59]  [COLD BOOT] 
[2024-08-20 16:23:59]  Unique Code : 0x000006D0
[2024-08-20 16:23:59]  Skip check apps...
[2024-08-20 16:23:59]  Skip check rootfs...
[2024-08-20 16:23:59]  BOOT { H_SYS0(6), H_APP0(9) }
[2024-08-20 16:23:59]  Net:   Could not get PHY for ethernet@4a100000: addr 1
[2024-08-20 16:23:59]  eth0: ethernet@4a100000
[2024-08-20 16:23:59]  Warning: usb_ether MAC addresses don't match:
[2024-08-20 16:23:59]  Address in ROM is          de:ad:be:ef:00:01
[2024-08-20 16:23:59]  Address in environment is  14:7f:0f:83:d3:eb
[2024-08-20 16:23:59]  , eth1: usb_ether
[2024-08-20 16:23:59]  Hit any key to stop autoboot:  0 
[2024-08-20 16:23:59]  switch to partitions #0, OK
[2024-08-20 16:23:59]  mmc1(part 0) is current device
[2024-08-20 16:23:59]  [boot/zImage-gmdss_sdt_igt] 7070208 bytes read in 451 ms (14.9 MiB/s)
[2024-08-20 16:24:00]  [boot/gmdss_sdt_igt.dtb] 66383 bytes read in 4 ms (15.8 MiB/s)
[2024-08-20 16:24:00]  ## Flattened Device Tree blob at 88000000
[2024-08-20 16:24:00]     Booting using the fdt blob at 0x88000000
[2024-08-20 16:24:00]  LCD-Backlight OFF!!!
[2024-08-20 16:24:00]     Loading Device Tree to 8ffec000, end 8ffff34e ... OK
[2024-08-20 16:24:00]  LCD-Backlight OFF!!!
[2024-08-20 16:24:00]  
[2024-08-20 16:24:00]  Starting kernel ...
[2024-08-20 16:24:00]  
[2024-08-20 16:24:00]  [    0.000000] Booting Linux on physical CPU 0x0
[2024-08-20 16:24:06]  [    0.000000] Linux version 5.10.100+ (builder@0a8abaf27268) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #5 PREEMPT Tue Aug 20 14:33:32 KST 2024
[2024-08-20 16:24:06]  [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[2024-08-20 16:24:06]  [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[2024-08-20 16:24:06]  [    0.000000] OF: fdt: Machine model: Intellian GMDSS SDT IGT
[2024-08-20 16:24:06]  [    0.000000] Memory policy: Data cache writeback
[2024-08-20 16:24:06]  [    0.000000] efi: UEFI not found.
[2024-08-20 16:24:06]  [    0.000000] cma: Reserved 48 MiB at 0x9c800000
[2024-08-20 16:24:06]  [    0.000000] Zone ranges:
[2024-08-20 16:24:06]  [    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fefffff]
[2024-08-20 16:24:06]  [    0.000000]   HighMem  empty
[2024-08-20 16:24:06]  [    0.000000] Movable zone start for each node
[2024-08-20 16:24:06]  [    0.000000] Early memory node ranges
[2024-08-20 16:24:06]  [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fefffff]
[2024-08-20 16:24:06]  [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fefffff]
[2024-08-20 16:24:06]  [    0.000000] CPU: All CPU(s) started in SVC mode.
[2024-08-20 16:24:06]  [    0.000000] AM335X ES2.1 (sgx neon)
[2024-08-20 16:24:06]  [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129794
[2024-08-20 16:24:06]  [    0.000000] Kernel command line: root=/dev/mmcblk1p15 ro ext4 console=ttyS1,115200n8 v2_apps_part=18 vt.global_cursor_default=0
[2024-08-20 16:24:06]  [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[2024-08-20 16:24:06]  [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[2024-08-20 16:24:06]  [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[2024-08-20 16:24:06]  [    0.000000] Memory: 453964K/523264K available (9216K kernel code, 652K rwdata, 3284K rodata, 1024K init, 274K bss, 20148K reserved, 49152K cma-reserved, 0K highmem)
[2024-08-20 16:24:06]  [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[2024-08-20 16:24:06]  [    0.000000] rcu: Preemptible hierarchical RCU implementation.
[2024-08-20 16:24:06]  [    0.000000] Trampoline variant of Tasks RCU enabled.
[2024-08-20 16:24:06]  [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[2024-08-20 16:24:06]  [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[2024-08-20 16:24:06]  [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[2024-08-20 16:24:06]  [    0.000000] random: get_random_bytes called from start_kernel+0x288/0x3cc with crng_init=0
[2024-08-20 16:24:06]  [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[2024-08-20 16:24:06]  [    0.000009] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[2024-08-20 16:24:06]  [    0.000027] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[2024-08-20 16:24:06]  [    0.000345] TI gptimer clockevent: 25000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[2024-08-20 16:24:06]  [    0.001229] Console: colour dummy device 80x30
[2024-08-20 16:24:06]  [    0.001315] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[2024-08-20 16:24:06]  [    0.090418] pid_max: default: 32768 minimum: 301
[2024-08-20 16:24:06]  [    0.090574] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[2024-08-20 16:24:06]  [    0.090589] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[2024-08-20 16:24:06]  [    0.091284] CPU: Testing write buffer coherency: ok
[2024-08-20 16:24:06]  [    0.091363] CPU0: Spectre v2: using BPIALL workaround
[2024-08-20 16:24:06]  [    0.092148] Setting up static identity map for 0x80100000 - 0x80100060
[2024-08-20 16:24:06]  [    0.092286] rcu: Hierarchical SRCU implementation.
[2024-08-20 16:24:06]  [    0.092382] EFI services will not be available.
[2024-08-20 16:24:06]  [    0.092748] devtmpfs: initialized
[2024-08-20 16:24:06]  [    0.102920] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[2024-08-20 16:24:06]  [    0.103181] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[2024-08-20 16:24:06]  [    0.103205] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[2024-08-20 16:24:06]  [    0.106553] pinctrl core: initialized pinctrl subsystem
[2024-08-20 16:24:06]  [    0.107509] DMI not present or invalid.
[2024-08-20 16:24:06]  [    0.107966] NET: Registered protocol family 16
[2024-08-20 16:24:06]  [    0.110117] DMA: preallocated 256 KiB pool for atomic coherent allocations
[2024-08-20 16:24:06]  [    0.127244] l3-aon-clkctrl:0000:0: failed to disable
[2024-08-20 16:24:06]  [    0.128333] thermal_sys: Registered thermal governor 'fair_share'
[2024-08-20 16:24:06]  [    0.128345] thermal_sys: Registered thermal governor 'bang_bang'
[2024-08-20 16:24:06]  [    0.128360] thermal_sys: Registered thermal governor 'step_wise'
[2024-08-20 16:24:06]  [    0.128367] thermal_sys: Registered thermal governor 'user_space'
[2024-08-20 16:24:06]  [    1.189856] No ATAGs?
[2024-08-20 16:24:06]  [    1.189891] hw-breakpoint: debug architecture 0x4 unsupported.
[2024-08-20 16:24:06]  [    2.560403] random: fast init done
[2024-08-20 16:24:06]  [    4.288896] iommu: Default domain type: Translated 
[2024-08-20 16:24:06]  [    4.291239] SCSI subsystem initialized
[2024-08-20 16:24:06]  [    4.291494] usbcore: registered new interface driver usbfs
[2024-08-20 16:24:06]  [    4.291540] usbcore: registered new interface driver hub
[2024-08-20 16:24:06]  [    4.291595] usbcore: registered new device driver usb
[2024-08-20 16:24:06]  [    4.292195] pps_core: LinuxPPS API ver. 1 registered
[2024-08-20 16:24:06]  [    4.292210] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[2024-08-20 16:24:06]  [    4.292232] PTP clock support registered
[2024-08-20 16:24:06]  [    4.292746] Advanced Linux Sound Architecture Driver Initialized.
[2024-08-20 16:24:06]  [    4.293784] clocksource: Switched to clocksource dmtimer
[2024-08-20 16:24:06]  [    4.301010] NET: Registered protocol family 2
[2024-08-20 16:24:06]  [    4.301243] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[2024-08-20 16:24:06]  [    4.302107] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[2024-08-20 16:24:06]  [    4.302140] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[2024-08-20 16:24:06]  [    4.302181] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[2024-08-20 16:24:06]  [    4.302220] TCP: Hash tables configured (established 4096 bind 4096)
[2024-08-20 16:24:06]  [    4.302343] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[2024-08-20 16:24:06]  [    4.302364] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[2024-08-20 16:24:06]  [    4.302488] NET: Registered protocol family 1
[2024-08-20 16:24:06]  [    4.302999] RPC: Registered named UNIX socket transport module.
[2024-08-20 16:24:06]  [    4.303015] RPC: Registered udp transport module.
[2024-08-20 16:24:06]  [    4.303023] RPC: Registered tcp transport module.
[2024-08-20 16:24:06]  [    4.303029] RPC: Registered tcp NFSv4.1 backchannel transport module.
[2024-08-20 16:24:06]  [    4.305024] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[2024-08-20 16:24:06]  [    4.306295] Initialise system trusted keyrings
[2024-08-20 16:24:06]  [    4.306591] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[2024-08-20 16:24:06]  [    4.310448] NFS: Registering the id_resolver key type
[2024-08-20 16:24:06]  [    4.310509] Key type id_resolver registered
[2024-08-20 16:24:06]  [    4.310517] Key type id_legacy registered
[2024-08-20 16:24:06]  [    4.311134] Key type cifs.idmap registered
[2024-08-20 16:24:06]  [    4.311160] ntfs: driver 2.1.32 [Flags: R/O].
[2024-08-20 16:24:06]  [    4.400677] Key type asymmetric registered
[2024-08-20 16:24:06]  [    4.400706] Asymmetric key parser 'x509' registered
[2024-08-20 16:24:06]  [    4.400780] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[2024-08-20 16:24:06]  [    4.400793] io scheduler mq-deadline registered
[2024-08-20 16:24:06]  [    4.400801] io scheduler kyber registered
[2024-08-20 16:24:06]  [    4.715417] ti-sysc 48038000.target-module: dts flag should be at module level for ti,no-idle
[2024-08-20 16:24:06]  [    4.802636] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[2024-08-20 16:24:06]  [    4.921920] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[2024-08-20 16:24:06]  [    4.921971] edma 49000000.dma: TI EDMA DMA engine driver
[2024-08-20 16:24:06]  [    4.933907] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[2024-08-20 16:24:06]  [    4.944414] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[2024-08-20 16:24:06]  [    4.948343] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a 8250
[2024-08-20 16:24:06]  [    4.949766] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 27, base_baud = 3000000) is a 8250
[2024-08-20 16:24:06]  [    5.596994] printk: console [ttyS1] enabled
[2024-08-20 16:24:06]  [    5.602585] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 28, base_baud = 3000000) is a 8250
[2024-08-20 16:24:06]  [    5.612778] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 39, base_baud = 3000000) is a 8250
[2024-08-20 16:24:06]  [    5.624501] omap_rng 48310000.rng: Random Number Generator ver. 20
[2024-08-20 16:24:06]  [    5.632683] tilcdc-panel panel: failed to request enable GPIO
[2024-08-20 16:24:06]  [    5.638756] random: crng init done
[2024-08-20 16:24:06]  [    5.643325] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[2024-08-20 16:24:06]  [    5.653878] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[2024-08-20 16:24:06]  [    5.664511] tilcdc 4830e000.lcdc: no encoders/connectors found
[2024-08-20 16:24:06]  [    5.687443] loop: module loaded
[2024-08-20 16:24:06]  [    5.694171] CAN device driver interface
[2024-08-20 16:24:06]  [    5.699446] c_can_platform 481cc000.can: c_can_platform device registered (regs=21b6fc68, irq=42)
[2024-08-20 16:24:06]  [    5.711825] mdio_bus 4a101000.mdio: mii_bus 4a101000.mdio couldn't get reset GPIO
[2024-08-20 16:24:06]  [    5.720217] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[2024-08-20 16:24:06]  [    5.726724] cpsw 4a100000.ethernet: ALE Table size 1024
[2024-08-20 16:24:06]  [    5.732067] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[2024-08-20 16:24:06]  [    5.739361] cpsw 4a100000.ethernet: Detected MACID = 14:7f:0f:83:d3:e9
[2024-08-20 16:24:06]  [    5.746740] cpsw 4a100000.ethernet: cpsw: Detected MACID = 14:7f:0f:83:d3:eb
[2024-08-20 16:24:06]  [    5.757158] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator
[2024-08-20 16:24:06]  [    5.774814] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator
[2024-08-20 16:24:06]  [    5.786087] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[2024-08-20 16:24:06]  [    5.792661] ehci-omap: OMAP-EHCI Host Controller driver
[2024-08-20 16:24:06]  [    5.798288] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[2024-08-20 16:24:06]  [    5.805701] usbcore: registered new interface driver uas
[2024-08-20 16:24:06]  [    5.811097] usbcore: registered new interface driver usb-storage
[2024-08-20 16:24:06]  [    5.822248] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[2024-08-20 16:24:06]  [    5.827711] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[2024-08-20 16:24:06]  [    5.835372] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[2024-08-20 16:24:06]  [    5.843677] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[2024-08-20 16:24:06]  [    5.850958] usb usb1: Product: MUSB HDRC host driver
[2024-08-20 16:24:06]  [    5.855968] usb usb1: Manufacturer: Linux 5.10.100+ musb-hcd
[2024-08-20 16:24:06]  [    5.861651] usb usb1: SerialNumber: musb-hdrc.0
[2024-08-20 16:24:06]  [    5.866831] hub 1-0:1.0: USB hub found
[2024-08-20 16:24:06]  [    5.870649] hub 1-0:1.0: 1 port detected
[2024-08-20 16:24:06]  [    5.888674] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[2024-08-20 16:24:06]  [    5.894697] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[2024-08-20 16:24:06]  [    5.902291] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[2024-08-20 16:24:06]  [    5.910636] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[2024-08-20 16:24:06]  [    5.917901] usb usb2: Product: MUSB HDRC host driver
[2024-08-20 16:24:06]  [    5.922885] usb usb2: Manufacturer: Linux 5.10.100+ musb-hcd
[2024-08-20 16:24:06]  [    5.928581] usb usb2: SerialNumber: musb-hdrc.1
[2024-08-20 16:24:07]  [    5.933849] hub 2-0:1.0: USB hub found
[2024-08-20 16:24:07]  [    5.937658] hub 2-0:1.0: 1 port detected
[2024-08-20 16:24:07]  [    5.955087] mousedev: PS/2 mouse device common for all mice
[2024-08-20 16:24:07]  [    5.961636] rotary-encoder rotary1: gray
[2024-08-20 16:24:07]  [    5.967233] omap_rtc 44e3e000.rtc: already running
[2024-08-20 16:24:07]  [    5.973020] omap_rtc 44e3e000.rtc: registered as rtc0
[2024-08-20 16:24:07]  [    5.978257] omap_rtc 44e3e000.rtc: setting system clock to 2020-01-01T01:24:24 UTC (1577841864)
[2024-08-20 16:24:07]  [    5.987362] i2c /dev entries driver
[2024-08-20 16:24:07]  [    5.992300] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[2024-08-20 16:24:07]  [    6.001365] sdhci: Secure Digital Host Controller Interface driver
[2024-08-20 16:24:07]  [    6.007700] sdhci: Copyright(c) Pierre Ossman
[2024-08-20 16:24:07]  [    6.014212] sdhci-pltfm: SDHCI platform and OF driver helper
[2024-08-20 16:24:07]  [    6.021199] ledtrig-cpu: registered to indicate activity on CPUs
[2024-08-20 16:24:07]  [    6.028197] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[2024-08-20 16:24:07]  [    6.034292] omap-aes 53500000.aes: will run requests pump with realtime priority
[2024-08-20 16:24:07]  [    6.076362] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[2024-08-20 16:24:07]  [    6.082526] omap-sham 53100000.sham: will run requests pump with realtime priority
[2024-08-20 16:24:07]  [    6.112782] usbcore: registered new interface driver usbhid
[2024-08-20 16:24:07]  [    6.119133] usbhid: USB HID core driver
[2024-08-20 16:24:07]  [    6.128832] davinci-mcasp 48038000.mcasp: IRQ common not found
[2024-08-20 16:24:07]  [    6.137109] NET: Registered protocol family 17
[2024-08-20 16:24:07]  [    6.141639] can: controller area network core
[2024-08-20 16:24:07]  [    6.146407] NET: Registered protocol family 29
[2024-08-20 16:24:07]  [    6.150914] can: raw protocol
[2024-08-20 16:24:07]  [    6.153974] can: broadcast manager protocol
[2024-08-20 16:24:07]  [    6.158244] can: netlink gateway - max_hops=1
[2024-08-20 16:24:07]  [    6.162788] 8021q: 802.1Q VLAN Support v1.8
[2024-08-20 16:24:07]  [    6.167110] Key type dns_resolver registered
[2024-08-20 16:24:07]  [    6.171637] omap_voltage_late_init: Voltage driver support not added
[2024-08-20 16:24:07]  [    6.178517] Loading compiled-in X.509 certificates
[2024-08-20 16:24:07]  [    6.185591] mmc1: new high speed MMC card at address 0001
[2024-08-20 16:24:07]  [    6.200256] mmcblk1: mmc1:0001 HAG4a2 14.7 GiB 
[2024-08-20 16:24:07]  [    6.205221] mmcblk1boot0: mmc1:0001 HAG4a2 partition 1 31.9 MiB
[2024-08-20 16:24:07]  [    6.211410] mmcblk1boot1: mmc1:0001 HAG4a2 partition 2 31.9 MiB
[2024-08-20 16:24:07]  [    6.217692] mmcblk1rpmb: mmc1:0001 HAG4a2 partition 3 4.00 MiB, chardev (245:0)
[2024-08-20 16:24:07]  [    6.226035] OMAP GPIO hardware version 0.1
[2024-08-20 16:24:07]  [    6.238251]  mmcblk1: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 >
[2024-08-20 16:24:07]  [    6.264468] sgtl5000 0-000a: sgtl5000 revision 0x11
[2024-08-20 16:24:07]  [    6.802073] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
[2024-08-20 16:24:07]  [    6.835361] tps65218-pwrbutton: Failed to locate of_node [id: -2]
[2024-08-20 16:24:07]  [    6.841781] tps65218-gpio: Failed to locate of_node [id: -2]
[2024-08-20 16:24:07]  [    6.853419] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[2024-08-20 16:24:07]  [    6.864393] tilcdc-panel panel: found enable GPIO
[2024-08-20 16:24:07]  [    6.869798] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[2024-08-20 16:24:07]  [    6.880335] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[2024-08-20 16:24:07]  [    6.892167] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[2024-08-20 16:24:07]  [    6.946934] Console: switching to colour frame buffer device 128x37
[2024-08-20 16:24:07]  [    6.969971] tilcdc 4830e000.lcdc: [drm] fb0: tilcdcdrmfb frame buffer device
[2024-08-20 16:24:07]  [    7.033846] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[2024-08-20 16:24:07]  [    7.044899] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
[2024-08-20 16:24:07]  [    7.054186] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver SMSC LAN8710/LAN8720
[2024-08-20 16:24:07]  [    7.064334] rotary-encoder rotary1: gray
[2024-08-20 16:24:07]  [    7.069301] input: rotary1 as /devices/platform/rotary1/input/input0
[2024-08-20 16:24:07]  [    7.094936] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[2024-08-20 16:24:07]  [    7.486754] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[2024-08-20 16:24:08]  [    7.493489] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[2024-08-20 16:24:08]  [    7.502583] ALSA device list:
[2024-08-20 16:24:08]  [    7.505656] cfg80211: failed to load regulatory.db
[2024-08-20 16:24:08]  [    7.510548]   #0: Dummy 1
[2024-08-20 16:24:08]  [    7.513178]   #1: Gmdss-Sgtl5000-Audio
[2024-08-20 16:24:08]  [    7.522818] EXT4-fs (mmcblk1p15): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:08]  [    7.531351] VFS: Mounted root (ext4 filesystem) readonly on device 179:15.
[2024-08-20 16:24:08]  [    7.540220] devtmpfs: mounted
[2024-08-20 16:24:08]  [    7.544996] Freeing unused kernel memory: 1024K
[2024-08-20 16:24:08]  [    7.554323] Run /sbin/init as init process
[2024-08-20 16:24:08]  [    7.698819] systemd[1]: System time before build time, advancing clock.
[2024-08-20 16:24:08]  [    7.727156] systemd[1]: systemd 244 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)
[2024-08-20 16:24:08]  [    7.749522] systemd[1]: Detected architecture arm.
[2024-08-20 16:24:08]  
[2024-08-20 16:24:08]  Welcome to Certus!
[2024-08-20 16:24:08]  
[2024-08-20 16:24:08]  [    7.786198] systemd[1]: Set hostname to <AptusLx>.
[2024-08-20 16:24:08]  [    7.796484] systemd[1]: Initializing machine ID from random generator.
[2024-08-20 16:24:08]  [    7.803400] systemd[1]: Installed transient /etc/machine-id file.
[2024-08-20 16:24:08]  [    8.146433] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
[2024-08-20 16:24:09]  [    8.155647] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
[2024-08-20 16:24:09]  [    8.171076] systemd[1]: /lib/systemd/system/pcscd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/pcscd/pcscd.comm  /run/pcscd/pcscd.comm; please update the unit file accordingly.
[2024-08-20 16:24:09]  [    8.331099] systemd[1]: getty.target: Wants dependency dropin /etc/systemd/system/getty.target.wants/getty@tty1.service is not a symlink, ignoring.
[2024-08-20 16:24:09]  [    8.497411] systemd[1]: system-serial\x2dgetty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[2024-08-20 16:24:09]  [    8.510970] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[2024-08-20 16:24:09]  [    8.520916] systemd[1]: Created slice system-serial\x2dgetty.slice.
[2024-08-20 16:24:09]  [  OK  ] Created slice system-serial\x2dgetty.slice.
[2024-08-20 16:24:09]  [    8.564983] systemd[1]: Created slice system-syslog\x2dng.slice.
[2024-08-20 16:24:09]  [  OK  ] Created slice system-syslog\x2dng.slice.
[2024-08-20 16:24:09]  [    8.604786] systemd[1]: Created slice User and Session Slice.
[2024-08-20 16:24:09]  [  OK  ] Created slice User and Session Slice.
[2024-08-20 16:24:09]  [    8.644529] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[2024-08-20 16:24:09]  [  OK  ] Started Dispatch Password ts to Console Directory Watch.
[2024-08-20 16:24:09]  [    8.684422] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[2024-08-20 16:24:09]  [  OK  ] Started Forward Password Ruests to Wall Directory Watch.
[2024-08-20 16:24:09]  [    8.724572] systemd[1]: Reached target Paths.
[2024-08-20 16:24:09]  [  OK  ] Reached target Paths.
[2024-08-20 16:24:09]  [    8.764094] systemd[1]: Reached target Remote File Systems.
[2024-08-20 16:24:09]  [  OK  ] Reached target Remote File Systems.
[2024-08-20 16:24:09]  [    8.804076] systemd[1]: Reached target Slices.
[2024-08-20 16:24:09]  [  OK  ] Reached target Slices.
[2024-08-20 16:24:09]  [    8.834101] systemd[1]: Reached target Swap.
[2024-08-20 16:24:09]  [  OK  ] Reached target Swap.
[2024-08-20 16:24:09]  [    8.867123] systemd[1]: Listening on RPCbind Server Activation Socket.
[2024-08-20 16:24:09]  [  OK  ] Listening on RPCbind Server Activation Socket.
[2024-08-20 16:24:09]  [    8.904168] systemd[1]: Reached target RPC Port Mapper.
[2024-08-20 16:24:09]  [  OK  ] Reached target RPC Port Mapper.
[2024-08-20 16:24:09]  [    8.954591] systemd[1]: Listening on Process Core Dump Socket.
[2024-08-20 16:24:09]  [  OK  ] Listening on Process Core Dump Socket.
[2024-08-20 16:24:09]  [    8.994678] systemd[1]: Listening on initctl Compatibility Named Pipe.
[2024-08-20 16:24:09]  [  OK  ] Listening on initctl Compatibility Named Pipe.
[2024-08-20 16:24:09]  [    9.043578] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[2024-08-20 16:24:09]  [    9.053205] systemd[1]: Listening on Journal Socket (/dev/log).
[2024-08-20 16:24:09]  [  OK  ] Listening on Journal Socket (/dev/log).
[2024-08-20 16:24:09]  [    9.095101] systemd[1]: Listening on Journal Socket.
[2024-08-20 16:24:09]  [  OK  ] Listening on Journal Socket.
[2024-08-20 16:24:09]  [    9.135193] systemd[1]: Listening on udev Control Socket.
[2024-08-20 16:24:09]  [  OK  ] Listening on udev Control Socket.
[2024-08-20 16:24:10]  [    9.174789] systemd[1]: Listening on udev Kernel Socket.
[2024-08-20 16:24:10]  [  OK  ] Listening on udev Kernel Socket.
[2024-08-20 16:24:10]  [    9.214841] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[2024-08-20 16:24:10]  [    9.226994] systemd[1]: Mounting /dev/mqueue...
[2024-08-20 16:24:10]           Mounting /dev/mqueue...
[2024-08-20 16:24:10]  [    9.248479] systemd[1]: Mounting Kernel Debug File System...
[2024-08-20 16:24:10]           Mounting Kernel Debug File System...
[2024-08-20 16:24:10]  [    9.299167] systemd[1]: Mounting Temporary Directory (/tmp)...
[2024-08-20 16:24:10]           Mounting Temporary Directory (/tmp)...
[2024-08-20 16:24:10]  [    9.348388] systemd[1]: Starting kernel boot splash screen...
[2024-08-20 16:24:10]           Starting kernel boot splash screen...
[2024-08-20 16:24:10]  [    9.394555] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[2024-08-20 16:24:10]  [    9.415268] systemd[1]: Starting RPC Bind...
[2024-08-20 16:24:10]  [    9.428061] systemd[160]: rpcbind.service: Failed to execute command: No such file or directory
[2024-08-20 16:24:10]           Starting RPC Bind...
[2024-08-20 16:24:10]  [    9.488290] systemd[1]: Starting Journal Service...
[2024-08-20 16:24:10]           Starting Journal Service...
[2024-08-20 16:24:10]  [    9.525301] systemd[1]: Starting Load Kernel Modules...
[2024-08-20 16:24:10]           Starting Load Kernel Modules...
[2024-08-20 16:24:10]  [    9.578037] systemd[1]: Starting Remount Root and Kernel File Systems...
[2024-08-20 16:24:10]  [    9.599987] Goodix-TS 1-005d: supply AVDD28 not found, using dummy regulator
[2024-08-20 16:24:10]           Starting Remount Root and Kernel File Systems...
[2024-08-20 16:24:10]  [    9.654345] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator
[2024-08-20 16:24:10]  [    9.668217] systemd[1]: Starting udev Coldplug all Devices...
[2024-08-20 16:24:10]  [    9.681292] EXT4-fs (mmcblk1p15): re-mounted. Opts: (null)
[2024-08-20 16:24:10]           Starting udev Coldplug all Devices...
[2024-08-20 16:24:10]  [    9.732807] systemd[1]: Mounted /dev/mqueue.
[2024-08-20 16:24:10]  [  OK  ] Mounted /dev/mqueue.
[2024-08-20 16:24:10]  [    9.761731] systemd[1]: Mounted Kernel Debug File System.
[2024-08-20 16:24:10]  [  OK  ] Mounted Kernel Debug File System    9.795596] Goodix-TS 1-005d: ID 911, version: 1060
[2024-08-20 16:24:10]  m.
[2024-08-20 16:24:10]  [    9.836136] systemd[1]: Mounted Temporary Directory (/tmp).
[2024-08-20 16:24:10]  [    9.846944] Goodix-TS 1-005d: The firmware[Ver 0x43] don't have to be updated: All data values are same
[2024-08-20 16:24:10]  [  OK  ] Mounted Temporary Directory (/tmp) Goodix-TS 1-005d: Skipped to write config data
[2024-08-20 16:24:10]  [0m.
[2024-08-20 16:24:10]  [    9.925813] systemd[1]: rpcbind.service: Main process exited, code=exited, status=203/EXEC
[2024-08-20 16:24:10]  [    9.938404] input: Goodix Capacitive TouchScreen as /devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@0/4802a000.target-module/4802a000.i2c/i2c-1/1-005d/input/input1
[2024-08-20 16:24:10]  [    9.975261] systemd[1]: rpcbind.service: Failed with result 'exit-code'.
[2024-08-20 16:24:10]  [   10.004383] systemd[1]: Failed to start RPC Bind.
[2024-08-20 16:24:10]  [FAILED] Failed to start RPC Bind.
[2024-08-20 16:24:10]  See 'systemctl status rpcbind.service' for details.
[2024-08-20 16:24:10]  [   10.075250] systemd[1]: Started Journal Service.
[2024-08-20 16:24:10]  [  OK  ] Started Journal Service.
[2024-08-20 16:24:10]  [  OK  ] Started Load Kernel Modules.
[2024-08-20 16:24:10]  [  OK  ] Started Remount Root and Kernel File Systems.
[2024-08-20 16:24:10]           Mounting Kernel Configuration File System...
[2024-08-20 16:24:11]           Starting Flush Journal to Persistent Storage...
[2024-08-20 16:24:11]  [   10.288711] systemd-journald[161]: Received client request to flush runtime journal.
[2024-08-20 16:24:11]           Starting Apply Kernel Variables...
[2024-08-20 16:24:11]           Starting Create Static Device Nodes in /dev...
[2024-08-20 16:24:11]  [  OK  ] Mounted Kernel Configuration File System.
[2024-08-20 16:24:11]  [  OK  ] Started Flush Journal to Persistent Storage.
[2024-08-20 16:24:11]  [  OK  ] Started Apply Kernel Variables.
[2024-08-20 16:24:11]  [  OK  ] Started Create Static Device Nodes in /dev.
[2024-08-20 16:24:11]  [  OK  ] Reached target Local File Systems (Pre).
[2024-08-20 16:24:11]           Mounting /media/ram...
[2024-08-20 16:24:11]           Mounting /var/volatile...
[2024-08-20 16:24:11]           Starting udev Kernel Device Manager...
[2024-08-20 16:24:11]  [  OK  ] Mounted /media/ram.
[2024-08-20 16:24:11]  [  OK  ] Mounted /var/volatile.
[2024-08-20 16:24:11]           Starting Bind mount volatile /var/cache...
[2024-08-20 16:24:11]           Starting Bind mount volatile /var/lib...
[2024-08-20 16:24:11]           Starting Bind mount volatile /var/spool...
[2024-08-20 16:24:11]  [  OK  ] Started Bind mount volatile /var/cache.
[2024-08-20 16:24:11]  [  OK  ] Started udev Kernel Device Manager.
[2024-08-20 16:24:11]  [  OK  ] Started Bind mount volatile /var/lib.
[2024-08-20 16:24:11]  [  OK  ] Started Bind mount volatile /var/spool.
[2024-08-20 16:24:12]           Starting Load/Save Random Seed...
[2024-08-20 16:24:12]  [  OK  ] Started Load/Save Random Seed.
[2024-08-20 16:24:12]  [  OK  ] Started udev Coldplug all Devices.
[2024-08-20 16:24:12]           Starting udev Wait for Complete Device Initialization...
[2024-08-20 16:24:12]  [  OK  ] Created slice system-systemd\x2dbacklight.slice.
[2024-08-20 16:24:12]           Starting Load/Save Screen ness of backlight:backlight...
[2024-08-20 16:24:12]  [  OK  ] Started Load/Save Screen Bhtness of backlight:backlight.
[2024-08-20 16:24:12]  [  OK  ] Reached target Hardware activated USB gadget.
[2024-08-20 16:24:14]  [*     ] (1 of 4) A start job is running forboot splash screen (2s / 1min 21s)
[2024-08-20 16:24:20]  
[**    ] (1 of 4) A start job is running forboot splash screen (3s / 1min 21s)
[2024-08-20 16:24:21]  
[***   ] (1 of 4) A start job is running forboot splash screen (4s / 1min 21s)
[2024-08-20 16:24:23]  
[ ***  ] (2 of 4) A start job is running for /dev/mmcblk1p1 (14s / 1min 30s)
[2024-08-20 16:24:24]  
[  OK  ] Found device /dev/mmcblk1p1.
[2024-08-20 16:24:24]  [  OK  ] Started udev Wait for Complete Device Initialization.
[2024-08-20 16:24:24]  [  OK  ] Found device /dev/mmcblk1p9.
[2024-08-20 16:24:25]           Mounting /usr/local/bootconf...
[2024-08-20 16:24:25]           Mounting /usr/local/system_info...
[2024-08-20 16:24:25]  [   24.307825] EXT4-fs (mmcblk1p9): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:25]  [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[2024-08-20 16:24:25]  [  OK  ] Mounted /usr/local/bootconf.
[2024-08-20 16:24:25]  [  OK  ] Mounted /usr/local/system_info.
[2024-08-20 16:24:25]  [  OK  ] Reached target Local File Systems.
[2024-08-20 16:24:25]           Starting Create Volatile Files and Directories...
[2024-08-20 16:24:25]  [  OK  ] Started Create Volatile Files and Directories.
[2024-08-20 16:24:25]           Starting Update UTMP about System Boot/Shutdown...
[2024-08-20 16:24:25]  [  OK  ] Started Update UTMP about System Boot/Shutdown.
[2024-08-20 16:24:25]  [  OK  ] Reached target System Initialization.
[2024-08-20 16:24:25]  [  OK  ] Started dhcp leases updater.
[2024-08-20 16:24:25]  [  OK  ] Started Daily rotation of log files.
[2024-08-20 16:24:25]  [  OK  ] Started Daily Cleanup of Temporary Directories.
[2024-08-20 16:24:25]  [  OK  ] Reached target Timers.
[2024-08-20 16:24:25]  [  OK  ] Listening on D-Bus System Message Bus Socket.
[2024-08-20 16:24:25]  [  OK  ] Listening on dropbear.socket.
[2024-08-20 16:24:25]  [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[2024-08-20 16:24:25]  [  OK  ] Reached target Sockets.
[2024-08-20 16:24:25]  [  OK  ] Reached target Basic System.
[2024-08-20 16:24:25]           Starting Save/Restore Sound Card State...
[2024-08-20 16:24:25]  [  OK  ] Started D-Bus System Message Bus.
[2024-08-20 16:24:25]           Starting IPv6 Packet Filtering Framework...
[2024-08-20 16:24:26]           Starting IPv4 Packet Filtering Framework...
[2024-08-20 16:24:26]           Starting rc.pvr.service...
[2024-08-20 16:24:26]           Starting set-can0-bitrate.service...
[2024-08-20 16:24:26]           Starting System Logger Daemon "default" instance...
[2024-08-20 16:24:26]           Starting Login Service...
[2024-08-20 16:24:26]  [  OK  ] Started Save/Restore Sound Card State.
[2024-08-20 16:24:26]  [  OK  ] Started IPv6 Packet Filtering Framework.
[2024-08-20 16:24:26]  [  OK  ] Started IPv4 Packet Filtering Framework.
[2024-08-20 16:24:26]  [  OK  ] Started rc.pvr.service.
[2024-08-20 16:24:26]  [  OK  ] Reached target Network (Pre).
[2024-08-20 16:24:26]  [  OK  ] Reached target Network.
[2024-08-20 16:24:26]  [  OK  ] Reached target Network is Online.
[2024-08-20 16:24:26]  [  OK  ] Reached target Sound Card.
[2024-08-20 16:24:26]           Starting Intellian BIST Application...
[2024-08-20 16:24:26]           Starting Nginx Server...
[2024-08-20 16:24:26]  [  OK  ] Started Respond to IPv6 Node Information Queries.
[2024-08-20 16:24:26]           Starting /etc/rc.local Compatibility...
[2024-08-20 16:24:26]  [  OK  ] Started Network Router Discovery Daemon.
[2024-08-20 16:24:26]           Starting Permit User Sessions...
[2024-08-20 16:24:26]           Starting telnetd.service...
[2024-08-20 16:24:26]  [  OK  ] Started System Logger Daemon "default" instance.
[2024-08-20 16:24:27]  [  OK  ] Started Permit User Sessions.
[2024-08-20 16:24:27]  [   26.417524] c_can_platform 481cc000.can can0: setting BTR=2f04 BRPE=0000
[2024-08-20 16:24:27]  [FAILED] Failed to start Nginx Server.
[2024-08-20 16:24:27]  See 'systemctl status nginx.service' for details.
[2024-08-20 16:24:27]  [  OK  ] Started telnetd.service.
[2024-08-20 16:24:27]  [  OK  ] Started set-can0-bitrate.service.
[2024-08-20 16:24:27]           Starting LSB: network benchmark...
[2024-08-20 16:24:27]  [  OK  ] Started LSB: network benchmark.
[2024-08-20 16:24:27]  [  OK  ] Started Login Service.
[2024-08-20 16:24:28]  [   29.389347] EXT4-fs (mmcblk1p10): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:30]  [   29.505388] EXT4-fs (mmcblk1p11): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:30]  [   29.626258] EXT4-fs (mmcblk1p12): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:30]  [   29.744681] EXT4-fs (mmcblk1p18): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:30]  [   29.894448] EXT4-fs (mmcblk1p13): mounted filesystem with ordered data mode. Opts: (null)
[2024-08-20 16:24:30]  [  OK  ] Stopped dhcp leases updater.
[2024-08-20 16:24:30]           Stopping dhcp leases updater.
[2024-08-20 16:24:30]  [  OK  ] Started dhcp leases updater.
[2024-08-20 16:24:31]  [  OK  ] Stopped Daily rotation of log files.
[2024-08-20 16:24:31]           Stopping Daily rotation of log files.
[2024-08-20 16:24:31]  [  OK  ] Started Daily rotation of log files.
[2024-08-20 16:24:31]           Starting Nginx Server...
[2024-08-20 16:24:31]  [  OK  ] Started Nginx Server.
[2024-08-20 16:24:31]  [  OK  ] Started Intellian BIST Application.
[2024-08-20 16:24:31]  [  OK  ] Started Intellian User Application.
[2024-08-20 16:24:32]           Starting Save/Restore Sound Card State...
[2024-08-20 16:24:32]           Starting Intellian SDT Front Application...
[2024-08-20 16:24:32]           Starting Intellian System sources Manager Application...
[2024-08-20 16:24:32]           Starting Intellian Watchdog Watcher Application...
[2024-08-20 16:24:32]  [  OK  ] Started Save/Restore Sound Card State.
[2024-08-20 16:24:32]  [  OK  ] Started /etc/rc.local Compatibility.
[2024-08-20 16:24:32]  [  OK  ] Started Serial Getty on ttyS1.
[2024-08-20 16:24:32]  [  OK  ] Reached target Login Prompts.
[2024-08-20 16:24:32]           Starting Synchronize System and HW clocks...
[2024-08-20 16:24:32]  [  OK  ] Stopped kernel boot splash screen.
[2024-08-20 16:24:32]  [  OK  ] Started Intellian SDT Front Application.
[2024-08-20 16:24:33]  [FAILED] Failed to start Synchronize System and HW clocks.
[2024-08-20 16:24:34]  See 'systemctl status sync-clocks.service' for details.
[2024-08-20 16:24:34]  [   34.202938] net eth1: initializing cpsw version 1.12 (0)
[2024-08-20 16:24:35]  [   34.344862] SMSC LAN8710/LAN8720 4a101000.mdio:07: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:07, irq=POLL)
[2024-08-20 16:24:35]  [   34.467898] 8021q: adding VLAN 0 to HW filter on device eth1
[2024-08-20 16:24:35]  [   34.864182] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)
[2024-08-20 16:24:35]  [   35.024710] SMSC LAN8710/LAN8720 4a101000.mdio:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
[2024-08-20 16:24:35]  [   35.076971] 8021q: adding VLAN 0 to HW filter on device eth0
[2024-08-20 16:24:35]  

[2024-08-20 16:24:38]  Intellian AptusLx
[2024-08-20 16:24:38]  AptusLx login: 

Because of this phenomenon, the cpu frequency driver is also not working.

- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1380293/am3358-change-cpu-frequency-of-am3358

I need help debugging.

Please check.

  • Hi, 

    Have you asked for support already from the AM3358 team (thread with AM3358 in the title)? We are not aware of any issues with the TPS65218 Linux drivers, so it would be good to see if they have suggestions.

    Best regards,

    Matt

  • Dear Matt,

    If you look at the log I uploaded, the regulator name is not registered properly either.
    I wrote vdd_core, vdd_mpu, vdd_ddr in the device tree.
    But it is shown as DCDC1, DCDC2, DCDC3.
    Is this normal?

    The regulator is not working as written in the device tree.

    Is there any way you can help me?

    Regards,
    Seungmin Nam.