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.

Linux/AM5708: KEYBOARD Controller in a custom AM5708 board

Part Number: AM5708
Other Parts Discussed in Thread: DRA718, DRA72, DRA722, AM5728, TMDXIDK5718, , DRA71XEVM, DRA71, AM5718

Tool/software: Linux

Hi:

I have a custom AM5708 based board and want to use keyboard controller to handle a key pad.

I am working with SDK Linux RT 5.00.00.15.

Attached are the dts and config file for Linux

During Linux startup I get the following message:

[    1.926557] omap4-keypad 4ae1c00000000080.keypad: no base address specified
[    1.933577] omap4-keypad: probe of 4ae1c00000000080.keypad failed with error2

Billa 0576.bridge_linux.dts.txt

6646.ti_sdk_dra7x_rt_release_defconfig.txt
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_PERF_EVENTS=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_CMDLINE_PARTITION=y
# CONFIG_ARCH_MULTI_V5 is not set
# CONFIG_ARCH_MULTI_V4 is not set
CONFIG_MACH_ARTPEC6=y
CONFIG_MACH_ARMADA_370=y
CONFIG_MACH_ARMADA_375=y
CONFIG_MACH_ARMADA_38X=y
CONFIG_MACH_ARMADA_39X=y
CONFIG_MACH_ARMADA_XP=y
CONFIG_MACH_DOVE=y
CONFIG_SOC_SAMA5D2=y
CONFIG_SOC_SAMA5D3=y
CONFIG_SOC_SAMA5D4=y
CONFIG_ARCH_BCM2835=y
CONFIG_ARCH_BCM_63XX=y
CONFIG_MACH_BERLIN_BG2=y
CONFIG_MACH_BERLIN_BG2CD=y
CONFIG_MACH_BERLIN_BG2Q=y
CONFIG_SOC_IMX50=y
CONFIG_SOC_IMX51=y
CONFIG_SOC_IMX53=y
CONFIG_SOC_IMX6Q=y
CONFIG_SOC_IMX6SL=y
CONFIG_SOC_IMX6SX=y
CONFIG_SOC_IMX6UL=y
CONFIG_SOC_IMX7D=y
CONFIG_SOC_VF610=y
CONFIG_SOC_LS1021A=y
CONFIG_MACH_SPEAR1310=y
CONFIG_MACH_SPEAR1340=y
CONFIG_EXYNOS5420_MCPM=y
CONFIG_ARCH_R8A7743=y
CONFIG_ARCH_R8A7745=y
CONFIG_ARCH_R8A7792=y
CONFIG_MACH_HREFV60=y
CONFIG_MACH_SNOWBALL=y
CONFIG_TRUSTED_FOUNDATIONS=y
CONFIG_PCI_HOST_GENERIC=y
CONFIG_PCI_KEYSTONE=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MVEBU=y
CONFIG_PCI_TEGRA=y
CONFIG_PCI_RCAR_GEN2=y
CONFIG_PCIE_RCAR=y
CONFIG_PCIEPORTBUS=y
CONFIG_HIGHPTE=y
CONFIG_CMA=y
CONFIG_EFI=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_ARM_IMX6Q_CPUFREQ=y
CONFIG_ARM_ZYNQ_CPUIDLE=y
CONFIG_ARM_EXYNOS_CPUIDLE=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_ESP=m
CONFIG_IPV6_MIP6=m
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_NET_DSA=m
CONFIG_NET_SWITCHDEV=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_DEV=y
CONFIG_CAN_AT91=m
CONFIG_CAN_RCAR=m
CONFIG_CAN_XILINXCAN=y
CONFIG_CAN_MCP251X=y
CONFIG_B53_SPI_DRIVER=m
CONFIG_B53_MDIO_DRIVER=m
CONFIG_B53_MMAP_DRIVER=m
CONFIG_B53_SRAB_DRIVER=m
CONFIG_CAN_SUN4I=y
CONFIG_BT=m
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
CONFIG_CFG80211=m
CONFIG_MAC80211=m
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=y
CONFIG_RFKILL_GPIO=y
CONFIG_DMA_CMA=y
CONFIG_OMAP_OCP2SCP=y
CONFIG_SIMPLE_PM_BUS=y
CONFIG_SUNXI_RSB=y
CONFIG_MTD=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_DENALI_DT=y
CONFIG_MTD_NAND_ATMEL=y
CONFIG_MTD_NAND_BRCMNAND=y
CONFIG_MTD_NAND_VF610_NFC=y
CONFIG_MTD_NAND_DAVINCI=y
CONFIG_MTD_SPI_NOR=y
CONFIG_SPI_FSL_QUADSPI=m
CONFIG_MTD_UBI=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=65536
CONFIG_VIRTIO_BLK=y
CONFIG_AD525X_DPOT=y
CONFIG_AD525X_DPOT_I2C=y
CONFIG_ATMEL_TCLIB=y
CONFIG_ICS932S401=y
CONFIG_ATMEL_SSC=m
CONFIG_QCOM_COINCELL=m
CONFIG_APDS9802ALS=y
CONFIG_ISL29003=y
CONFIG_EEPROM_AT24=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_AHCI_BRCM=y
CONFIG_AHCI_DM816=y
CONFIG_AHCI_ST=y
CONFIG_AHCI_IMX=y
CONFIG_AHCI_SUNXI=y
CONFIG_AHCI_TEGRA=y
CONFIG_SATA_HIGHBANK=y
CONFIG_SATA_MV=y
CONFIG_SATA_RCAR=y
CONFIG_NETDEVICES=y
CONFIG_VIRTIO_NET=y
CONFIG_HIX5HD2_GMAC=y
CONFIG_SUN4I_EMAC=y
CONFIG_MACB=y
CONFIG_BGMAC_BCMA=y
CONFIG_NET_CALXEDA_XGMAC=y
CONFIG_GIANFAR=y
CONFIG_MV643XX_ETH=y
CONFIG_MVNETA=y
CONFIG_PXA168_ETH=m
CONFIG_KS8851=y
CONFIG_R8169=y
CONFIG_SH_ETH=y
CONFIG_SMSC911X=y
CONFIG_STMMAC_ETH=y
CONFIG_STMMAC_PLATFORM=y
CONFIG_DWMAC_DWC_QOS_ETH=y
CONFIG_XILINX_EMACLITE=y
CONFIG_AT803X_PHY=y
CONFIG_SMSC_PHY=y
CONFIG_REALTEK_PHY=y
CONFIG_FIXED_PHY=y
CONFIG_ROCKCHIP_PHY=y

CONFIG_USB_SUPPORT=y
CONFIG_USB=m

CONFIG_USB_PEGASUS=y
CONFIG_USB_RTL8152=m
CONFIG_USB_NET_SMSC75XX=y
CONFIG_BRCMFMAC=m
CONFIG_RT2X00=m
CONFIG_RT2800USB=m
CONFIG_MWIFIEX=m
CONFIG_MWIFIEX_SDIO=m
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_QT1070=m
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_TEGRA=y
CONFIG_KEYBOARD_SPEAR=y
CONFIG_KEYBOARD_ST_KEYSCAN=y
CONFIG_KEYBOARD_CROS_EC=m
CONFIG_KEYBOARD_SAMSUNG=m
CONFIG_KEYBOARD_OMAP4=y
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_MOUSE_CYAPA=m
CONFIG_MOUSE_ELAN_I2C=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_ATMEL_MXT=m
CONFIG_TOUCHSCREEN_MMS114=m
CONFIG_TOUCHSCREEN_ST1232=m
CONFIG_TOUCHSCREEN_STMPE=y
CONFIG_TOUCHSCREEN_SUN4I=y
CONFIG_TOUCHSCREEN_WM97XX=m
CONFIG_INPUT_MISC=y
CONFIG_INPUT_MAX77693_HAPTIC=m
CONFIG_INPUT_MAX8997_HAPTIC=m
CONFIG_INPUT_AXP20X_PEK=m
CONFIG_INPUT_ADXL34X=m
CONFIG_SERIO_AMBAKMI=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_MT6577=y
CONFIG_SERIAL_8250_UNIPHIER=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_ATMEL_CONSOLE=y
CONFIG_SERIAL_ATMEL_TTYAT=y
CONFIG_SERIAL_BCM63XX=y
CONFIG_SERIAL_BCM63XX_CONSOLE=y
CONFIG_SERIAL_MESON=y
CONFIG_SERIAL_MESON_CONSOLE=y
CONFIG_SERIAL_SAMSUNG=y
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
CONFIG_SERIAL_SIRFSOC=y
CONFIG_SERIAL_SIRFSOC_CONSOLE=y
CONFIG_SERIAL_TEGRA=y
CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
CONFIG_SERIAL_SH_SCI=y
CONFIG_SERIAL_SH_SCI_NR_UARTS=20
CONFIG_SERIAL_SH_SCI_CONSOLE=y
CONFIG_SERIAL_SH_SCI_DMA=y
CONFIG_SERIAL_MSM=y
CONFIG_SERIAL_MSM_CONSOLE=y
CONFIG_SERIAL_VT8500=y
CONFIG_SERIAL_VT8500_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_OMAP_CONSOLE=y
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
CONFIG_SERIAL_CONEXANT_DIGICOLOR_CONSOLE=y
CONFIG_SERIAL_ST_ASC_CONSOLE=y
CONFIG_HVC_DRIVER=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_DAVINCI=y
CONFIG_I2C_ARB_GPIO_CHALLENGE=m
CONFIG_I2C_MUX_PCA954x=y
CONFIG_I2C_MUX_PINCTRL=y
CONFIG_I2C_DEMUX_PINCTRL=y
CONFIG_I2C_AT91=m
CONFIG_I2C_BCM2835=y
CONFIG_I2C_CADENCE=y
CONFIG_I2C_DIGICOLOR=m
CONFIG_I2C_EMEV2=m
CONFIG_I2C_EXYNOS5=y
CONFIG_I2C_IMX=m
CONFIG_I2C_MV64XXX=y
CONFIG_I2C_RIIC=y
CONFIG_I2C_S3C2410=y
CONFIG_I2C_SH_MOBILE=y
CONFIG_I2C_SIRF=y
CONFIG_I2C_ST=y
CONFIG_I2C_SUN6I_P2WI=y
CONFIG_I2C_TEGRA=y
CONFIG_I2C_UNIPHIER=y
CONFIG_I2C_UNIPHIER_F=y
CONFIG_I2C_RCAR=y
CONFIG_I2C_CROS_EC_TUNNEL=m
CONFIG_I2C_SLAVE_EEPROM=y
CONFIG_SPI=y
CONFIG_SPI_ATMEL=m
CONFIG_SPI_BCM2835=y
CONFIG_SPI_BCM2835AUX=y
CONFIG_SPI_DAVINCI=y
CONFIG_SPI_GPIO=m
CONFIG_SPI_FSL_DSPI=m
CONFIG_SPI_OMAP24XX=y
CONFIG_SPI_ORION=y
CONFIG_SPI_PL022=y
CONFIG_SPI_RSPI=y
CONFIG_SPI_S3C64XX=m
CONFIG_SPI_SH_MSIOF=m
CONFIG_SPI_SH_HSPI=y
CONFIG_SPI_SIRF=y
CONFIG_SPI_SUN4I=y
CONFIG_SPI_SUN6I=y
CONFIG_SPI_TEGRA114=y
CONFIG_SPI_TEGRA20_SFLASH=y
CONFIG_SPI_TEGRA20_SLINK=y
CONFIG_SPMI=y
CONFIG_PINCTRL_AS3722=y
CONFIG_PINCTRL_PALMAS=y
CONFIG_PINCTRL_BCM2835=y
CONFIG_PINCTRL_APQ8064=y
CONFIG_PINCTRL_APQ8084=y
CONFIG_PINCTRL_IPQ8064=y
CONFIG_PINCTRL_MSM8660=y
CONFIG_PINCTRL_MSM8960=y
CONFIG_PINCTRL_MSM8X74=y
CONFIG_PINCTRL_MSM8916=y
CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_PINCTRL_QCOM_SSBI_PMIC=y
CONFIG_GPIO_DAVINCI=y
CONFIG_GPIO_RCAR=y
CONFIG_GPIO_ZYNQ=y
CONFIG_GPIO_PCA953X_IRQ=y
CONFIG_GPIO_TWL4030=y
CONFIG_GPIO_PALMAS=y
CONFIG_GPIO_SYSCON=y
CONFIG_GPIO_TPS65910=y
CONFIG_BATTERY_ACT8945A=y
CONFIG_BATTERY_SBS=y
CONFIG_BATTERY_MAX17040=m
CONFIG_BATTERY_MAX17042=m
CONFIG_CHARGER_MAX14577=m
CONFIG_CHARGER_MAX77693=m
CONFIG_CHARGER_MAX8997=m
CONFIG_CHARGER_MAX8998=m
CONFIG_CHARGER_TPS65090=y
CONFIG_AXP20X_POWER=m
CONFIG_POWER_RESET_AS3722=y
CONFIG_POWER_RESET_GPIO=y
CONFIG_POWER_RESET_GPIO_RESTART=y
CONFIG_POWER_RESET_KEYSTONE=y
CONFIG_POWER_RESET_RMOBILE=y
CONFIG_POWER_RESET_ST=y
CONFIG_POWER_AVS=y
CONFIG_ROCKCHIP_IODOMAIN=y
CONFIG_SENSORS_IIO_HWMON=y
CONFIG_SENSORS_LM90=y
CONFIG_SENSORS_LM95245=y
CONFIG_SENSORS_NTC_THERMISTOR=m
CONFIG_SENSORS_PWM_FAN=m
CONFIG_SENSORS_INA2XX=m
CONFIG_BRCMSTB_THERMAL=m
CONFIG_ROCKCHIP_THERMAL=y
CONFIG_RCAR_THERMAL=y
CONFIG_ARMADA_THERMAL=y
CONFIG_DAVINCI_WATCHDOG=m
CONFIG_EXYNOS_THERMAL=m
CONFIG_ST_THERMAL_MEMMAP=y
CONFIG_DA9063_WATCHDOG=m
CONFIG_ARM_SP805_WATCHDOG=y
CONFIG_AT91SAM9X_WATCHDOG=y
CONFIG_SAMA5D4_WATCHDOG=y
CONFIG_ORION_WATCHDOG=y
CONFIG_ST_LPC_WATCHDOG=y
CONFIG_SUNXI_WATCHDOG=y
CONFIG_IMX2_WDT=y
CONFIG_TEGRA_WATCHDOG=m
CONFIG_MESON_WATCHDOG=y
CONFIG_DIGICOLOR_WATCHDOG=y
CONFIG_BCM2835_WDT=y
CONFIG_BCM47XX_WDT=y
CONFIG_BCM_KONA_WDT=y
CONFIG_MFD_ACT8945A=y
CONFIG_MFD_AC100=y
CONFIG_MFD_AXP20X_RSB=y
CONFIG_MFD_QCOM_RPM=y
CONFIG_MFD_SPMI_PMIC=y
CONFIG_REGULATOR_ACT8945A=y
CONFIG_REGULATOR_AB8500=y
CONFIG_POWER_RESET_SYSCON=y
CONFIG_REGULATOR_MAX8997=m
CONFIG_REGULATOR_MAX8998=m
CONFIG_REGULATOR_QCOM_RPM=y
CONFIG_REGULATOR_QCOM_SMD_RPM=y
CONFIG_REGULATOR_WM8994=m
CONFIG_USB_GSPCA=y
CONFIG_SOC_CAMERA=m
CONFIG_SOC_CAMERA_PLATFORM=m
CONFIG_VIDEO_RCAR_VIN=m
CONFIG_VIDEO_ATMEL_ISI=m
CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS=m
CONFIG_VIDEO_S5P_FIMC=m
CONFIG_VIDEO_S5P_MIPI_CSIS=m
CONFIG_VIDEO_EXYNOS_FIMC_LITE=m
CONFIG_VIDEO_EXYNOS4_FIMC_IS=m
CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m
CONFIG_VIDEO_SAMSUNG_S5P_MFC=m
CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC=m
CONFIG_VIDEO_STI_BDISP=m
CONFIG_VIDEO_STI_HVA=m
CONFIG_VIDEO_STI_DELTA=m
CONFIG_VIDEO_RENESAS_JPU=m
CONFIG_VIDEO_RENESAS_VSP1=m
CONFIG_V4L_TEST_DRIVERS=y
CONFIG_VIDEO_ADV7180=m
CONFIG_VIDEO_ML86V7667=m
CONFIG_DRM_I2C_ADV7511_AUDIO=y
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
CONFIG_DRM_DUMB_VGA_DAC=m
CONFIG_DRM_EXYNOS_FIMD=y
CONFIG_DRM_EXYNOS_MIXER=y
CONFIG_DRM_EXYNOS_DPI=y
CONFIG_DRM_EXYNOS_DSI=y
CONFIG_DRM_EXYNOS_HDMI=y
CONFIG_DRM_ROCKCHIP=m
CONFIG_ROCKCHIP_ANALOGIX_DP=y
CONFIG_ROCKCHIP_DW_HDMI=y
CONFIG_ROCKCHIP_DW_MIPI_DSI=y
CONFIG_ROCKCHIP_INNO_HDMI=y
CONFIG_DRM_ATMEL_HLCDC=m
CONFIG_DRM_RCAR_DU=m
CONFIG_DRM_RCAR_LVDS=y
CONFIG_DRM_SUN4I=m
CONFIG_DRM_TEGRA=y
CONFIG_DRM_PANEL_SAMSUNG_LD9040=m
CONFIG_DRM_VC4=y
CONFIG_FB_ARMCLCD=y
CONFIG_FB_EFI=y
CONFIG_FB_WM8505=y
CONFIG_FB_SH_MOBILE_LCDC=y
CONFIG_FB_SIMPLE=y
CONFIG_FB_SH_MOBILE_MERAM=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_LCD_PLATFORM=m
CONFIG_BACKLIGHT_AS3711=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_HDA_TEGRA=m
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_ATMEL_SOC_WM8904=m
CONFIG_SND_ATMEL_SOC_PDMIC=m
CONFIG_SND_BCM2835_SOC_I2S=m
CONFIG_SND_SOC_ROCKCHIP=m
CONFIG_SND_SOC_ROCKCHIP_SPDIF=m
CONFIG_SND_SOC_ROCKCHIP_MAX98090=m
CONFIG_SND_SOC_ROCKCHIP_RT5645=m
CONFIG_SND_SOC_SAMSUNG=m
CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994=m
CONFIG_SND_SOC_SMDK_WM8994_PCM=m
CONFIG_SND_SOC_SNOW=m
CONFIG_SND_SOC_SH4_FSI=m
CONFIG_SND_SOC_RCAR=m
CONFIG_SND_SIMPLE_SCU_CARD=m
CONFIG_SND_SUN4I_CODEC=m
CONFIG_SND_SOC_TEGRA=m
CONFIG_SND_SOC_TEGRA20_I2S=m
CONFIG_SND_SOC_TEGRA30_I2S=m
CONFIG_SND_SOC_TEGRA_RT5640=m
CONFIG_SND_SOC_TEGRA_WM8753=m
CONFIG_SND_SOC_TEGRA_WM8903=m
CONFIG_SND_SOC_TEGRA_WM9712=m
CONFIG_SND_SOC_TEGRA_TRIMSLICE=m
CONFIG_SND_SOC_TEGRA_ALC5632=m
CONFIG_SND_SOC_TEGRA_MAX98090=m
CONFIG_SND_SOC_SPDIF=m
CONFIG_SND_SOC_STI=m
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_MVEBU=y
CONFIG_USB_XHCI_RCAR=m
CONFIG_USB_XHCI_TEGRA=m

CONFIG_USB_XHCI_PLATFORM=m

CONFIG_USB_EHCI_MSM=m
CONFIG_USB_EHCI_EXYNOS=y
CONFIG_USB_EHCI_TEGRA=y
CONFIG_USB_EHCI_HCD_STI=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_ISP1760=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_STI=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_OHCI_EXYNOS=m
CONFIG_USB_R8A66597_HCD=m
CONFIG_USB_RENESAS_USBHS=m
CONFIG_USB_STORAGE=y
CONFIG_USB_MUSB_SUNXI=m
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_AB8500_USB=y
CONFIG_KEYSTONE_USB_PHY=y
CONFIG_USB_GPIO_VBUS=y
CONFIG_USB_ISP1301=y
CONFIG_USB_MSM_OTG=m
CONFIG_USB_MXS_PHY=y
CONFIG_USB_FSL_USB2=y
CONFIG_USB_RENESAS_USBHS_UDC=m
CONFIG_MMC_BLOCK_MINORS=16
CONFIG_MMC_ARMMMCI=y
CONFIG_MMC_SDHCI_OF_ARASAN=y
CONFIG_MMC_SDHCI_OF_AT91=y
CONFIG_MMC_SDHCI_OF_ESDHC=y
CONFIG_MMC_SDHCI_ESDHC_IMX=y
CONFIG_MMC_SDHCI_DOVE=y
CONFIG_MMC_SDHCI_TEGRA=y
CONFIG_MMC_SDHCI_PXAV3=y
CONFIG_MMC_SDHCI_SPEAR=y
CONFIG_MMC_SDHCI_S3C=y
CONFIG_MMC_SDHCI_S3C_DMA=y
CONFIG_MMC_SDHCI_BCM_KONA=y
CONFIG_MMC_SDHCI_ST=y
CONFIG_MMC_OMAP=y
CONFIG_MMC_ATMELMCI=y
CONFIG_MMC_SDHCI_MSM=y
CONFIG_MMC_MVSDIO=y
CONFIG_MMC_SDHI=y
CONFIG_MMC_DW_PLTFM=y
CONFIG_MMC_DW_EXYNOS=y
CONFIG_MMC_DW_ROCKCHIP=y
CONFIG_MMC_SH_MMCIF=y
CONFIG_MMC_SUNXI=y
CONFIG_MMC_BCM2835=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS_FLASH=m
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_PWM=y
CONFIG_LEDS_MAX77693=m
CONFIG_LEDS_MAX8997=m
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_ONESHOT=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
CONFIG_LEDS_TRIGGER_CPU=y
CONFIG_LEDS_TRIGGER_GPIO=y
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
CONFIG_LEDS_TRIGGER_TRANSIENT=y
CONFIG_LEDS_TRIGGER_CAMERA=y
CONFIG_EDAC_HIGHBANK_MC=y
CONFIG_EDAC_HIGHBANK_L2=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_AC100=y
CONFIG_RTC_DRV_AS3722=y
CONFIG_RTC_DRV_MAX8907=y
CONFIG_RTC_DRV_MAX8998=m
CONFIG_RTC_DRV_MAX8997=m
CONFIG_RTC_DRV_MAX77686=y
CONFIG_RTC_DRV_RK808=m
CONFIG_RTC_DRV_ST_LPC=y
CONFIG_RTC_DRV_DA9063=m
CONFIG_RTC_DRV_EFI=m
CONFIG_RTC_DRV_DIGICOLOR=m
CONFIG_RTC_DRV_S5M=m
CONFIG_RTC_DRV_S3C=m
CONFIG_RTC_DRV_PL031=y
CONFIG_RTC_DRV_AT91RM9200=m
CONFIG_RTC_DRV_AT91SAM9=m
CONFIG_RTC_DRV_VT8500=y
CONFIG_RTC_DRV_SUN6I=y
CONFIG_RTC_DRV_SUNXI=y
CONFIG_RTC_DRV_MV=y
CONFIG_RTC_DRV_TEGRA=y
CONFIG_DMADEVICES=y
CONFIG_DW_DMAC=y
CONFIG_AT_HDMAC=y
CONFIG_AT_XDMAC=y
CONFIG_FSL_EDMA=y
CONFIG_MV_XOR=y
CONFIG_TEGRA20_APB_DMA=y
CONFIG_SH_DMAE=y
CONFIG_RCAR_DMAC=y
CONFIG_RENESAS_USB_DMAC=m
CONFIG_STE_DMA40=y
CONFIG_SIRF_DMA=y
CONFIG_TI_EDMA=y
CONFIG_PL330_DMA=y
CONFIG_IMX_SDMA=y
CONFIG_IMX_DMA=y
CONFIG_MXS_DMA=y
CONFIG_DMA_BCM2835=y
CONFIG_DMA_OMAP=y
CONFIG_QCOM_BAM_DMA=y
CONFIG_XILINX_DMA=y
CONFIG_DMA_SUN6I=y
CONFIG_ST_FDMA=m
CONFIG_SENSORS_ISL29018=y
CONFIG_SENSORS_ISL29028=y
CONFIG_MFD_NVEC=y
CONFIG_KEYBOARD_NVEC=y
CONFIG_SERIO_NVEC_PS2=y
CONFIG_NVEC_POWER=y
CONFIG_NVEC_PAZ00=y
CONFIG_BCMA=y
CONFIG_BCMA_HOST_SOC=y
CONFIG_BCMA_DRIVER_GMAC_CMN=y
CONFIG_BCMA_DRIVER_GPIO=y
CONFIG_QCOM_GSBI=y
CONFIG_QCOM_PM=y
CONFIG_QCOM_SMEM=y
CONFIG_QCOM_SMD_RPM=y
CONFIG_QCOM_SMP2P=y
CONFIG_QCOM_SMSM=y
CONFIG_QCOM_WCNSS_CTRL=m
CONFIG_ROCKCHIP_PM_DOMAINS=y
CONFIG_COMMON_CLK_QCOM=y
CONFIG_QCOM_CLK_RPM=y
CONFIG_STAGING_BOARD=y
CONFIG_CROS_EC_CHARDEV=m
CONFIG_COMMON_CLK_MAX77686=y
CONFIG_COMMON_CLK_RK808=m
CONFIG_COMMON_CLK_S2MPS11=m
CONFIG_APQ_MMCC_8084=y
CONFIG_MSM_GCC_8660=y
CONFIG_MSM_MMCC_8960=y
CONFIG_MSM_MMCC_8974=y
CONFIG_HWSPINLOCK_QCOM=y
CONFIG_ROCKCHIP_IOMMU=y
CONFIG_TEGRA_IOMMU_GART=y
CONFIG_TEGRA_IOMMU_SMMU=y
CONFIG_ST_REMOTEPROC=m
CONFIG_ARM_TEGRA_DEVFREQ=m
CONFIG_MEMORY=y
CONFIG_TI_AEMIF=y
CONFIG_IIO=y
CONFIG_IIO_SW_TRIGGER=y
CONFIG_AT91_ADC=m
CONFIG_AT91_SAMA5D2_ADC=m
CONFIG_BERLIN2_ADC=m
CONFIG_EXYNOS_ADC=m
CONFIG_VF610_ADC=m
CONFIG_XILINX_XADC=y
CONFIG_MPU3050_I2C=y
CONFIG_CM36651=m
CONFIG_AK8975=y
CONFIG_RASPBERRYPI_POWER=y
CONFIG_IIO_HRTIMER_TRIGGER=y
CONFIG_PWM=y
CONFIG_PWM_ATMEL=m
CONFIG_PWM_ATMEL_HLCDC_PWM=m
CONFIG_PWM_ATMEL_TCB=m
CONFIG_PWM_FSL_FTM=m
CONFIG_PWM_RENESAS_TPU=y
CONFIG_PWM_ROCKCHIP=m
CONFIG_PWM_SAMSUNG=m
CONFIG_PWM_SUN4I=y
CONFIG_PWM_TEGRA=y
CONFIG_PWM_VT8500=y
CONFIG_PHY_HIX5HD2_SATA=y
CONFIG_PWM_STI=y
CONFIG_PWM_BCM2835=y
CONFIG_PWM_BRCMSTB=m

CONFIG_GENERIC_PHY=y

CONFIG_OMAP_USB2=y
CONFIG_TI_PIPE3=y
CONFIG_PHY_BERLIN_USB=y
CONFIG_PHY_BERLIN_SATA=y
CONFIG_PHY_ROCKCHIP_DP=m
CONFIG_PHY_ROCKCHIP_USB=y
CONFIG_PHY_QCOM_APQ8064_SATA=m
CONFIG_PHY_MIPHY28LP=y
CONFIG_PHY_RCAR_GEN2=m
CONFIG_PHY_STIH407_USB=y
CONFIG_PHY_SUN4I_USB=y
CONFIG_PHY_SUN9I_USB=y
CONFIG_PHY_SAMSUNG_USB2=m
CONFIG_PHY_TEGRA_XUSB=y
CONFIG_PHY_BRCM_SATA=y
CONFIG_NVMEM=y
CONFIG_NVMEM_SUNXI_SID=y
CONFIG_BCM2835_MBOX=y
CONFIG_RASPBERRYPI_FIRMWARE=y
CONFIG_EFI_VARS=m
CONFIG_EFI_CAPSULE_LOADER=m
CONFIG_BCM47XX_NVRAM=y
CONFIG_BCM47XX_SPROM=y
CONFIG_EXT4_FS=y
CONFIG_AUTOFS4_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_UBIFS_FS=y
CONFIG_TMPFS=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_PMSG=y
CONFIG_PSTORE_RAM=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_ROOT_NFS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
CONFIG_PRINTK_TIME=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_KEYSTONE_IRQ=y
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_ST=y
CONFIG_CRYPTO_USER=m
CONFIG_CRYPTO_USER_API_RNG=m
CONFIG_CRYPTO_USER_API_AEAD=m
CONFIG_CRYPTO_DEV_MARVELL_CESA=m
CONFIG_CRYPTO_DEV_EXYNOS_RNG=m
CONFIG_CRYPTO_DEV_S5P=m
CONFIG_CRYPTO_DEV_SUN4I_SS=m
CONFIG_CRYPTO_DEV_ROCKCHIP=m
CONFIG_ARM_CRYPTO=y
CONFIG_CRYPTO_SHA1_ARM=m
CONFIG_CRYPTO_SHA1_ARM_CE=m
CONFIG_CRYPTO_SHA2_ARM_CE=m
CONFIG_CRYPTO_AES_ARM=m
CONFIG_CRYPTO_AES_ARM_CE=m
CONFIG_CRYPTO_CHACHA20_NEON=m
CONFIG_CRYPTO_CRC32_ARM_CE=m
CONFIG_CRYPTO_CRCT10DIF_ARM_CE=m
CONFIG_CRYPTO_GHASH_ARM_CE=m
CONFIG_CRYPTO_DEV_ATMEL_AES=m
CONFIG_CRYPTO_DEV_ATMEL_TDES=m
CONFIG_CRYPTO_DEV_ATMEL_SHA=m
CONFIG_VIDEO_VIVID=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_MMIO=y
# Add config flags here that only appear in the multi_v7_defconfig
CONFIG_ARCH_ALPINE=n
CONFIG_ARCH_ARTPEC=n
CONFIG_ARCH_AT91=n
CONFIG_ARCH_BCM=n
CONFIG_ARCH_BCM_CYGNUS=n
CONFIG_ARCH_BCM_NSP=n
CONFIG_ARCH_BCM_5301X=n
CONFIG_ARCH_BCM_281XX=n
CONFIG_ARCH_BCM_21664=n
CONFIG_ARCH_BRCMSTB=n
CONFIG_ARCH_BERLIN=n
CONFIG_ARCH_DIGICOLOR=n
CONFIG_ARCH_HIGHBANK=n
CONFIG_ARCH_HISI=n
CONFIG_ARCH_HI3xxx=n
CONFIG_ARCH_HIP01=n
CONFIG_ARCH_HIP04=n
CONFIG_ARCH_HIX5HD2=n
CONFIG_ARCH_MESON=n
CONFIG_ARCH_MXC=n
CONFIG_ARCH_MEDIATEK=n
CONFIG_ARCH_QCOM=n
CONFIG_ARCH_MSM8X60=n
CONFIG_ARCH_MSM8960=n
CONFIG_ARCH_MSM8974=n
CONFIG_ARCH_ROCKCHIP=n
CONFIG_ARCH_SOCFPGA=n
CONFIG_ARCH_SPEAR13XX=n
CONFIG_ARCH_STI=n
CONFIG_ARCH_EXYNOS=n
CONFIG_ARCH_SHMOBILE_MULTI=n
CONFIG_ARCH_EMEV2=n
CONFIG_ARCH_R7S72100=n
CONFIG_ARCH_R8A73A4=n
CONFIG_ARCH_R8A7740=n
CONFIG_ARCH_R8A7778=n
CONFIG_ARCH_R8A7779=n
CONFIG_ARCH_R8A7790=n
CONFIG_ARCH_R8A7791=n
CONFIG_ARCH_R8A7793=n
CONFIG_ARCH_R8A7794=n
CONFIG_ARCH_RENESAS=n
CONFIG_ARCH_SH73A0=n
CONFIG_ARCH_SUNXI=n
CONFIG_ARCH_SIRF=n
CONFIG_ARCH_TEGRA=n
CONFIG_ARCH_TEGRA_2x_SOC=n
CONFIG_ARCH_TEGRA_3x_SOC=n
CONFIG_ARCH_TEGRA_114_SOC=n
CONFIG_ARCH_TEGRA_124_SOC=n
CONFIG_ARCH_UNIPHIER=n
CONFIG_ARCH_U8500=n
CONFIG_ARCH_VEXPRESS=n
CONFIG_ARCH_VEXPRESS_TC2_PM=n
CONFIG_ARCH_WM8850=n
CONFIG_ARCH_ZYNQ=n
CONFIG_ARCH_VIRT=n
CONFIG_ARCH_MVEBU=n
CONFIG_PLAT_SPEAR=n
CONFIG_CHROME_PLATFORMS=n
##################################################
# TI Baseport Config Options
##################################################

# Kernel compression
CONFIG_KERNEL_GZIP=n
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_LZ4=n
CONFIG_KERNEL_XZ=n
CONFIG_KERNEL_LZO=n

# Enable process accounting
CONFIG_BSD_PROCESS_ACCT=y

# Have some way to pick up kernel config later on
# Always useful to look at /proc/config.gz
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y

# Add Bin2c
CONFIG_BUILD_BIN2C=y

# Add base Cgroups functions
CONFIG_CGROUP_DEBUG=n
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_PAGE_COUNTER=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_DEBUG_BLK_CGROUP=n
CONFIG_CGROUP_WRITEBACK=y

# Choose CONFIG_EMBEDDED
CONFIG_EMBEDDED=y
CONFIG_EXPERT=y
CONFIG_ARM_PATCH_PHYS_VIRT=y

# Enable all kernel symbols please
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y

# Enable AEABI
CONFIG_AEABI=y

# How do we want kernel Modules to work?
CONFIG_BASE_FULL=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=n
CONFIG_MODULE_COMPRESS=n
CONFIG_MODULES_TREE_LOOKUP=y

# Boot options
CONFIG_USE_OF=y
CONFIG_ATAGS=y
CONFIG_DEPRECATED_PARAM_STRUCT=n
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND=n
CONFIG_CMDLINE=""
CONFIG_CMDLINE_FROM_BOOTLOADER=y
CONFIG_CMDLINE_EXTEND=n
CONFIG_CMDLINE_FORCE=n
CONFIG_ATAGS_PROC=y
CONFIG_CRASH_DUMP=n
CONFIG_AUTO_ZRELADDR=y

# Mem allocator
CONFIG_SLAB=n
CONFIG_SLUB=y

# Enable NEON
CONFIG_VFP=y
CONFIG_NEON=y
CONFIG_KERNEL_MODE_NEON=y

# POSIX Message queue
CONFIG_POSIX_MQUEUE=y

# No Multi Cluster systems in TI yet..
CONFIG_MCPM=n

# Serial
CONFIG_SERIAL_8250_OMAP=y
CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
CONFIG_SERIAL_8250_NR_UARTS=10
CONFIG_SERIAL_8250_RUNTIME_UARTS=10
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_OMAP=n
CONFIG_SERIAL_8250_DW=n
CONFIG_SERIAL_8250_EM=n
CONFIG_SERIAL_AMBA_PL011=n
CONFIG_SERIAL_XILINX_PS_UART=n
CONFIG_SERIAL_FSL_LPUART=n
CONFIG_SERIAL_CONEXANT_DIGICOLOR=n
CONFIG_SERIAL_ST_ASC=n

CONFIG_JUMP_LABEL=y

# Disable Extra debug options
CONFIG_TIMER_STATS=n
CONFIG_DEBUG_SPINLOCK=n
CONFIG_DEBUG_MUTEXES=n
CONFIG_DEBUG_LOCK_ALLOC=n
CONFIG_PROVE_LOCKING=n
CONFIG_LOCKDEP=n
CONFIG_STACKTRACE=n
CONFIG_FTRACE=n
CONFIG_ARM_UNWIND=n
CONFIG_DEBUG_PREEMPT=n
CONFIG_SLUB_DEBUG=n
CONFIG_LOCKUP_DETECTOR=n
CONFIG_DETECT_HUNG_TASK=n
CONFIG_IRQ_DOMAIN_DEBUG=n
CONFIG_DEBUG_BUGVERBOSE=n

CONFIG_DEBUG_FS=y

# Enable System V IPC
CONFIG_SYSVIPC=y

# Power management options
CONFIG_SUSPEND_FREEZER=y
CONFIG_SUSPEND_SKIP_SYNC=n
CONFIG_HIBERNATION=n
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_AUTOSLEEP=n
CONFIG_PM_WAKELOCKS=n
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_APM_EMULATION=n
CONFIG_PM_OPP=y
CONFIG_PM_CLK=y
CONFIG_PM_GENERIC_DOMAINS=y
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=n
CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
CONFIG_PM_GENERIC_DOMAINS_OF=y
CONFIG_CPU_PM=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y

# Clock framework stuff we need
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_SI5351=n
CONFIG_COMMON_CLK_SI514=n
CONFIG_COMMON_CLK_SI570=n
CONFIG_COMMON_CLK_CDCE925=n
CONFIG_CLK_TWL6040=n
CONFIG_CLK_QORIQ=n
CONFIG_COMMON_CLK_PALMAS=y
CONFIG_COMMON_CLK_PWM=n
CONFIG_COMMON_CLK_PXA=n
CONFIG_COMMON_CLK_CDCE706=n
CONFIG_CLKSRC_OF=y
CONFIG_CLKSRC_PROBE=y
CONFIG_CLKSRC_MMIO=y
CONFIG_CLKSRC_TI_32K=y
CONFIG_ARM_ARCH_TIMER=y
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
CONFIG_ARM_GLOBAL_TIMER=n
CONFIG_ARM_TIMER_SP804=n
# Clock cleanup please
CONFIG_OMAP_RESET_CLOCKS=y

# CPU Idle
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_DT_IDLE_STATES=y

# ARM CPU Idle Drivers
CONFIG_ARM_CPUIDLE=y
CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED=n

# CPU Frequency scaling
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

# CPUFreq Driver Options
CONFIG_CPUFREQ_DT=y
CONFIG_ARM_BIG_LITTLE_CPUFREQ=n
CONFIG_ARM_KIRKWOOD_CPUFREQ=n
CONFIG_ARM_OMAP2PLUS_CPUFREQ=n
CONFIG_ARM_TI_CPUFREQ=y
CONFIG_QORIQ_CPUFREQ=n

# AMx3 Power Config Options
CONFIG_MAILBOX=y
CONFIG_WKUP_M3_RPROC=m
CONFIG_SOC_TI=y
CONFIG_SOC_BRCMSTB=n
CONFIG_WKUP_M3_IPC=m
CONFIG_AMX3_PM=m
CONFIG_SRAM=y
CONFIG_TI_EMIF_SRAM=m
CONFIG_SUNXI_SRAM=n

CONFIG_PM_DEVFREQ=n

# K2G Power config options
# CONFIG_MAILBOX is enabled in AMx3
CONFIG_TI_MESSAGE_MANAGER=y
CONFIG_TI_SCI_PROTOCOL=y
CONFIG_TI_SCI_PM_DOMAINS=y
CONFIG_TI_SCI_CLK=y

# Enable Reset Controllers
CONFIG_RESET_CONTROLLER=y
CONFIG_RESET_TI_SYSCON=y
CONFIG_RESET_TI_SCI=y

# CPUFreq and OPP drivers
CONFIG_OPP_DOMAIN_TI=y

# Thermal
CONFIG_THERMAL=y
CONFIG_THERMAL_OF=y
CONFIG_THERMAL_WRITABLE_TRIPS=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_FAIR_SHARE=y
CONFIG_THERMAL_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_BANG_BANG=y
CONFIG_THERMAL_GOV_USER_SPACE=y
CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
CONFIG_CPU_THERMAL=y
CONFIG_TI_SOC_THERMAL=y
CONFIG_TI_THERMAL=y
CONFIG_OMAP4_THERMAL=y
CONFIG_OMAP5_THERMAL=y
CONFIG_DRA752_THERMAL=y

# Since HWMON is needed by Sensors..
CONFIG_HWMON=y
CONFIG_SENSORS_TMP102=y
CONFIG_SENSORS_GPIO_FAN=y

# Enable the reset framework
CONFIG_POWER_RESET=y
CONFIG_POWER_SUPPLY=y

# Pinctrl
CONFIG_PINCTRL_TI_IODELAY=y
CONFIG_PINCTRL_SINGLE=y

#
# Multifunction device drivers
CONFIG_MFD_CORE=y
CONFIG_MFD_AS3711=n
CONFIG_MFD_AS3722=n
CONFIG_PMIC_ADP5520=n
CONFIG_MFD_AAT2870_CORE=n
CONFIG_MFD_ATMEL_FLEXCOM=n
CONFIG_MFD_ATMEL_HLCDC=n
CONFIG_MFD_BCM590XX=n
CONFIG_MFD_AXP20X=n
CONFIG_MFD_AXP20X_I2C=n
CONFIG_MFD_CROS_EC=n
CONFIG_MFD_CROS_EC_I2C=n
CONFIG_MFD_CROS_EC_SPI=n
CONFIG_MFD_ASIC3=n
CONFIG_PMIC_DA903X=n
CONFIG_MFD_DA9052_SPI=n
CONFIG_MFD_DA9052_I2C=n
CONFIG_MFD_DA9055=n
CONFIG_MFD_DA9062=n
CONFIG_MFD_DA9063=n
CONFIG_MFD_DA9150=n
CONFIG_MFD_DLN2=n
CONFIG_MFD_MC13XXX_SPI=n
CONFIG_MFD_MC13XXX_I2C=n
CONFIG_MFD_HI6421_PMIC=n
CONFIG_HTC_EGPIO=n
CONFIG_HTC_PASIC3=n
CONFIG_HTC_I2CPLD=n
CONFIG_LPC_ICH=n
CONFIG_LPC_SCH=n
CONFIG_INTEL_SOC_PMIC=n
CONFIG_MFD_JANZ_CMODIO=n
CONFIG_MFD_KEMPLD=n
CONFIG_MFD_88PM800=n
CONFIG_MFD_88PM805=n
CONFIG_MFD_88PM860X=n
CONFIG_MFD_MAX14577=n
CONFIG_MFD_MAX77686=n
CONFIG_MFD_MAX77693=n
CONFIG_MFD_MAX77843=n
CONFIG_MFD_MAX8907=n
CONFIG_MFD_MAX8925=n
CONFIG_MFD_MAX8997=n
CONFIG_MFD_MAX8998=n
CONFIG_MFD_MT6397=n
CONFIG_MFD_MENF21BMC=n
CONFIG_EZX_PCAP=n
CONFIG_MFD_VIPERBOARD=n
CONFIG_MFD_RETU=n
CONFIG_MFD_PCF50633=n
CONFIG_MFD_PM8XXX=n
CONFIG_MFD_PM8921_CORE=n
CONFIG_MFD_RDC321X=n
CONFIG_MFD_RTSX_PCI=n
CONFIG_MFD_RT5033=n
CONFIG_MFD_RTSX_USB=n
CONFIG_MFD_RC5T583=n
CONFIG_MFD_RK808=n
CONFIG_MFD_RN5T618=n
CONFIG_MFD_SEC_CORE=n
CONFIG_MFD_SI476X_CORE=n
CONFIG_MFD_SM501=n
CONFIG_MFD_SKY81452=n
CONFIG_MFD_SMSC=n
CONFIG_ABX500_CORE=n
CONFIG_AB3100_CORE=n
CONFIG_MFD_STMPE=n
CONFIG_STMPE_I2C=n
CONFIG_STMPE_SPI=n
CONFIG_MFD_SYSCON=y
CONFIG_MFD_TI_AM335X_TSCADC=m
CONFIG_MFD_LP3943=n
CONFIG_MFD_LP8788=n
CONFIG_MFD_OMAP_USB_HOST=y
CONFIG_MFD_PALMAS=y
CONFIG_TPS6105X=n
CONFIG_TPS65010=n
CONFIG_TPS6507X=n
CONFIG_MFD_TPS65086=n
CONFIG_MFD_TPS65090=y
CONFIG_MFD_TPS65217=y
CONFIG_MFD_TPS65218=y
CONFIG_MFD_TPS6586X=y
CONFIG_MFD_TPS65910=y
CONFIG_MFD_TPS65912_I2C=n
CONFIG_MFD_TPS65912_SPI=n
CONFIG_MFD_TPS80031=n
CONFIG_TWL4030_CORE=n
CONFIG_TWL4030_POWER=n
CONFIG_MFD_TWL4030_AUDIO=n
CONFIG_TWL6040_CORE=y
CONFIG_MFD_WL1273_CORE=n
CONFIG_MFD_LM3533=n
CONFIG_MFD_TI_LP873X=y
CONFIG_MFD_TI_LP87565=y
CONFIG_MFD_TC3589X=n
CONFIG_MFD_TMIO=n
CONFIG_MFD_T7L66XB=n
CONFIG_MFD_TC6387XB=n
CONFIG_MFD_TC6393XB=n
CONFIG_MFD_VX855=n
CONFIG_MFD_ARIZONA_I2C=n
CONFIG_MFD_ARIZONA_SPI=n
CONFIG_MFD_WM8400=n
CONFIG_MFD_WM831X_I2C=n
CONFIG_MFD_WM831X_SPI=n
CONFIG_MFD_WM8350_I2C=n
CONFIG_MFD_WM8994=n
CONFIG_MFD_VEXPRESS_SYSREG=n

# Regulators
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_DEBUG=n
CONFIG_REGULATOR_VIRTUAL_CONSUMER=n
CONFIG_REGULATOR_USERSPACE_CONSUMER=n
CONFIG_REGULATOR_ACT8865=n
CONFIG_REGULATOR_AD5398=n
CONFIG_REGULATOR_ANATOP=n
CONFIG_REGULATOR_AS3711=n
CONFIG_REGULATOR_AS3722=n
CONFIG_REGULATOR_AXP20X=n
CONFIG_REGULATOR_BCM590XX=n
CONFIG_REGULATOR_DA9210=n
CONFIG_REGULATOR_DA9211=n
CONFIG_REGULATOR_FAN53555=n
CONFIG_REGULATOR_GPIO=y
CONFIG_REGULATOR_ISL9305=n
CONFIG_REGULATOR_ISL6271A=n
CONFIG_REGULATOR_LP3971=n
CONFIG_REGULATOR_LP3972=n
CONFIG_REGULATOR_LP872X=n
CONFIG_REGULATOR_LP8755=n
CONFIG_REGULATOR_LP873X=y
CONFIG_REGULATOR_LP87565=y
CONFIG_REGULATOR_LTC3589=n
CONFIG_REGULATOR_MAX14577=n
CONFIG_REGULATOR_MAX1586=n
CONFIG_REGULATOR_MAX8649=n
CONFIG_REGULATOR_MAX8660=n
CONFIG_REGULATOR_MAX8907=n
CONFIG_REGULATOR_MAX8952=n
CONFIG_REGULATOR_MAX8973=n
CONFIG_REGULATOR_MAX77686=n
CONFIG_REGULATOR_MAX77693=n
CONFIG_REGULATOR_MAX77802=n
CONFIG_REGULATOR_MT6311=n
CONFIG_REGULATOR_PALMAS=y
CONFIG_REGULATOR_PBIAS=y
CONFIG_REGULATOR_PFUZE100=n
CONFIG_REGULATOR_PWM=n
CONFIG_REGULATOR_RK808=n
CONFIG_REGULATOR_S2MPA01=n
CONFIG_REGULATOR_S2MPS11=n
CONFIG_REGULATOR_S5M8767=n
CONFIG_REGULATOR_TI_ABB=y
CONFIG_REGULATOR_TPS51632=n
CONFIG_REGULATOR_TPS62360=y
CONFIG_REGULATOR_TPS65023=y
CONFIG_REGULATOR_TPS6507X=y
CONFIG_REGULATOR_TPS65090=y
CONFIG_REGULATOR_TPS65217=y
CONFIG_REGULATOR_TPS65218=y
CONFIG_REGULATOR_TPS6524X=y
CONFIG_REGULATOR_TPS6586X=y
CONFIG_REGULATOR_TPS65910=y
CONFIG_REGULATOR_TWL4030=n
CONFIG_REGULATOR_VEXPRESS=n

# Crypto Modules
CONFIG_CRYPTO_DEV_OMAP=m
CONFIG_CRYPTO_DEV_OMAP_SHAM=m
CONFIG_CRYPTO_DEV_OMAP_AES=m
CONFIG_CRYPTO_DEV_OMAP_DES=m
CONFIG_CRYPTO_USER_API_HASH=m
CONFIG_CRYPTO_USER_API_SKCIPHER=m
CONFIG_CRYPTO_SHA1_ARM_NEON=m
CONFIG_CRYPTO_SHA256_ARM=m
CONFIG_CRYPTO_SHA512_ARM=m
CONFIG_CRYPTO_AES_ARM_BS=m

#
# RTC drivers
#
CONFIG_RTC_DRV_ABB5ZES3=n
CONFIG_RTC_DRV_ABX80X=n
CONFIG_RTC_DRV_DS1307=m
CONFIG_RTC_DRV_DS1374=n
CONFIG_RTC_DRV_DS1672=n
CONFIG_RTC_DRV_DS3232=n
CONFIG_RTC_DRV_HYM8563=n
CONFIG_RTC_DRV_MAX6900=n
CONFIG_RTC_DRV_RS5C372=n
CONFIG_RTC_DRV_ISL1208=n
CONFIG_RTC_DRV_ISL12022=n
CONFIG_RTC_DRV_ISL12057=n
CONFIG_RTC_DRV_X1205=n
CONFIG_RTC_DRV_PALMAS=m
CONFIG_RTC_DRV_PCF2127=n
CONFIG_RTC_DRV_PCF8523=n
CONFIG_RTC_DRV_PCF8563=n
CONFIG_RTC_DRV_PCF85063=n
CONFIG_RTC_DRV_PCF8583=n
CONFIG_RTC_DRV_M41T80=n
CONFIG_RTC_DRV_BQ32K=n
CONFIG_RTC_DRV_TPS6586X=m
CONFIG_RTC_DRV_TPS65910=m
CONFIG_RTC_DRV_TWL92330=y
CONFIG_RTC_DRV_TWL4030=n
CONFIG_RTC_DRV_S35390A=n
CONFIG_RTC_DRV_FM3130=n
CONFIG_RTC_DRV_RX8581=n
CONFIG_RTC_DRV_RX8025=n
CONFIG_RTC_DRV_EM3027=n
CONFIG_RTC_DRV_RV3029C2=n
CONFIG_RTC_DRV_RV8803=n

CONFIG_RTC_DRV_M41T93=n
CONFIG_RTC_DRV_M41T94=n
CONFIG_RTC_DRV_DS1305=n
CONFIG_RTC_DRV_DS1343=n
CONFIG_RTC_DRV_DS1347=n
CONFIG_RTC_DRV_DS1390=n
CONFIG_RTC_DRV_MAX6902=n
CONFIG_RTC_DRV_R9701=n
CONFIG_RTC_DRV_RS5C348=n
CONFIG_RTC_DRV_DS3234=n
CONFIG_RTC_DRV_PCF2123=n
CONFIG_RTC_DRV_RX4581=n
CONFIG_RTC_DRV_MCP795=n

CONFIG_RTC_DRV_CMOS=n
CONFIG_RTC_DRV_DS1286=n
CONFIG_RTC_DRV_DS1511=n
CONFIG_RTC_DRV_DS1553=n
CONFIG_RTC_DRV_DS1685_FAMILY=n
CONFIG_RTC_DRV_DS1742=n
CONFIG_RTC_DRV_DS2404=n
CONFIG_RTC_DRV_STK17TA8=n
CONFIG_RTC_DRV_M48T86=n
CONFIG_RTC_DRV_M48T35=n
CONFIG_RTC_DRV_M48T59=n
CONFIG_RTC_DRV_MSM6242=n
CONFIG_RTC_DRV_BQ4802=n
CONFIG_RTC_DRV_RP5C01=n
CONFIG_RTC_DRV_V3020=n
CONFIG_RTC_DRV_ZYNQMP=n

CONFIG_RTC_DRV_OMAP=m
CONFIG_RTC_DRV_SNVS=n

CONFIG_RTC_DRV_HID_SENSOR_TIME=n

# WatchDog
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
CONFIG_WATCHDOG_NOWAYOUT=n

# Watchdog Device Drivers
CONFIG_SOFT_WATCHDOG=n
CONFIG_GPIO_WATCHDOG=n
CONFIG_XILINX_WATCHDOG=n
CONFIG_CADENCE_WATCHDOG=n
CONFIG_DW_WATCHDOG=n
CONFIG_OMAP_WATCHDOG=m
CONFIG_TWL4030_WATCHDOG=m
CONFIG_MAX63XX_WATCHDOG=n
CONFIG_ALIM7101_WDT=n
CONFIG_I6300ESB_WDT=n
CONFIG_BCM7038_WDT=n
CONFIG_MEN_A21_WDT=n

# No Staging drivers please
CONFIG_STAGING=n

# GPIO
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y
CONFIG_DEBUG_GPIO=y

# GPIO disable unused options
CONFIG_GPIO_DWAPB=n
CONFIG_GPIO_EM=n
CONFIG_GPIO_GENERIC_PLATFORM=n
CONFIG_GPIO_XILINX=n
CONFIG_GPIO_TPS6586X=n

# Enable options to facilitate testing
CONFIG_CRYPTO_TEST=m
CONFIG_RTC_DEBUG=y
CONFIG_THERMAL_EMULATION=y

# OPTEE Driver
CONFIG_TEE=y
CONFIG_OPTEE=y
##################################################
# TI RPMsg/IPC Config Options
##################################################
# HwSpinLock
CONFIG_HWSPINLOCK=y
CONFIG_HWSPINLOCK_OMAP=y

# Mailbox
CONFIG_OMAP2PLUS_MBOX=y

# IOMMU
CONFIG_IOMMU_SUPPORT=y
CONFIG_OMAP_IOMMU=y
CONFIG_OMAP_IOMMU_DEBUG=y

# Remoteproc
CONFIG_REMOTEPROC=m
CONFIG_OMAP_REMOTEPROC=m
CONFIG_KEYSTONE_REMOTEPROC=m
CONFIG_DA8XX_REMOTEPROC=m
CONFIG_PRUSS_REMOTEPROC=m

# RPMsg
CONFIG_RPMSG_VIRTIO=y
CONFIG_RPMSG_PROTO=y
CONFIG_RPMSG_RPC=y
CONFIG_RPMSG_PRU=y

# DSP Memory Mapper for Keystone MPM
CONFIG_KEYSTONE_DSP_MEM=m

# UIO Module
CONFIG_UIO=m
##################################################
# TI Connectivity Configs
##################################################

# Disable unused I2C options
CONFIG_I2C_MUX=n
CONFIG_I2C_DESIGNWARE_PLATFORM=n
CONFIG_I2C_GPIO=n
CONFIG_I2C_RK3X=n
CONFIG_I2C_XILINX=n

# I2C GPIO expanders
CONFIG_GPIO_PCF857X=y
CONFIG_GPIO_TPIC2810=m

#Networking drivers
CONFIG_NET_VENDOR_TI=y
CONFIG_KEYSTONE_NAVIGATOR_QMSS=y
CONFIG_KEYSTONE_NAVIGATOR_DMA=y
CONFIG_TI_KEYSTONE_NETCP=y
CONFIG_TI_KEYSTONE_NETCP_ETHSS=y
CONFIG_TI_DAVINCI_EMAC=y
CONFIG_TI_DAVINCI_MDIO=y
CONFIG_TI_DAVINCI_CPDMA=y
CONFIG_TI_CPSW_PHY_SEL=y
CONFIG_TI_CPSW_ALE=y
CONFIG_TI_CPSW=y
CONFIG_TI_CPTS=y
# non-TI Net vendors
CONFIG_NET_DSA_BCM_SF2=n
CONFIG_B53=n
CONFIG_SYSTEMPORT=n
CONFIG_NET_VENDOR_3COM=n
CONFIG_NET_VENDOR_ADAPTEC=n
CONFIG_NET_VENDOR_AGERE=n
CONFIG_NET_VENDOR_ALTEON=n
CONFIG_NET_VENDOR_AMAZON=n
CONFIG_NET_VENDOR_AMD=n
CONFIG_NET_VENDOR_ARC=n
CONFIG_NET_VENDOR_ATHEROS=n
CONFIG_NET_VENDOR_BROCADE=n
CONFIG_NET_VENDOR_CAVIUM=n
CONFIG_NET_VENDOR_CHELSIO=n
CONFIG_NET_CADENCE=n
CONFIG_BCMGENET=n
CONFIG_NET_VENDOR_CIRRUS=n
CONFIG_NET_VENDOR_CISCO=n
CONFIG_NET_VENDOR_DEC=n
CONFIG_NET_VENDOR_DLINK=n
CONFIG_NET_VENDOR_EMULEX=n
CONFIG_NET_VENDOR_EZCHIP=n
CONFIG_NET_VENDOR_EXAR=n
CONFIG_NET_VENDOR_FARADAY=n
CONFIG_NET_VENDOR_HISILICON=n
CONFIG_NET_VENDOR_HP=n
CONFIG_IGB=n
CONFIG_NET_VENDOR_I825XX=n
CONFIG_NET_VENDOR_MELLANOX=n
CONFIG_NET_VENDOR_MICROCHIP=n
CONFIG_NET_VENDOR_MYRI=n
CONFIG_NET_VENDOR_NATSEMI=n
CONFIG_NET_VENDOR_NETRONOME=n
CONFIG_NET_VENDOR_NVIDIA=n
CONFIG_NET_VENDOR_OKI=n
CONFIG_NET_VENDOR_8390=n
CONFIG_NET_VENDOR_QLOGIC=n
CONFIG_NET_VENDOR_QUALCOMM=n
CONFIG_NET_VENDOR_REALTEK=n
CONFIG_NET_VENDOR_RENESAS=n
CONFIG_NET_VENDOR_RDC=n
CONFIG_NET_VENDOR_ROCKER=n
CONFIG_NET_VENDOR_SAMSUNG=n
CONFIG_NET_VENDOR_SILAN=n
CONFIG_NET_VENDOR_SIS=n
CONFIG_NET_VENDOR_SEEQ=n
CONFIG_NET_VENDOR_STMICRO=n
CONFIG_NET_VENDOR_SUN=n
CONFIG_NET_VENDOR_SYNOPSYS=n
CONFIG_NET_VENDOR_TEHUTI=n
CONFIG_NET_VENDOR_VIA=n
CONFIG_NET_VENDOR_WIZNET=n
#Wireless LAN
CONFIG_WLCORE=m
CONFIG_WLCORE_SDIO=m
CONFIG_WL18XX=m

#MDIO phys
CONFIG_MARVELL_PHY=y
CONFIG_MICREL_PHY=y
# unused PHY drivers
CONFIG_BROADCOM_PHY=n
CONFIG_ICPLUS_PHY=n
#PRU MII PHYs for Industrial Boards
CONFIG_DP83848_PHY=y
# Enable phy for DRA72 evm
CONFIG_DP83867_PHY=y

#MTD
CONFIG_OMAP_GPMC=y
CONFIG_MTD_NAND_OMAP2=y
CONFIG_MTD_NAND_OMAP_BCH=y
CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
CONFIG_MTD_TESTS=m
CONFIG_MTD_CMDLINE_PARTS=y

#PCIE
CONFIG_PCI=y
CONFIG_PCI_ENDPOINT=y
CONFIG_PCI_ENDPOINT_CONFIGFS=y
CONFIG_PCI_EPF_TEST=y
CONFIG_PCI_ENDPOINT_TEST=m
CONFIG_PCI_DRA7XX=y
CONFIG_PCI_DRA7XX_HOST=y
CONFIG_PCI_DRA7XX_EP=y
CONFIG_PCI_KEYSTONE_EP=y
#These drivers have been used with DRA7x/AM57x PCIe RC with some success
CONFIG_NET_VENDOR_BROADCOM=y
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_NET_VENDOR_INTEL=y
CONFIG_TIGON3=m
CONFIG_SKGE=m
CONFIG_E1000=m
CONFIG_E1000E=m
CONFIG_IWLWIFI=m
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
#Generic Phys
CONFIG_PHY_TI_KEYSTONE_SERDES=y

# Networking
CONFIG_HSR_PRP=y
CONFIG_NF_CONNTRACK=m
CONFIG_NF_CONNTRACK_IPV4=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_NAT=m
CONFIG_NF_NAT_IPV4=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_BRIDGE=m
CONFIG_XFRM_USER=m
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_INET_AH=m
CONFIG_INET6_AH=m
CONFIG_INET6_IPCOMP=m
CONFIG_INET6_XFRM_TUNNEL=m
CONFIG_INET6_TUNNEL=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_MODE_TRANSPORT=m
CONFIG_INET_XFRM_MODE_TUNNEL=m
CONFIG_INET_XFRM_MODE_BEET=m
CONFIG_IPV6_TUNNEL=m
CONFIG_NETFILTER=y
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
CONFIG_NETFILTER_XT_TARGET_MARK=m
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_CPU=m
CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_POLICY=m
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_BROUTE=m
CONFIG_BRIDGE_EBT_T_FILTER=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
CONFIG_BRIDGE_EBT_ARP=m
CONFIG_BRIDGE_EBT_IP=m
CONFIG_BRIDGE_EBT_IP6=m
CONFIG_BRIDGE_EBT_LIMIT=m
CONFIG_BRIDGE_EBT_MARK=m
CONFIG_BRIDGE_EBT_PKTTYPE=m
CONFIG_BRIDGE_EBT_STP=m
CONFIG_BRIDGE_EBT_VLAN=m
CONFIG_BRIDGE_EBT_ARPREPLY=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
CONFIG_BRIDGE_EBT_NFLOG=m
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_MULTIQ=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFB=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_NETEM=m
CONFIG_NET_SCH_DRR=m
CONFIG_NET_SCH_MQPRIO=m
CONFIG_NET_SCH_CHOKE=m
CONFIG_NET_SCH_QFQ=m
CONFIG_NET_SCH_CODEL=m
CONFIG_NET_SCH_FQ_CODEL=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
CONFIG_NET_CLS_FLOW=m
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=m
CONFIG_NET_EMATCH_NBYTE=m
CONFIG_NET_EMATCH_U32=m
CONFIG_NET_EMATCH_META=m
CONFIG_NET_EMATCH_TEXT=m
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=m
CONFIG_NET_ACT_GACT=m
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=m
CONFIG_NET_ACT_IPT=m
CONFIG_NET_ACT_NAT=m
CONFIG_NET_ACT_PEDIT=m
CONFIG_NET_ACT_SIMP=m
CONFIG_NET_ACT_SKBEDIT=m
CONFIG_NET_ACT_CSUM=m
CONFIG_NET_CLS_IND=y
CONFIG_NET_SCH_FIFO=y
CONFIG_IP_SCTP=m
CONFIG_VLAN_8021Q=m
CONFIG_IP_MULTICAST=y

#PRUSS Ethernet driver
CONFIG_TI_PRUETH=m

#MMC/SD support
CONFIG_MMC=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_OMAP_HS=y
CONFIG_MMC_SDHCI_OMAP=y
CONFIG_MMC_DW=n

#SPI
CONFIG_SPI_CADENCE_QUADSPI=y
CONFIG_SPI_TI_QSPI=y
#Disable unused SPI controllers
CONFIG_SPI_BITBANG=n
CONFIG_SPI_CADENCE=n
CONFIG_SPI_ROCKCHIP=n
CONFIG_SPI_XILINX=n
CONFIG_SPI_SPIDEV=n

#Disable SPI NOR 4K SECTORS
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=n

#SPI GPIO expanders
CONFIG_GPIO_PISOSR=m

#SATA
CONFIG_SATA_AHCI_PLATFORM=m
CONFIG_SATA_AHCI=m
CONFIG_ATA=m

#USB gadgets
CONFIG_USB_GADGET=m
CONFIG_USB_AUDIO=m
CONFIG_USB_ETH=m
CONFIG_USB_G_NCM=m
CONFIG_USB_GADGETFS=m
CONFIG_USB_FUNCTIONFS=m
CONFIG_USB_FUNCTIONFS_ETH=y
CONFIG_USB_FUNCTIONFS_RNDIS=y
CONFIG_USB_FUNCTIONFS_GENERIC=y
CONFIG_USB_MASS_STORAGE=m
CONFIG_USB_G_SERIAL=m
CONFIG_USB_MIDI_GADGET=m
CONFIG_USB_G_PRINTER=m
CONFIG_USB_CDC_COMPOSITE=m
CONFIG_USB_G_ACM_MS=m
CONFIG_USB_G_MULTI=m
CONFIG_USB_G_MULTI_CDC=y
CONFIG_USB_G_HID=m
CONFIG_USB_G_DBGP=m
CONFIG_USB_G_WEBCAM=m
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=32
CONFIG_USB_ZERO=m
CONFIG_USB_CONFIGFS=m
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_UAC1=y
CONFIG_USB_CONFIGFS_F_UAC2=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y

# USB DWC3
CONFIG_USB_DWC3=m
CONFIG_USB_DWC3_DUAL_ROLE=y
CONFIG_USB_DWC3_OMAP=m
CONFIG_USB_DWC3_PCI=n
CONFIG_USB_DWC2=n
CONFIG_USB_CHIPIDEA=n

#USB PHY
CONFIG_NOP_USB_XCEIV=m

#USB MUSB
CONFIG_USB_MUSB_HDRC=m
CONFIG_USB_MUSB_DUAL_ROLE=y
CONFIG_USB_MUSB_OMAP2PLUS=m
CONFIG_USB_MUSB_AM35X=m
CONFIG_USB_MUSB_DSPS=m
CONFIG_USB_MUSB_AM335X_CHILD=m
CONFIG_TI_CPPI41=y
CONFIG_USB_TI_CPPI41_DMA=y
CONFIG_AM335X_CONTROL_USB=y
CONFIG_AM335X_PHY_USB=y

#USB EHCI
CONFIG_USB=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_PCI=m
CONFIG_USB_EHCI_HCD_OMAP=m

#USB Networking
CONFIG_USB_USBNET=m
CONFIG_USB_NET_DRIVERS=m
CONFIG_USB_NET_SMSC95XX=m

#USB testing
CONFIG_USB_TEST=m

#USB Serial
CONFIG_USB_ACM=m
CONFIG_USB_SERIAL=m

# Extcon drivers
CONFIG_EXTCON=m
CONFIG_EXTCON_PALMAS=m
CONFIG_EXTCON_USB_GPIO=m

# PWM
CONFIG_PWM_TIECAP=y
CONFIG_PWM_TIEHRPWM=y
CONFIG_PWM_TIPWMSS=y

# 1-wire Bus Masters
CONFIG_W1=m
CONFIG_HDQ_MASTER_OMAP=m

# Matrix keypad
CONFIG_KEYBOARD_MATRIX=m

#Touchscreen/ADC
CONFIG_TOUCHSCREEN_TI_AM335X_TSC=m
CONFIG_TI_AM335X_ADC=m

#CAN
CONFIG_CAN=m
CONFIG_CAN_C_CAN=m
CONFIG_CAN_C_CAN_PLATFORM=m
CONFIG_CAN_M_CAN=m

# Rotary Encoder
CONFIG_INPUT_GPIO_DECODER=m

# Filesystem extra options
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_ACL=y
##################################################
# TI Audio/Display config options
##################################################

CONFIG_CMA_SIZE_MBYTES=24

# backlight

CONFIG_LEDS_CLASS=y
CONFIG_LEDS_TLC591XX=y

CONFIG_BACKLIGHT_PWM=y
CONFIG_BACKLIGHT_GPIO=y
CONFIG_BACKLIGHT_LED=y

# fbdev

CONFIG_FB_SSD1307=y

# drm

CONFIG_DRM=y

# SGX driver needs legacy support
CONFIG_DRM_LEGACY=y
CONFIG_DRM_VM=y

# Disable unneeded features

CONFIG_VGA_ARB=n
CONFIG_DRM_I2C_ADV7511=n
CONFIG_DRM_NOUVEAU=n
CONFIG_DRM_EXYNOS=n
CONFIG_DRM_PANEL_SIMPLE=n
CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=n
CONFIG_DRM_NXP_PTN3460=n
CONFIG_DRM_PARADE_PS8622=n
CONFIG_DRM_STI=n
CONFIG_LCD_CLASS_DEVICE=n

# tilcdc

CONFIG_DRM_I2C_NXP_TDA998X=y
CONFIG_DRM_TILCDC=y

# omapdrm

CONFIG_DRM_OMAP=y
CONFIG_DRM_OMAP_WB=y

CONFIG_OMAP2_DSS=y
CONFIG_OMAP2_DSS_DEBUGFS=y
CONFIG_OMAP2_DSS_DPI=y
CONFIG_OMAP2_DSS_VENC=n
CONFIG_OMAP4_DSS_HDMI=y
CONFIG_OMAP5_DSS_HDMI=y
CONFIG_OMAP2_DSS_SDI=n
CONFIG_OMAP2_DSS_DSI=n

CONFIG_TI_DSS6=y

CONFIG_DRM_OMAP_PANEL_DPI=y
CONFIG_DRM_OMAP_CONNECTOR_HDMI=y
CONFIG_DRM_OMAP_CONNECTOR_DVI=y
CONFIG_DRM_OMAP_DRA7EVM_ENCODER_TPD12S015=y
CONFIG_DRM_OMAP_ENCODER_TPD12S015=y
CONFIG_DRM_OMAP_ENCODER_SII9022=y
CONFIG_DRM_OMAP_ENCODER_TC358768=y
CONFIG_DRM_OMAP_ENCODER_TFP410=y

# sound

CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y
CONFIG_SND_OMAP_SOC=y
CONFIG_SND_EDMA_SOC=y
CONFIG_SND_DAVINCI_SOC_MCASP=y
CONFIG_SND_AM33XX_SOC_EVM=m
CONFIG_SND_SIMPLE_CARD=m
CONFIG_SND_SOC_TLV320AIC31XX=m
CONFIG_SND_SOC_TLV320AIC3X=m
CONFIG_SND_SOC_HDMI_CODEC=m
CONFIG_SND_OMAP_SOC_HDMI_AUDIO=m
# Disable what we don't want in our config
CONFIG_SND_ARM=n
CONFIG_SND_SPI=n
CONFIG_SND_PCI=n
CONFIG_SND_ATMEL_SOC=n
CONFIG_SND_SOC_FSL_SAI=n
CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=n
CONFIG_SND_SOC_AK4642=n
CONFIG_SND_SOC_SGTL5000=n
CONFIG_SND_SOC_STI_SAS=n
CONFIG_SND_SOC_WM8978=n

# v4l2

CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_VIDEO_V4L2_SUBDEV_API=y

CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_VIDEO_AM437X_VPFE=m
CONFIG_VIDEO_TI_CAL=m
CONFIG_VIDEO_TI_VIP=m

CONFIG_V4L_MEM2MEM_DRIVERS=y
CONFIG_VIDEO_TI_VPE=m

CONFIG_MEDIA_SUBDRV_AUTOSELECT=n
CONFIG_VIDEO_OV2659=m
CONFIG_VIDEO_OV1063X=m
CONFIG_VIDEO_MT9T11X=m
CONFIG_GPIO_PCA953X=m
CONFIG_VIDEO_OV490=m

CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

# Touchscreen

CONFIG_TOUCHSCREEN_EDT_FT5X06=m
CONFIG_TOUCHSCREEN_PIXCIR=m
CONFIG_TOUCHSCREEN_GOODIX=m

CONFIG_HID_MULTITOUCH=m
##################################################
# TI Base OMAP generation SoCs generic default
##################################################

CONFIG_KEYSTONE2_DMA_COHERENT=n
CONFIG_ARCH_OMAP=y

CONFIG_ARCH_OMAP2PLUS=y
CONFIG_OMAP_INTERCONNECT_BARRIER=y
CONFIG_ARM_PSCI=n

# Maximum Number of processors
CONFIG_NR_CPUS=2

# Kexec
CONFIG_KEXEC=y

# EDAC
CONFIG_EDAC=y
CONFIG_EDAC_TI=m
##################################################
# TI DRA7 specific config options
##################################################

# Supported ARM CPUs
CONFIG_ARCH_MULTI_V6=n
CONFIG_ARCH_MULTI_V7=y
CONFIG_ARCH_MULTI_V6_V7=n
CONFIG_CPU_V6=n

# Enable CONFIG_SMP
CONFIG_SMP=y

# Disable Socs other than DRA7
CONFIG_ARCH_OMAP2=n
CONFIG_ARCH_OMAP3=n
CONFIG_ARCH_OMAP4=n
CONFIG_SOC_OMAP5=n
CONFIG_SOC_AM33XX=n
CONFIG_SOC_AM43XX=n
CONFIG_SOC_DRA7XX=y

CONFIG_ARCH_KEYSTONE=n

CONFIG_ARM_LPAE=y

CONFIG_TI_PTP_BC=y
CONFIG_TI_1PPS_DM_TIMER=y
##################################################
# Real Time Linux Configs
##################################################

CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_BASE=y
CONFIG_PREEMPT_RT_FULL=y 

#Disable PM features
CONFIG_CPU_IDLE=n
CONFIG_CPU_FREQ=n
CONFIG_SUSPEND=n
CONFIG_HOTPLUG_CPU=y

# SCHED_DEBUG provides a lot of additional options for scheduler
# tuning in /proc/sys/kernel/ and allows to see scheduler statistic in
# /proc/sched_debug
# CONFIG_SCHED_DEBUG

# --- RCU optimization options to reduce OS jitter
# RCU_BOOST : This option boosts the priority of preempted RCU readers that
# block the current preemptible RCU grace period for too long.
# This option also prevents heavy loads from blocking RCU
# callback invocation for all flavors of RCU
# CONFIG_RCU_BOOST=n

# RCU_NOCB_CPU : Use this option to reduce OS jitter for aggressive HPC or
# real-time workloads.	It can also be used to offload RCU
# callback invocation to energy-efficient CPUs in battery-powered
# asymmetric multiprocessors.
# CONFIG_RCU_NOCB_CPU=y

# RCU_NOCB_CPU_ALL: his option forces all CPUs to be no-CBs CPUs.
# The rcu_nocbs= boot parameter will be ignored.  All CPUs' RCU callbacks will
# be executed in the context of per-CPU rcuo kthreads created for
# this purpose.
# CONFIG_RCU_NOCB_CPU_ALL=y
##############################################
#
# Kernel options needed for systemd enabled TI SDKs
# See https://cgit.freedesktop.org/systemd/systemd/tree/README#n38 for details
#
##############################################
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_CGROUPS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_BLK_CGROUP=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_PERF=y

CONFIG_INOTIFY_USER=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EPOLL=y
CONFIG_NET=y
CONFIG_SYSFS=y
CONFIG_PROC_FS=y
CONFIG_FHANDLE=y

# udev will fail to work with the legacy sysfs layout:
CONFIG_SYSFS_DEPRECATED=n

# Legacy hotplug slows down the system and confuses udev:
CONFIG_UEVENT_HELPER_PATH=""

# Userspace firmware loading is not supported and should
# be disabled in the kernel:
CONFIG_FW_LOADER_USER_HELPER=n

# Some udev rules and virtualization detection relies on it:
# Only for UEFI based systems
# http://cateee.net/lkddb/web-lkddb/DMI.html
CONFIG_DMIID=n

# Support for some SCSI devices serial number retrieval, to
# create additional symlinks in /dev/disk/ and /dev/tape:
CONFIG_BLK_DEV_BSG=y

# Required for PrivateNetwork and PrivateDevices in service units:
# Note that systemd-localed.service and other systemd units use
# PrivateNetwork and PrivateDevices so this is effectively required.
CONFIG_NAMESPACES=y
CONFIG_NET_NS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y

# Optional but strongly recommended options: those are nice to have and
# indeed recommended, but not necessarily systemd required. These to be
# enabled in corresponding domain fragments since they are not specific
# to supporting systemd.

CONFIG_SECCOMP=y
# for kcmp syscall
CONFIG_CHECKPOINT_RESTORE=y

# Required for CPUShares= in resource control unit settings
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y

# Required for CPUQuota= in resource control unit settings
CONFIG_CFS_BANDWIDTH=y

# For systemd-bootchart, several proc debug interfaces are required:
# Systemd-debug.cfg?
CONFIG_SCHEDSTATS=y
CONFIG_SCHED_DEBUG=y

# We recommend to turn off Real-Time group scheduling in the
# kernel when using systemd. RT group scheduling effectively
# makes RT scheduling unavailable for most userspace, since it
# requires explicit assignment of RT budgets to each unit whose
# processes making use of RT. As there's no sensible way to
# assign these budgets automatically this cannot really be
# fixed, and it's best to disable group scheduling hence.
CONFIG_RT_GROUP_SCHED=n

# Note that kernel auditing is broken when used with systemd's
# container code. When using systemd in conjunction with
# containers, please make sure to either turn off auditing at
# runtime using the kernel command line option "audit=0", or
# turn it off at kernel compile time using:
CONFIG_AUDIT=n

  • Hi Jose,

    It seems to me that you should use tisdk_am57xx-evm-rt_defconfig instead of ti_sdk_dra7x_rt_release_defconfig file.

    {PSDK}/board-support/linux-rt-x/arch/arm/configs/

    See also below user guide:

    software-dl.ti.com/.../Foundational_Components_Kernel_Users_Guide.html


    Regards,
    Pavel
  • Billa,

    I'm looking at your dts file:

    keypad@4ae1c000 {
    compatible = "ti,omap4-keypad";
    reg = <0x4ae1c000 0x80>;
    interrupts = <0x0 0x73 0x4>;
    keypad,num-rows = <0x3>;
    keypad,num-columns = <0x4>;
    linux,keymap = <0x41 0x10042 0x20043 0x30044 0x1000045 0x1010046 0x1020047 0x1030048 0x2000049 0x201004a 0x202004b 0x203004c>;
    status = "okay";
    phandle = <0x229>;
    };

    Comparing against some older devices (like OMAP4), I see that this info seems to not even be included in the dra7.dtsi file.  I suspect the issue relates to clock management.  Can you check the CM_WKUPAON_KBD_CLKCTRL at address 0x4AE0 7878 in the failed case?  You might need to use JTAG to see it.  I recommend using the DAP to check so that you don't have the MMU in the way.

    My theory on what's happening is that you're getting a fault due to the clock not being enabled, and I believe the clock isn't enabled due to the fact that the associated hwmod is not in the dts (nor in omap_hwmod_7xx_data.c).  If that's the case a quick band-aid fix might be to enable the clock in u-boot, though the proper fix would be to add the hwmod entries in the C code and dts.

    Best regards,
    Brad

  • Hi Brad:

    What I see in Linux is that "# devmem2 0x4ae07878" shows 0x00000002 that according to the reference manual it means that the "module is explicitly enabled".

    "# dmesg | grep keypad" shows:
    [ 1.926557] omap4-keypad 4ae1c00000000080.keypad: no base address specified
    [ 1.933577] omap4-keypad: probe of 4ae1c00000000080.keypad failed with error -22
    Billa
  • Hi Brad:

    I applied the patch proposed in post

    to set the CM_WKUPAON_KBD_CLKCTRL to 0x00000002.

    Billa

  • Jose,

    This issue might be caused by "#address-cells = <0x2>;" and "#size-cells = <0x2>;" entries in your DTS file.

    You can try to update the keypad@4ae1c000 node with: "#address-cells = <0x1>;" and "#size-cells = <0x1>;" or update your DTS globally at the very beginning:

    /dts-v1/;

    / {
    -#address-cells = <0x2>;
    -#size-cells = <0x2>;
    +#address-cells = <0x1>;
    +#size-cells = <0x1>;
    compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";

    You can check below pointer for details:

    https://elinux.org/Device_Tree_Usage


    Regards,
    Pavel

  • Jose Carlos Billalabeitia said:

    I applied the patch proposed in post

    Linux/AM5728: Keypad driver not working

    TI E2E Community
    Part Number: AM5728 Tool/software: Linux I am trying to use the AM5728 keypad device. I am using kernel 4.4.41. I have 4 rows and 4 columns muxed in the mux_data.h file of the boot loader: {VIN2A_D3, (M9 | PIN_OUTPUT)}, /* vin2a_d3.kbd_col0 */ ...

    to set the CM_WKUPAON_KBD_CLKCTRL to 0x00000002.

    This might work also, but Brad's advice was to enable the clock through updating omap_hwmod_7xx_data.c with kbd hwmod using KBD PRCM registers defined in prm7xx.h file. You can refer to omap_hwmod_54xx_data.c for reference.

    Regards,
    Pavel

  • Jose Carlos Billalabeitia said:
    [ 1.926557] omap4-keypad 4ae1c00000000080.keypad: no base address specified
    [ 1.933577] omap4-keypad: probe of 4ae1c00000000080.keypad failed with error -22

    Normally what I highlighted is the address of the peripheral in the memory map.  Looks like it's using a 64-bit address.  I think Pavel is on the right track with his suggestion.  I suspect that once that address shows up as 4ae1c000 then it will start working.

  • Hi:

    1.- I tried adding kbd entry in omap_hwmod_7xx_data.c and modifying omap4-keypad.c file. (see attached files with the modifications) but still fails.

    2.- I also tried with updating 6254.bridge_linux.dts.txt

    1682.dra71-evm.dts.txt
    /*
     * Copyright (C) 2016 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.
     */
    
    #include "dra72-evm-common.dtsi"
    #include "dra72x-mmc-iodelay.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    
    / {
    	compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
    	model = "TI DRA718 EVM";
    
    	memory {
    		device_type = "memory";
    		reg = <0x0 0x80000000 0x0 0x20000000>; /* 512MB */
    	};
    
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ipu2_memory_region: ipu2-memory@95800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x95800000 0x0 0x3800000>;
    			reusable;
    			status = "okay";
    		};
    
    		dsp1_memory_region: dsp1-memory@99000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x99000000 0x0 0x4000000>;
    			reusable;
    			status = "okay";
    		};
    
    		ipu1_memory_region: ipu1-memory@9d000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x9d000000 0x0 0x2000000>;
    			reusable;
    			status = "okay";
    		};
    	};
    
    	vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
    		compatible = "regulator-gpio";
    		regulator-name = "vddshv8";
    		regulator-okmin-microvolt = <1800000>;
    		regulator-max-microvolt = <3000000>;
    		regulator-boot-on;
    		vin-supply = <&evm_5v0>;
    		gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0
    			  3000000 0x1>;
    	};
    
    	evm_1v8_sw: fixedregulator-evm_1v8 {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_1v8";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		vin-supply = <&lp8732_buck0_reg>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	poweroff: gpio-poweroff {
    		compatible = "gpio-poweroff";
    		gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>;
    		input;
    	};
    };
    
    &i2c1 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	lp8733: lp8733@60 {
    		compatible = "ti,lp8733";
    		reg = <0x60>;
    		buck0-in-supply =<&vsys_3v3>;
    		buck1-in-supply =<&vsys_3v3>;
    		ldo0-in-supply =<&evm_5v0>;
    		ldo1-in-supply =<&evm_5v0>;
    
    		lp8733_regulators: regulators {
    			lp8733_buck0_reg: buck0 {
    				/* FB_B0 -> LP8733-BUCK1 - VPO_S1_AVS - VDD_CORE_AVS (core, mpu, gpu) */
    				regulator-name = "lp8733-buck0";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <1250000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    
    			lp8733_buck1_reg: buck1 {
    				/* FB_B1 -> LP8733-BUCK2 - VPO_S2_AVS - VDD_DSP_AVS (DSP/eve/iva) */
    				regulator-name = "lp8733-buck1";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <1250000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8733_ldo0_reg: ldo0 {
    				/* LDO0 -> LP8733-LDO1 - VPO_L1_3V3 - VDDSHV8 (optional) */
    				regulator-name = "lp8733-ldo0";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    			};
    
    			lp8733_ldo1_reg: ldo1 {
    				/* LDO1 -> LP8733-LDO2 - VPO_L2_3V3 - VDDA_USB3V3 */
    				regulator-name = "lp8733-ldo1";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    		};
    	};
    
    	lp8732: lp8732@61 {
    		compatible = "ti,lp8732";
    		reg = <0x61>;
    
    		buck0-in-supply =<&vsys_3v3>;
    		buck1-in-supply =<&vsys_3v3>;
    		ldo0-in-supply =<&vsys_3v3>;
    		ldo1-in-supply =<&vsys_3v3>;
    
    		lp8732_regulators: regulators {
    			lp8732_buck0_reg: buck0 {
    				/* FB_B0 -> LP8732-BUCK1 - VPO_S3_1V8 - VDDS_1V8 */
    				regulator-name = "lp8732-buck0";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    
    			lp8732_buck1_reg: buck1 {
    				/* FB_B1 -> LP8732-BUCK2 - VPO_S4_DDR - VDD_DDR_1V35 */
    				regulator-name = "lp8732-buck1";
    				regulator-min-microvolt = <1350000>;
    				regulator-max-microvolt = <1350000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8732_ldo0_reg: ldo0 {
    				/* LDO0 -> LP8732-LDO1 - VPO_L3_1V8 - VDA_1V8_PLL */
    				regulator-name = "lp8732-ldo0";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8732_ldo1_reg: ldo1 {
    				/* LDO1 -> LP8732-LDO2 - VPO_L4_1V8 - VDA_1V8_PHY */
    				regulator-name = "lp8732-ldo1";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    		};
    	};
    };
    
    &csi2_cam0 {
    	status = "disabled";
    	clock-lanes = <0>;
    	data-lanes = <1 2>;
    	remote-endpoint = <&csi2_phy0>;
    };
    
    &pcf_lcd {
    	interrupt-parent = <&gpio7>;
    	interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
    };
    
    &pcf_gpio_21 {
    	interrupt-parent = <&gpio7>;
    	interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
    };
    
    &pcf_hdmi {
    	p0 {
    		/*
    		 * PM_OEn to High: Disable routing I2C3 to PM_I2C
    		 * With this PM_SEL(p3) should not matter
    		 */
    		gpio-hog;
    		gpios = <0 GPIO_ACTIVE_LOW>;
    		output-high;
    		line-name = "pm_oe_n";
    	};
    };
    
    &mmc1 {
    	status = "disabled";
    	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
    	pinctrl-0 = <&mmc1_pins_default>;
    	pinctrl-1 = <&mmc1_pins_hs>;
    	pinctrl-2 = <&mmc1_pins_sdr12>;
    	pinctrl-3 = <&mmc1_pins_sdr25>;
    	pinctrl-4 = <&mmc1_pins_sdr50>;
    	pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
    	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
    	vqmmc-supply = <&vpo_sd_1v8_3v3>;
    };
    
    &mmc2 {
    	status = "okay";
    	pinctrl-names = "default", "hs", "ddr_1_8v";
    	pinctrl-0 = <&mmc2_pins_default>;
    	pinctrl-1 = <&mmc2_pins_hs>;
    	pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
    	vmmc-supply = <&evm_3v3_sw>;
    	vqmmc-supply = <&evm_3v3_sw>;
    };
    
    &davinci_mdio {
    	reset-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>;
    	reset-delay-us = <2>;
    
    	phy0:ethernet-phy@0 {
    		reg = <0>;
    	};
    };
    
    &mac {
    	slaves = <1>;
    	status = "okay";
    	sram = <&ocmcram1>;
    };
    
    &cpsw_emac0 {
    
    	phy-handle = <&phy0>;
    	phy-mode = "mii";
    	status = "okay";
    };
    
    &cpsw_emac1 {
    	status = "disabled";
    };
    
    
    /* No Sata on this device */
    &sata_phy {
    	status = "disabled";
    };
    
    &sata {
    	status = "disabled";
    };
    
    /* No RTC on this device */
    &rtc {
    	status = "disabled";
    };
    
    &usb2_phy1 {
    	phy-supply = <&lp8733_ldo1_reg>;
    };
    
    &usb2_phy2 {
    	phy-supply = <&lp8733_ldo1_reg>;
    };
    
    &dss {
    	status = "disabled";
    	/* Supplied by VDA_1V8_PLL */
    	vdda_video-supply = <&lp8732_ldo0_reg>;
    };
    
    &hdmi {
    	/* Supplied by VDA_1V8_PHY */
    	vdda_video-supply = <&lp8732_ldo1_reg>;
    };
    
    &ipu2 {
    	status = "okay";
    	memory-region = <&ipu2_memory_region>;
    };
    
    &ipu1 {
    	status = "okay";
    	memory-region = <&ipu1_memory_region>;
    };
    
    &dsp1 {
    	status = "okay";
    	memory-region = <&dsp1_memory_region>;
    };
    
    &uart1 {
    	status = "okay";
    };
    
    &uart3 {
    	status = "okay";
    };
    
    &uart6 {
    	status = "okay";
    };
    
    &i2c5 {
    	status = "disabled";
    };
    
    &elm {
    	status = "disabled";
    };
    
    &usb1 {
    	status = "disabled";
    };
    
    &usb2 {
    	status = "okay";
    };
    
    &dcan1 {
    	status = "disabled";
    };
    
    &dcan2 {
    	status = "okay";
    };
    
    &atl {
    	status = "disabled";
    };
    
    &pcie1_rc {	
    	status = "disabled";
    };
    
    &mcasp3 {
    	status = "disabled";
    };
    
    &keypad {
    	status = "okay";
    };
    
    #include "bridge-cmem.dtsi"
    
    
    
    
    0677.dra72-evm-common.dtsi.txt
    /*
     * Copyright (C) 2014-2016 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 "dra72x.dtsi"
    #include "dra7-ipu-dsp-common.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/clk/ti-dra7-atl.h>
    
    / {
    	compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7";
    
    	aliases {
    		display0 = &hdmi0;
    	};
    
    	chosen {
    		stdout-path = &uart3;
    	};
    
    	evm_12v0: fixedregulator-evm12v0 {
    		/* main supply */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_12v0";
    		regulator-min-microvolt = <12000000>;
    		regulator-max-microvolt = <12000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_5v0: fixedregulator-evm5v0 {
    		/* Output 1 of TPS43351QDAPRQ1 on dra72-evm */
    		/* Output 1 of LM5140QRWGTQ1 on dra71-evm */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_5v0";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_3v6: fixedregulator-evm_3v6 {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v6";
    		regulator-min-microvolt = <3600000>;
    		regulator-max-microvolt = <3600000>;
    		vin-supply = <&evm_5v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vsys_3v3: fixedregulator-vsys3v3 {
    		/* Output 2 of TPS43351QDAPRQ1 on dra72-evm */
    		/* Output 2 of LM5140QRWGTQ1 on dra71-evm */
    		compatible = "regulator-fixed";
    		regulator-name = "vsys_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_3v3_sw: fixedregulator-evm_3v3 {
    		/* TPS22965DSG */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vsys_3v3>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	aic_dvdd: fixedregulator-aic_dvdd {
    		/* TPS77018DBVT */
    		compatible = "regulator-fixed";
    		regulator-name = "aic_dvdd";
    		vin-supply = <&evm_3v3_sw>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	evm_3v3_sd: fixedregulator-sd {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v3_sd";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_3v3_sw>;
    		enable-active-high;
    		gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
    	};
    
    	extcon_usb1: extcon_usb1 {
    		compatible = "linux,extcon-usb-gpio";
    		id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
    		status = "disabled";
    	};
    
    	extcon_usb2: extcon_usb2 {
    		compatible = "linux,extcon-usb-gpio";
    		vbus-gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
    	};
    
    	hdmi0: connector {
    		compatible = "hdmi-connector";
    		label = "hdmi";
    
    		type = "a";
    
    		port {
    			hdmi_connector_in: endpoint {
    				remote-endpoint = <&tpd12s015_out>;
    			};
    		};
    	};
    
    	tpd12s015: encoder {
    		compatible = "ti,tpd12s015";
    
    		gpios = <&pcf_hdmi 4 GPIO_ACTIVE_HIGH>,	/* P4, CT CP HPD */
    			<&pcf_hdmi 5 GPIO_ACTIVE_HIGH>,	/* P5, LS OE */
    			<&gpio7 12 GPIO_ACTIVE_HIGH>;	/* gpio7_12/sp1_cs2, HPD */
    
    		ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			port@0 {
    				reg = <0>;
    
    				tpd12s015_in: endpoint {
    					remote-endpoint = <&hdmi_out>;
    				};
    			};
    
    			port@1 {
    				reg = <1>;
    
    				tpd12s015_out: endpoint {
    					remote-endpoint = <&hdmi_connector_in>;
    				};
    			};
    		};
    	};
    
    	sound0: sound0 {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "DRA7xx-EVM";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack",
    			"Line", "Line Out",
    			"Microphone", "Mic Jack",
    			"Line", "Line In";
    		simple-audio-card,routing =
    			"Headphone Jack",       "HPLOUT",
    			"Headphone Jack",       "HPROUT",
    			"Line Out",		"LLOUT",
    			"Line Out",		"RLOUT",
    			"MIC3L",		"Mic Jack",
    			"MIC3R",		"Mic Jack",
    			"Mic Jack",		"Mic Bias",
    			"LINE1L",               "Line In",
    			"LINE1R",               "Line In";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound0_master>;
    		simple-audio-card,frame-master = <&sound0_master>;
    		simple-audio-card,bitclock-inversion;
    
    		sound0_master: simple-audio-card,cpu {
    			sound-dai = <&mcasp3>;
    			system-clock-frequency = <5644800>;
    		};
    
    		simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			clocks = <&atl_clkin2_ck>;
    		};
    	};
    
    	clk_ov10633_fixed: clk_ov10633_fixed {
    		#clock-cells = <0>;
    		compatible = "fixed-clock";
    		clock-frequency = <24000000>;
    	};
    
    	vmmcwl_fixed: fixedregulator-mmcwl {
    		compatible = "regulator-fixed";
    		regulator-name = "vmmcwl_fixed";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
    		enable-active-high;
    	};
    
    	keypad: keypad@4ae1c000 {
    		compatible = "ti,omap4-keypad";
    		#address-cells = <0x1>;
    		#size-cells = <0x1>;	
    		reg = <0x4ae1c000 0x80>;
    		interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
    		keypad,num-rows = <3>;
    		keypad,num-columns = <4>;
    		linux,keymap = <0x00000041 0x00010042 0x00020043 0x00030044
    						0x01000045 0x01010046 0x01020047 0x01030048
    						0x02000049 0x0201004a 0x0202004b 0x0203004c>; 
    	};
    };
    
    &dra7_pmx_core {
    	dcan1_pins_default: dcan1_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
    			DRA7XX_CORE_IOPAD(0x37d4, PULL_UP | MUX_MODE0)	/* dcan1_rx */
    		>;
    	};
    
    	dcan1_pins_sleep: dcan1_pins_sleep {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP)	/* dcan1_tx.off */
    			DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP)	/* dcan1_rx.off */
    		>;
    	};
    
    	dcan2_pins_default: dcan2_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3688, PIN_OUTPUT_PULLUP | MUX_MODE2) /* gpio6_14.dcan2_tx */
    			DRA7XX_CORE_IOPAD(0x368c, PULL_UP | MUX_MODE2)	/* gpio6_15.dcan2_rx */
    		>;
    	};
    
    	dcan2_pins_sleep: dcan2_pins_sleep {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3688, MUX_MODE15 | PULL_UP)	/* dcan2_tx.off */
    			DRA7XX_CORE_IOPAD(0x368c, MUX_MODE15 | PULL_UP)	/* dcan2_x.off */
    		>;
    	};
    };
    
    &i2c1 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	pcf_lcd: gpio@20 {
    		compatible = "nxp,pcf8575";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    
    	pcf_gpio_21: gpio@21 {
    		compatible = "ti,pcf8575", "nxp,pcf8575";
    		reg = <0x21>;
    		lines-initial-states = <0x1408>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    
    	tlv320aic3106: tlv320aic3106@19 {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x19>;
    		adc-settle-ms = <40>;
    		ai3x-micbias-vg = <1>;		/* 2.0V */
    		status = "disabled";
    
    		/* Regulators */
    		AVDD-supply = <&evm_3v3_sw>;
    		IOVDD-supply = <&evm_3v3_sw>;
    		DRVDD-supply = <&evm_3v3_sw>;
    		DVDD-supply = <&aic_dvdd>;
    	};
    };
    
    &i2c5 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	pcf_hdmi: pcf8575@26 {
    		compatible = "ti,pcf8575", "nxp,pcf8575";
    		reg = <0x26>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		/*
    		 * initial state is used here to keep the mdio interface
    		 * selected on RU89 through SEL_VIN4_MUX_S0, VIN2_S1 and
    		 * VIN2_S0 driven high otherwise Ethernet stops working
    		 * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6
    		 */
    		lines-initial-states = <0x0f2b>;
    
    		p1 {
    			/* vin6_sel_s0: high: VIN6, low: audio */
    			gpio-hog;
    			gpios = <1 GPIO_ACTIVE_HIGH>;
    			output-low;
    			line-name = "vin6_sel_s0";
    		};
    	};
    
    	ov10633@37 {
    		compatible = "ovti,ov10633";
    		reg = <0x37>;
    
    		clocks = <&clk_ov10633_fixed>;
    		clock-names = "xvclk";
    
    		mux-gpios = <&pcf_hdmi 2	GPIO_ACTIVE_HIGH>, /* VIN2_S0 */
    			    <&pcf_hdmi 6	GPIO_ACTIVE_LOW>; /* VIN2_S2 */
    		port {
    			onboardLI: endpoint {
    				remote-endpoint = <&vin2a>;
    				hsync-active = <1>;
    				vsync-active = <1>;
    				pclk-sample = <0>;
    			};
    		};
    	};
    
    	gpio_csi2_adap: tca6416@20 {
    		status = "disabled";
    		compatible = "ti,tca6416";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    
    	ov490@24 {
    		compatible = "ovti,ov490";
    		reg = <0x24>;
    
    		mux-gpios = <&gpio_csi2_adap 0	GPIO_ACTIVE_LOW>,
    						/* CSI2_SEL_I2C_CLK */
    			    <&gpio_csi2_adap 1	GPIO_ACTIVE_HIGH>,
    						/* CSI2_SEL_REF_CLK */
    			    <&gpio_csi2_adap 3	GPIO_ACTIVE_HIGH>,
    						/* CSI2_CAM0_RESETn */
    			    <&gpio_csi2_adap 4	GPIO_ACTIVE_LOW>;
    						/* CSI2_CAM0_PWR_DWN */
    		port {
    			csi2_cam0: endpoint@0 {
    				clock-lanes = <0>;
    				data-lanes = <1 2 3 4>;
    				remote-endpoint = <&csi2_phy0>;
    			};
    		};
    	};
    };
    
    
    &uart1 {
    	rs485-rts-delay = <0 0>;	// RTS signal delay in msec before & after sending
    	linux,rs485-enabled-at-boot-time;
    	rs485-rts-active-low;
    };
    
    &uart6 {
    	rs485-rts-delay = <0 0>;	// RTS signal delay in msec before & after sending
    	linux,rs485-enabled-at-boot-time;
    	rs485-rts-active-low;
    };
    
    &elm {
    	status = "disabled";
    };
    
    &gpmc {
    	/*
    	 * For the existing IOdelay configuration via U-Boot we don't
    	 * support NAND on dra72-evm. Keep it disabled. Enabling it
    	 * requires a different configuration by U-Boot.
    	 */
    	status = "disabled";
    	ranges = <0 0 0x08000000 0x01000000>;	/* minimum GPMC partition = 16MB */
    	nand@0,0 {
    		/* To use NAND, DIP switch SW5 must be set like so:
    		 * SW5.1 (NAND_SELn) = ON (LOW)
    		 * SW5.9 (GPMC_WPN) = OFF (HIGH)
    		 */
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>;		/* device IO registers */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
    		ti,nand-xfer-type = "prefetch-dma";
    		ti,nand-ecc-opt = "bch8";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <16>;
    		gpmc,device-width = <2>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <80>;
    		gpmc,cs-wr-off-ns = <80>;
    		gpmc,adv-on-ns = <0>;
    		gpmc,adv-rd-off-ns = <60>;
    		gpmc,adv-wr-off-ns = <60>;
    		gpmc,we-on-ns = <10>;
    		gpmc,we-off-ns = <50>;
    		gpmc,oe-on-ns = <4>;
    		gpmc,oe-off-ns = <40>;
    		gpmc,access-ns = <40>;
    		gpmc,wr-access-ns = <80>;
    		gpmc,rd-cycle-ns = <80>;
    		gpmc,wr-cycle-ns = <80>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000c0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001c0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001e0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00a00000 0x0f600000>;
    		};
    	};
    };
    
    &omap_dwc3_1 {
    	extcon = <&extcon_usb1>;
    };
    
    &omap_dwc3_2 {
    	extcon = <&extcon_usb2>;
    };
    
    &usb1 {
    	dr_mode = "otg";
    	extcon = <&extcon_usb1>;
    };
    
    &usb2 {
    	dr_mode = "peripheral";
    	extcon = <&extcon_usb2>;
    };
    
    &mmc1 {
    	status = "disabled";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins_default>;
    	vmmc-supply = <&evm_3v3_sd>;
    	bus-width = <4>;
    	/*
    	 * SDCD signal is not being used here - using the fact that GPIO mode
    	 * is a viable alternative
    	 */
    	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
    	max-frequency = <192000000>;
    };
    
    &mmc2 {	
    	status = "okay";
    	bus-width = <8>;
    	ti,non-removable;
    	max-frequency = <96000000>;
    	no-1-8-v;
    	/delete-property/ mmc-hs200-1_8v;
    };
    
    &mac {
    	status = "okay";
    };
    
    &dcan1 {
    	status = "disabled";
    	pinctrl-names = "default", "sleep", "active";
    	pinctrl-0 = <&dcan1_pins_sleep>;
    	pinctrl-1 = <&dcan1_pins_sleep>;
    	pinctrl-2 = <&dcan1_pins_default>;
    };
    
    &dcan2 {
    	pinctrl-names = "default", "sleep", "active";
    	pinctrl-0 = <&dcan2_pins_sleep>;
    	pinctrl-1 = <&dcan2_pins_sleep>;
    	pinctrl-2 = <&dcan2_pins_default>;
    };
    
    &qspi {
    	status = "okay";
    
    	spi-max-frequency = <15000000>;
    	m25p80@0 {
    		compatible = "s25fl256s1";
    		spi-max-frequency = <15000000>;
    		reg = <0>;
    		spi-tx-bus-width = <1>;
    		spi-rx-bus-width = <4>;
    		#address-cells = <1>;
    		#size-cells = <1>;
    
    		/* MTD partition table.
    		 * The ROM checks the first four physical blocks
    		 * for a valid file to boot and the flash here is
    		 * 64KiB block size.
    		 */
    		partition@0 {
    			label = "QSPI.SPL";
    			reg = <0x00000000 0x000010000>;
    		};
    		partition@1 {
    			label = "QSPI.SPL.backup1";
    			reg = <0x00010000 0x00010000>;
    		};
    		partition@2 {
    			label = "QSPI.SPL.backup2";
    			reg = <0x00020000 0x00010000>;
    		};
    		partition@3 {
    			label = "QSPI.SPL.backup3";
    			reg = <0x00030000 0x00010000>;
    		};
    		partition@4 {
    			label = "QSPI.u-boot";
    			reg = <0x00040000 0x00100000>;
    		};
    		partition@5 {
    			label = "QSPI.u-boot-spl-os";
    			reg = <0x00140000 0x00080000>;
    		};
    		partition@6 {
    			label = "QSPI.u-boot-env";
    			reg = <0x001c0000 0x00010000>;
    		};
    		partition@7 {
    			label = "QSPI.u-boot-env.backup1";
    			reg = <0x001d0000 0x0010000>;
    		};
    		partition@8 {
    			label = "QSPI.kernel";
    			reg = <0x001e0000 0x0800000>;
    		};
    		partition@9 {
    			label = "QSPI.file-system";
    			reg = <0x009e0000 0x01620000>;
    		};
    	};
    };
    
    &gpu {
    	status = "disabled";
    };
    
    &dss {
    	status = "disabled";
    };
    
    &bb2d {
    	status = "disabled";
    };
    
    &hdmi {
    	status = "disabled";
    
    	port {
    		hdmi_out: endpoint {
    			remote-endpoint = <&tpd12s015_in>;
    		};
    	};
    };
    
    &vip1 {
    	status = "disabled";
    };
    
    &vin2a {
    	status = "disabled";
    	endpoint@0 {
    		slave-mode;
    		remote-endpoint = <&onboardLI>;
    	};
    };
    
    &cal {
    	status = "disabled";
    };
    
    &csi2_0 {
    	csi2_phy0: endpoint@0 {
    		slave-mode;
    		remote-endpoint = <&csi2_cam0>;
    	};
    };
    
    &atl {
    	assigned-clocks = <&abe_dpll_sys_clk_mux>,
    			  <&atl_gfclk_mux>,
    			  <&dpll_abe_ck>,
    			  <&dpll_abe_m2x2_ck>,
    			  <&atl_clkin2_ck>;
    	assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
    	assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
    
    	status = "disabled";
    
    	atl2 {
    		bws = <DRA7_ATL_WS_MCASP2_FSX>;
    		aws = <DRA7_ATL_WS_MCASP3_FSX>;
    	};
    };
    
    &mcasp3 {
    	#sound-dai-cells = <0>;
    
    	assigned-clocks = <&mcasp3_ahclkx_mux>;
    	assigned-clock-parents = <&atl_clkin2_ck>;
    
    	status = "disabled";
    
    	op-mode = <0>;          /* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    	/* 4 serializer */
    	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    		1 2 0 0
    	>;
    	tx-num-evt = <32>;
    	rx-num-evt = <32>;
    };
    
    &pcie1_rc {
    	status = "disabled";
    };
    
    
    
    
    omap_hwmod_7xx_data.c.txt
    omap4-keypad.c.txt
    /*
     * OMAP4 Keypad Driver
     *
     * Copyright (C) 2010 Texas Instruments
     *
     * Author: Abraham Arce <x0066660@ti.com>
     * Initial Code: Syed Rafiuddin <rafiuddin.syed@ti.com>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     */
    
    #include <linux/module.h>
    #include <linux/interrupt.h>
    #include <linux/platform_device.h>
    #include <linux/errno.h>
    #include <linux/io.h>
    #include <linux/of.h>
    #include <linux/input.h>
    #include <linux/input/matrix_keypad.h>
    #include <linux/slab.h>
    #include <linux/pm_runtime.h>
    
    // Fluke customization.
    #define CM_WKUPAON_KBD_CLKCTRL 0x4ae07878
    
    /* OMAP4 registers */
    #define OMAP4_KBD_REVISION		0x00
    #define OMAP4_KBD_SYSCONFIG		0x10
    #define OMAP4_KBD_SYSSTATUS		0x14
    #define OMAP4_KBD_IRQSTATUS		0x18
    #define OMAP4_KBD_IRQENABLE		0x1C
    #define OMAP4_KBD_WAKEUPENABLE		0x20
    #define OMAP4_KBD_PENDING		0x24
    #define OMAP4_KBD_CTRL			0x28
    #define OMAP4_KBD_DEBOUNCINGTIME	0x2C
    #define OMAP4_KBD_LONGKEYTIME		0x30
    #define OMAP4_KBD_TIMEOUT		0x34
    #define OMAP4_KBD_STATEMACHINE		0x38
    #define OMAP4_KBD_ROWINPUTS		0x3C
    #define OMAP4_KBD_COLUMNOUTPUTS		0x40
    #define OMAP4_KBD_FULLCODE31_0		0x44
    #define OMAP4_KBD_FULLCODE63_32		0x48
    
    /* OMAP4 bit definitions */
    #define OMAP4_DEF_IRQENABLE_EVENTEN	BIT(0)
    #define OMAP4_DEF_IRQENABLE_LONGKEY	BIT(1)
    #define OMAP4_DEF_WUP_EVENT_ENA		BIT(0)
    #define OMAP4_DEF_WUP_LONG_KEY_ENA	BIT(1)
    #define OMAP4_DEF_CTRL_NOSOFTMODE	BIT(1)
    #define OMAP4_DEF_CTRL_PTV_SHIFT	2
    
    /* OMAP4 values */
    #define OMAP4_VAL_IRQDISABLE		0x0
    #define OMAP4_VAL_DEBOUNCINGTIME	0x7
    #define OMAP4_VAL_PVT			0x7
    
    enum {
    	KBD_REVISION_OMAP4 = 0,
    	KBD_REVISION_OMAP5,
    };
    
    // Fluke customization. Base address of keypad clock enable register.
    static void __iomem *kbd_clock_register;
    
    struct omap4_keypad {
    	struct input_dev *input;
    
    	void __iomem *base;
    	bool irq_wake_enabled;
    	unsigned int irq;
    
    	unsigned int rows;
    	unsigned int cols;
    	u32 reg_offset;
    	u32 irqreg_offset;
    	unsigned int row_shift;
    	bool no_autorepeat;
    	unsigned char key_state[8];
    	unsigned short *keymap;
    };
    
    static int kbd_readl(struct omap4_keypad *keypad_data, u32 offset)
    {
    	return __raw_readl(keypad_data->base +
    				keypad_data->reg_offset + offset);
    }
    
    static void kbd_writel(struct omap4_keypad *keypad_data, u32 offset, u32 value)
    {
    	__raw_writel(value,
    		     keypad_data->base + keypad_data->reg_offset + offset);
    }
    
    static int kbd_read_irqreg(struct omap4_keypad *keypad_data, u32 offset)
    {
    	return __raw_readl(keypad_data->base +
    				keypad_data->irqreg_offset + offset);
    }
    
    static void kbd_write_irqreg(struct omap4_keypad *keypad_data,
    			     u32 offset, u32 value)
    {
    	__raw_writel(value,
    		     keypad_data->base + keypad_data->irqreg_offset + offset);
    }
    
    
    /* Interrupt handlers */
    static irqreturn_t omap4_keypad_irq_handler(int irq, void *dev_id)
    {
    	struct omap4_keypad *keypad_data = dev_id;
    
    	if (kbd_read_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS)) {
    		/* Disable interrupts */
    		kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQENABLE,
    				 OMAP4_VAL_IRQDISABLE);
    		return IRQ_WAKE_THREAD;
    	}
    
    	return IRQ_NONE;
    }
    
    static irqreturn_t omap4_keypad_irq_thread_fn(int irq, void *dev_id)
    {
    	struct omap4_keypad *keypad_data = dev_id;
    	struct input_dev *input_dev = keypad_data->input;
    	unsigned char key_state[ARRAY_SIZE(keypad_data->key_state)];
    	unsigned int col, row, code, changed;
    	u32 *new_state = (u32 *) key_state;
    
    	*new_state = kbd_readl(keypad_data, OMAP4_KBD_FULLCODE31_0);
    	*(new_state + 1) = kbd_readl(keypad_data, OMAP4_KBD_FULLCODE63_32);
    
    	for (row = 0; row < keypad_data->rows; row++) {
    		changed = key_state[row] ^ keypad_data->key_state[row];
    		if (!changed)
    			continue;
    
    		for (col = 0; col < keypad_data->cols; col++) {
    			if (changed & (1 << col)) {
    				code = MATRIX_SCAN_CODE(row, col,
    						keypad_data->row_shift);
    				input_event(input_dev, EV_MSC, MSC_SCAN, code);
    				input_report_key(input_dev,
    						 keypad_data->keymap[code],
    						 key_state[row] & (1 << col));
    			}
    		}
    	}
    
    	input_sync(input_dev);
    
    	memcpy(keypad_data->key_state, key_state,
    		sizeof(keypad_data->key_state));
    
    	/* clear pending interrupts */
    	kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS,
    			 kbd_read_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS));
    
    	/* enable interrupts */
    	kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQENABLE,
    		OMAP4_DEF_IRQENABLE_EVENTEN |
    				OMAP4_DEF_IRQENABLE_LONGKEY);
    
    	return IRQ_HANDLED;
    }
    
    static int omap4_keypad_open(struct input_dev *input)
    {
    	struct omap4_keypad *keypad_data = input_get_drvdata(input);
    
    	pm_runtime_get_sync(input->dev.parent);
    
    	disable_irq(keypad_data->irq);
    
    	kbd_writel(keypad_data, OMAP4_KBD_CTRL,
    			OMAP4_DEF_CTRL_NOSOFTMODE |
    			(OMAP4_VAL_PVT << OMAP4_DEF_CTRL_PTV_SHIFT));
    	kbd_writel(keypad_data, OMAP4_KBD_DEBOUNCINGTIME,
    			OMAP4_VAL_DEBOUNCINGTIME);
    	/* clear pending interrupts */
    	kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS,
    			 kbd_read_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS));
    	kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQENABLE,
    			OMAP4_DEF_IRQENABLE_EVENTEN |
    				OMAP4_DEF_IRQENABLE_LONGKEY);
    	kbd_writel(keypad_data, OMAP4_KBD_WAKEUPENABLE,
    			OMAP4_DEF_WUP_EVENT_ENA | OMAP4_DEF_WUP_LONG_KEY_ENA);
    
    	enable_irq(keypad_data->irq);
    
    	return 0;
    }
    
    static void omap4_keypad_close(struct input_dev *input)
    {
    	struct omap4_keypad *keypad_data = input_get_drvdata(input);
    
    	disable_irq(keypad_data->irq);
    
    	/* Disable interrupts */
    	kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQENABLE,
    			 OMAP4_VAL_IRQDISABLE);
    
    	/* clear pending interrupts */
    	kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS,
    			 kbd_read_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS));
    
    	enable_irq(keypad_data->irq);
    
    	pm_runtime_put_sync(input->dev.parent);
    }
    
    static int omap4_keypad_parse_dt(struct device *dev,
    				 struct omap4_keypad *keypad_data)
    {
    	struct device_node *np = dev->of_node;
    	int err;
    
    	err = matrix_keypad_parse_properties(dev, &keypad_data->rows,
    					     &keypad_data->cols);
    	if (err)
    		return err;
    
    	if (of_get_property(np, "linux,input-no-autorepeat", NULL))
    		keypad_data->no_autorepeat = true;
    
    	return 0;
    }
    
    static int omap4_keypad_probe(struct platform_device *pdev)
    {
    	struct omap4_keypad *keypad_data;
    	struct input_dev *input_dev;
    	struct resource *res;
    	unsigned int max_keys;
    	int rev;
    	int irq;
    	int error;
    
    	// Fluke customization - turn on clock to keyboard controller.
    	// Map the control register.
    	kbd_clock_register = ioremap(CM_WKUPAON_KBD_CLKCTRL,4);
    	writel(0x2, kbd_clock_register);
    	iounmap(kbd_clock_register);
    
    	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
    	if (!res) {
    		dev_err(&pdev->dev, "no base address specified\n");
    		return -EINVAL;
    	}
    
    	irq = platform_get_irq(pdev, 0);
    	if (!irq) {
    		dev_err(&pdev->dev, "no keyboard irq assigned\n");
    		return -EINVAL;
    	}
    
    	keypad_data = kzalloc(sizeof(struct omap4_keypad), GFP_KERNEL);
    	if (!keypad_data) {
    		dev_err(&pdev->dev, "keypad_data memory allocation failed\n");
    		return -ENOMEM;
    	}
    
    	keypad_data->irq = irq;
    
    	error = omap4_keypad_parse_dt(&pdev->dev, keypad_data);
    	if (error)
    		goto err_free_keypad;
    
    	res = request_mem_region(res->start, resource_size(res), pdev->name);
    	if (!res) {
    		dev_err(&pdev->dev, "can't request mem region\n");
    		error = -EBUSY;
    		goto err_free_keypad;
    	}
    
    	keypad_data->base = ioremap(res->start, resource_size(res));
    	if (!keypad_data->base) {
    		dev_err(&pdev->dev, "can't ioremap mem resource\n");
    		error = -ENOMEM;
    		goto err_release_mem;
    	}
    
    
    	/*
    	 * Enable clocks for the keypad module so that we can read
    	 * revision register.
    	 */
    	pm_runtime_enable(&pdev->dev);
    	error = pm_runtime_get_sync(&pdev->dev);
    	if (error) {
    		dev_err(&pdev->dev, "pm_runtime_get_sync() failed\n");
    		goto err_unmap;
    	}
    	rev = __raw_readl(keypad_data->base + OMAP4_KBD_REVISION);
    	rev &= 0x03 << 30;
    	rev >>= 30;
    	switch (rev) {
    	case KBD_REVISION_OMAP4:
    		keypad_data->reg_offset = 0x00;
    		keypad_data->irqreg_offset = 0x00;
    		break;
    	case KBD_REVISION_OMAP5:
    		keypad_data->reg_offset = 0x10;
    		keypad_data->irqreg_offset = 0x0c;
    		break;
    	default:
    		dev_err(&pdev->dev,
    			"Keypad reports unsupported revision %d", rev);
    		error = -EINVAL;
    		goto err_pm_put_sync;
    	}
    
    	/* input device allocation */
    	keypad_data->input = input_dev = input_allocate_device();
    	if (!input_dev) {
    		error = -ENOMEM;
    		goto err_pm_put_sync;
    	}
    
    	input_dev->name = pdev->name;
    	input_dev->dev.parent = &pdev->dev;
    	input_dev->id.bustype = BUS_HOST;
    	input_dev->id.vendor = 0x0001;
    	input_dev->id.product = 0x0001;
    	input_dev->id.version = 0x0001;
    
    	input_dev->open = omap4_keypad_open;
    	input_dev->close = omap4_keypad_close;
    
    	input_set_capability(input_dev, EV_MSC, MSC_SCAN);
    	if (!keypad_data->no_autorepeat)
    		__set_bit(EV_REP, input_dev->evbit);
    
    	input_set_drvdata(input_dev, keypad_data);
    
    	keypad_data->row_shift = get_count_order(keypad_data->cols);
    	max_keys = keypad_data->rows << keypad_data->row_shift;
    	keypad_data->keymap = kzalloc(max_keys * sizeof(keypad_data->keymap[0]),
    				      GFP_KERNEL);
    	if (!keypad_data->keymap) {
    		dev_err(&pdev->dev, "Not enough memory for keymap\n");
    		error = -ENOMEM;
    		goto err_free_input;
    	}
    
    	error = matrix_keypad_build_keymap(NULL, NULL,
    					   keypad_data->rows, keypad_data->cols,
    					   keypad_data->keymap, input_dev);
    	if (error) {
    		dev_err(&pdev->dev, "failed to build keymap\n");
    		goto err_free_keymap;
    	}
    
    	error = request_threaded_irq(keypad_data->irq, omap4_keypad_irq_handler,
    				     omap4_keypad_irq_thread_fn, 0,
    				     "omap4-keypad", keypad_data);
    	if (error) {
    		dev_err(&pdev->dev, "failed to register interrupt\n");
    		goto err_free_keymap;
    	}
    
    	device_init_wakeup(&pdev->dev, true);
    	pm_runtime_put_sync(&pdev->dev);
    
    	error = input_register_device(keypad_data->input);
    	if (error < 0) {
    		dev_err(&pdev->dev, "failed to register input device\n");
    		goto err_pm_disable;
    	}
    
    	platform_set_drvdata(pdev, keypad_data);
    	return 0;
    
    err_pm_disable:
    	pm_runtime_disable(&pdev->dev);
    	free_irq(keypad_data->irq, keypad_data);
    err_free_keymap:
    	kfree(keypad_data->keymap);
    err_free_input:
    	input_free_device(input_dev);
    err_pm_put_sync:
    	pm_runtime_put_sync(&pdev->dev);
    err_unmap:
    	iounmap(keypad_data->base);
    err_release_mem:
    	release_mem_region(res->start, resource_size(res));
    err_free_keypad:
    	kfree(keypad_data);
    	return error;
    }
    
    static int omap4_keypad_remove(struct platform_device *pdev)
    {
    	struct omap4_keypad *keypad_data = platform_get_drvdata(pdev);
    	struct resource *res;
    
    	free_irq(keypad_data->irq, keypad_data);
    
    	pm_runtime_disable(&pdev->dev);
    
    	input_unregister_device(keypad_data->input);
    
    	iounmap(keypad_data->base);
    
    	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
    	release_mem_region(res->start, resource_size(res));
    
    	kfree(keypad_data->keymap);
    	kfree(keypad_data);
    
    	return 0;
    }
    
    static const struct of_device_id omap_keypad_dt_match[] = {
    	{ .compatible = "ti,omap4-keypad" },
    	{},
    };
    MODULE_DEVICE_TABLE(of, omap_keypad_dt_match);
    
    #ifdef CONFIG_PM_SLEEP
    static int omap4_keypad_suspend(struct device *dev)
    {
    	struct platform_device *pdev = to_platform_device(dev);
    	struct omap4_keypad *keypad_data = platform_get_drvdata(pdev);
    	int error;
    
    	if (device_may_wakeup(&pdev->dev)) {
    		error = enable_irq_wake(keypad_data->irq);
    		if (!error)
    			keypad_data->irq_wake_enabled = true;
    	}
    
    	return 0;
    }
    
    static int omap4_keypad_resume(struct device *dev)
    {
    	struct platform_device *pdev = to_platform_device(dev);
    	struct omap4_keypad *keypad_data = platform_get_drvdata(pdev);
    
    	if (device_may_wakeup(&pdev->dev) && keypad_data->irq_wake_enabled) {
    		disable_irq_wake(keypad_data->irq);
    		keypad_data->irq_wake_enabled = false;
    	}
    
    	return 0;
    }
    #endif
    
    static SIMPLE_DEV_PM_OPS(omap4_keypad_pm_ops,
    			 omap4_keypad_suspend, omap4_keypad_resume);
    
    static struct platform_driver omap4_keypad_driver = {
    	.probe		= omap4_keypad_probe,
    	.remove		= omap4_keypad_remove,
    	.driver		= {
    		.name	= "omap4-keypad",
    		.pm	= &omap4_keypad_pm_ops,
    		.of_match_table = omap_keypad_dt_match,
    	},
    };
    module_platform_driver(omap4_keypad_driver);
    
    MODULE_AUTHOR("Texas Instruments");
    MODULE_DESCRIPTION("OMAP4 Keypad Driver");
    MODULE_LICENSE("GPL");
    MODULE_ALIAS("platform:omap4-keypad");
    
    DTS globally at the very beginning:

    /dts-v1/;

    / {

    -#address-cells = <0x2>;

    -#size-cells = <0x2>;

    +#address-cells = <0x1>;

    +#size-cells = <0x1>;

    compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";

    and Linux does not start up.

    3.- I also tried updating the

               keypad@4ae1c000 node with: "#address-cells = <0x1>;" and "#size-cells = <0x1>;"

    but it continues to fail. When I created the dts from the dtb file I got a warning:

    bridge@PC932:~/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/board-support/linux-rt-4.14.40+gitAUTOINC+d5443cbd3b-gd5443cbd3b/arch/arm/boot/dts/ti$ dtc -I dtb -O dts -o bridge_linux.dts dra71-evm.dtb

    Warning (reg_format): "reg" property in /keypad@4ae1c000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 2).

    See the dts files attached.

    Billa

  • Billa,

    Jose Carlos Billalabeitia said:
    1.- I tried adding kbd entry in omap_hwmod_7xx_data.c and modifying omap4-keypad.c file. (see attached files with the modifications) but still fails.

    Your omap_hwmod_7xx_data.c file looks to be correct. And you should use the default omap4-keypad.c file, no changes are needed there. The final goal of omap_hwmod_7xx_data.c file update is to enable KBD clock there (not in omap4-keypad.c). Do you have KBD clock enabled with updated omap_hwmod_7xx_data.c and default omap4-keypad.c ?

    Regards,
    Pavel

  • Billa,

    Jose Carlos Billalabeitia said:
    2.- I also tried with updating (Please visit the site to view this file)(Please visit the site to view this file)(Please visit the site to view this file)(Please visit the site to view this file)(Please visit the site to view this file)DTS globally at the very beginning:

    Jose Carlos Billalabeitia said:
    ompatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";

    You have AM5708 custom board. To which TI board your custom board is based? Seems like it is DRA71XEVM, while I found it should be TMDXIDK5718:

    For AM571x IDK board we have the below DTS files used:

    am571x-idk.dts, am571x-idk-common.dtsi, am57xx-evm-cmem-am571x.dtsi, am57xx-idk-common.dtsi, dra72x.dtsi, dra7.dtsi

    I would suggest you to align as much as possible to these AM571x IDK DTS files, especially for #address-cells and #size-cells usage.

    Regards,
    Pavel

  • Billa,

    In PSDK Linux 5.00, for DRA71 EVM, we have also its file located at:

    linux-kernel/arch/arm/boot/dts/ti/dra71-evm.its

    Where we have:

    /dts-v1/;

    / {
    description = "DRA71x-evm";
    #address-cells = <1>;
    ....
    fdt@1 {
    description = "DRA71x-evm";
    data = /incbin/("dra71-evm.dtb");
    type = "flat_dt";
    arch = "arm";
    compression = "none";
    load = <0x83000000>;
    };
    ...
    }



    Then we have the main DTS file located at:

    linux-kernel/arch/arm/boot/dts/dra71-evm.dts

    Where we have:

    #include "dra72-evm-common.dtsi"
    #include "dra72x-mmc-iodelay.dtsi"
    #include <dt-bindings/net/ti-dp83867.h>

    / {
    compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
    model = "TI DRA718 EVM";

    memory {
    device_type = "memory";
    reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
    };

    ......


    If your AM5708 custom board is based on DRA71x EVM, please align to dra71-evm.its and dra71-evm.dts, especially for #address-cells and #size-cells usage.

    Regards,
    Pavel
  • Pavel,

    If I come back to the default omap4-keypad.c and modified omap_hwmod_7xx_data.c I dont get the KBD clock enabled:

          #  devmem2 0x4ae07878

          ................................

          Read at address 0x4AE07878 (0xb6f1b878): 0x00030000

    Billa

  • Pavel:

    Our custom board is based on AM5718 IDK board. I don´t know what are the differences with respect to the DRA71XEVM board from the microprocessor viewpoint. I followed the susgestions made by Brad to base on DRA71XEVM board. In fact all the u-boot and linux dts modifications are based on dra71 dts files so far. We have brought the rest of peripherals through these dra7x dts files.

    Regards
    Billa
  • Jose Carlos Billalabeitia said:

    f I come back to the default omap4-keypad.c and modified omap_hwmod_7xx_data.c I dont get the KBD clock enabled:

          #  devmem2 0x4ae07878

          ................................

          Read at address 0x4AE07878 (0xb6f1b878): 0x00030000

    Then you can use the patched omap4-keypad.c to enable KBD clock

    EDIT:

    Have you modified your DTS file with hwmod as below?

    keypad: keypad@4ae1c000 {
                compatible = "ti,omap4-keypad";
                reg = <0x4ae1c000 0x400>;
                ti,hwmods = "kbd";
            };

    If not, please add this line and try again with modified omap_hwmod_7xx_data.c and default omap4-keypad.c

    Regards,
    Pavel

  • Jose Carlos Billalabeitia said:
    Our custom board is based on AM5718 IDK board. I don´t know what are the differences with respect to the DRA71XEVM board from the microprocessor viewpoint. I followed the susgestions made by Brad to base on DRA71XEVM board. In fact all the u-boot and linux dts modifications are based on dra71 dts files so far. We have brought the rest of peripherals through these dra7x dts files.

    Billa,

    DRA71x EVM might also work for you, as I see in EVM user guide that AM570x is also used:

    The CPU board contains the DRA71x, DRA79x, TDA2Ex-17, and AM570x (superset part) applications processor

    Processor - DRA71x, DRA79x, TDA2E-17, and AM570x (superset SoC) (17-mm × 17-mm package, 0.65-mm pitch, with 25 × 25 via-channel array)

     

    Make sure you are aligned with dra71-evm.its and dra71-evm.dts, especially for #address-cells and #size-cells usage.

     

    Regards,
    Pavel

  • Pavel,

    How can I align dra71-evm.its and dra71-evm.dts for #address-cells and #size-cells usage?
    I set both #address-cells and #size-cells usage to 0x1 at the beginning of dra71-evm.dts and Linux does not start up.
    If I set the same but in dra72-evm-common.dtsi, I get the same result: Linux does not start up.

    Billa
  • Billa,

    I am looking into 6254.bridge_linux.dts file.

    Is this your main file? is this file in place of dra71-evm.its or dra71-evm.dts or else? Do you have .its file? Why you still have "#address-cells = <0x2>; #size-cells = <0x2>;" at the beginning? I do not see any reference to 1682.dra71-evm.dts file from 6254.bridge_linux.dts file!

    Also your keypad node is described in two places - 6254.bridge_linux.dts and 0677.dra72-evm-common.dtsi. I would suggest you to keep it in only one place.


    Regards,
    Pavel

  • Pavel:

    6254.bridge_linux.dts is a file generated from the dra71-evm.dtb with dtc command. I put this file in the forum because it picks up everything in only one file. Otherwise I should put all or many of the dts-dtsi files in the forum, such as dra71-evm.dts, dra72-evm-common.dtsi ....

    Billa
  • Jose Carlos Billalabeitia said:
    Otherwise I should put all or many of the dts-dtsi files in the forum, such as dra71-evm.dts, dra72-evm-common.dtsi ....

    Can you attach your dra71-evm.its, dra71-evm.dts and dra72-evm-common.dtsi files. I need only these 3 files for review.

    Regards,
    Pavel

  • 3480.dra72-evm-common.dtsi.txt
    /*
     * Copyright (C) 2014-2016 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 "dra72x.dtsi"
    #include "dra7-ipu-dsp-common.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/clk/ti-dra7-atl.h>
    
    / {
    	compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7";
    
    	aliases {
    		display0 = &hdmi0;
    	};
    
    	chosen {
    		stdout-path = &uart3;
    	};
    
    	evm_12v0: fixedregulator-evm12v0 {
    		/* main supply */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_12v0";
    		regulator-min-microvolt = <12000000>;
    		regulator-max-microvolt = <12000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_5v0: fixedregulator-evm5v0 {
    		/* Output 1 of TPS43351QDAPRQ1 on dra72-evm */
    		/* Output 1 of LM5140QRWGTQ1 on dra71-evm */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_5v0";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_3v6: fixedregulator-evm_3v6 {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v6";
    		regulator-min-microvolt = <3600000>;
    		regulator-max-microvolt = <3600000>;
    		vin-supply = <&evm_5v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vsys_3v3: fixedregulator-vsys3v3 {
    		/* Output 2 of TPS43351QDAPRQ1 on dra72-evm */
    		/* Output 2 of LM5140QRWGTQ1 on dra71-evm */
    		compatible = "regulator-fixed";
    		regulator-name = "vsys_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_3v3_sw: fixedregulator-evm_3v3 {
    		/* TPS22965DSG */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vsys_3v3>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	aic_dvdd: fixedregulator-aic_dvdd {
    		/* TPS77018DBVT */
    		compatible = "regulator-fixed";
    		regulator-name = "aic_dvdd";
    		vin-supply = <&evm_3v3_sw>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	evm_3v3_sd: fixedregulator-sd {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v3_sd";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_3v3_sw>;
    		enable-active-high;
    		gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
    	};
    
    	extcon_usb1: extcon_usb1 {
    		compatible = "linux,extcon-usb-gpio";
    		id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
    		status = "disabled";
    	};
    
    	extcon_usb2: extcon_usb2 {
    		compatible = "linux,extcon-usb-gpio";
    		vbus-gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
    	};
    
    	hdmi0: connector {
    		compatible = "hdmi-connector";
    		label = "hdmi";
    
    		type = "a";
    
    		port {
    			hdmi_connector_in: endpoint {
    				remote-endpoint = <&tpd12s015_out>;
    			};
    		};
    	};
    
    	tpd12s015: encoder {
    		compatible = "ti,tpd12s015";
    
    		gpios = <&pcf_hdmi 4 GPIO_ACTIVE_HIGH>,	/* P4, CT CP HPD */
    			<&pcf_hdmi 5 GPIO_ACTIVE_HIGH>,	/* P5, LS OE */
    			<&gpio7 12 GPIO_ACTIVE_HIGH>;	/* gpio7_12/sp1_cs2, HPD */
    
    		ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			port@0 {
    				reg = <0>;
    
    				tpd12s015_in: endpoint {
    					remote-endpoint = <&hdmi_out>;
    				};
    			};
    
    			port@1 {
    				reg = <1>;
    
    				tpd12s015_out: endpoint {
    					remote-endpoint = <&hdmi_connector_in>;
    				};
    			};
    		};
    	};
    
    	sound0: sound0 {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "DRA7xx-EVM";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack",
    			"Line", "Line Out",
    			"Microphone", "Mic Jack",
    			"Line", "Line In";
    		simple-audio-card,routing =
    			"Headphone Jack",       "HPLOUT",
    			"Headphone Jack",       "HPROUT",
    			"Line Out",		"LLOUT",
    			"Line Out",		"RLOUT",
    			"MIC3L",		"Mic Jack",
    			"MIC3R",		"Mic Jack",
    			"Mic Jack",		"Mic Bias",
    			"LINE1L",               "Line In",
    			"LINE1R",               "Line In";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound0_master>;
    		simple-audio-card,frame-master = <&sound0_master>;
    		simple-audio-card,bitclock-inversion;
    
    		sound0_master: simple-audio-card,cpu {
    			sound-dai = <&mcasp3>;
    			system-clock-frequency = <5644800>;
    		};
    
    		simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			clocks = <&atl_clkin2_ck>;
    		};
    	};
    
    	clk_ov10633_fixed: clk_ov10633_fixed {
    		#clock-cells = <0>;
    		compatible = "fixed-clock";
    		clock-frequency = <24000000>;
    	};
    
    	vmmcwl_fixed: fixedregulator-mmcwl {
    		compatible = "regulator-fixed";
    		regulator-name = "vmmcwl_fixed";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
    		enable-active-high;
    	};
    
    	keypad: keypad@4ae1c000 {
    		compatible = "ti,omap4-keypad";
    		#address-cells = <0x1>;
    		#size-cells = <0x1>;	
    		reg = <0x4ae1c000 0x80>;
    		interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
    		keypad,num-rows = <3>;
    		keypad,num-columns = <4>;
    		linux,keymap = <0x00000041 0x00010042 0x00020043 0x00030044
    						0x01000045 0x01010046 0x01020047 0x01030048
    						0x02000049 0x0201004a 0x0202004b 0x0203004c>; 
    	};
    };
    
    &dra7_pmx_core {
    	dcan1_pins_default: dcan1_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
    			DRA7XX_CORE_IOPAD(0x37d4, PULL_UP | MUX_MODE0)	/* dcan1_rx */
    		>;
    	};
    
    	dcan1_pins_sleep: dcan1_pins_sleep {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP)	/* dcan1_tx.off */
    			DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP)	/* dcan1_rx.off */
    		>;
    	};
    
    	dcan2_pins_default: dcan2_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3688, PIN_OUTPUT_PULLUP | MUX_MODE2) /* gpio6_14.dcan2_tx */
    			DRA7XX_CORE_IOPAD(0x368c, PULL_UP | MUX_MODE2)	/* gpio6_15.dcan2_rx */
    		>;
    	};
    
    	dcan2_pins_sleep: dcan2_pins_sleep {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3688, MUX_MODE15 | PULL_UP)	/* dcan2_tx.off */
    			DRA7XX_CORE_IOPAD(0x368c, MUX_MODE15 | PULL_UP)	/* dcan2_x.off */
    		>;
    	};
    };
    
    &i2c1 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	pcf_lcd: gpio@20 {
    		compatible = "nxp,pcf8575";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    
    	pcf_gpio_21: gpio@21 {
    		compatible = "ti,pcf8575", "nxp,pcf8575";
    		reg = <0x21>;
    		lines-initial-states = <0x1408>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    
    	tlv320aic3106: tlv320aic3106@19 {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x19>;
    		adc-settle-ms = <40>;
    		ai3x-micbias-vg = <1>;		/* 2.0V */
    		status = "disabled";
    
    		/* Regulators */
    		AVDD-supply = <&evm_3v3_sw>;
    		IOVDD-supply = <&evm_3v3_sw>;
    		DRVDD-supply = <&evm_3v3_sw>;
    		DVDD-supply = <&aic_dvdd>;
    	};
    };
    
    &i2c5 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	pcf_hdmi: pcf8575@26 {
    		compatible = "ti,pcf8575", "nxp,pcf8575";
    		reg = <0x26>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		/*
    		 * initial state is used here to keep the mdio interface
    		 * selected on RU89 through SEL_VIN4_MUX_S0, VIN2_S1 and
    		 * VIN2_S0 driven high otherwise Ethernet stops working
    		 * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6
    		 */
    		lines-initial-states = <0x0f2b>;
    
    		p1 {
    			/* vin6_sel_s0: high: VIN6, low: audio */
    			gpio-hog;
    			gpios = <1 GPIO_ACTIVE_HIGH>;
    			output-low;
    			line-name = "vin6_sel_s0";
    		};
    	};
    
    	ov10633@37 {
    		compatible = "ovti,ov10633";
    		reg = <0x37>;
    
    		clocks = <&clk_ov10633_fixed>;
    		clock-names = "xvclk";
    
    		mux-gpios = <&pcf_hdmi 2	GPIO_ACTIVE_HIGH>, /* VIN2_S0 */
    			    <&pcf_hdmi 6	GPIO_ACTIVE_LOW>; /* VIN2_S2 */
    		port {
    			onboardLI: endpoint {
    				remote-endpoint = <&vin2a>;
    				hsync-active = <1>;
    				vsync-active = <1>;
    				pclk-sample = <0>;
    			};
    		};
    	};
    
    	gpio_csi2_adap: tca6416@20 {
    		status = "disabled";
    		compatible = "ti,tca6416";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    
    	ov490@24 {
    		compatible = "ovti,ov490";
    		reg = <0x24>;
    
    		mux-gpios = <&gpio_csi2_adap 0	GPIO_ACTIVE_LOW>,
    						/* CSI2_SEL_I2C_CLK */
    			    <&gpio_csi2_adap 1	GPIO_ACTIVE_HIGH>,
    						/* CSI2_SEL_REF_CLK */
    			    <&gpio_csi2_adap 3	GPIO_ACTIVE_HIGH>,
    						/* CSI2_CAM0_RESETn */
    			    <&gpio_csi2_adap 4	GPIO_ACTIVE_LOW>;
    						/* CSI2_CAM0_PWR_DWN */
    		port {
    			csi2_cam0: endpoint@0 {
    				clock-lanes = <0>;
    				data-lanes = <1 2 3 4>;
    				remote-endpoint = <&csi2_phy0>;
    			};
    		};
    	};
    };
    
    
    &uart1 {
    	rs485-rts-delay = <0 0>;	// RTS signal delay in msec before & after sending
    	linux,rs485-enabled-at-boot-time;
    	rs485-rts-active-low;
    };
    
    &uart6 {
    	rs485-rts-delay = <0 0>;	// RTS signal delay in msec before & after sending
    	linux,rs485-enabled-at-boot-time;
    	rs485-rts-active-low;
    };
    
    &elm {
    	status = "disabled";
    };
    
    &gpmc {
    	/*
    	 * For the existing IOdelay configuration via U-Boot we don't
    	 * support NAND on dra72-evm. Keep it disabled. Enabling it
    	 * requires a different configuration by U-Boot.
    	 */
    	status = "disabled";
    	ranges = <0 0 0x08000000 0x01000000>;	/* minimum GPMC partition = 16MB */
    	nand@0,0 {
    		/* To use NAND, DIP switch SW5 must be set like so:
    		 * SW5.1 (NAND_SELn) = ON (LOW)
    		 * SW5.9 (GPMC_WPN) = OFF (HIGH)
    		 */
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>;		/* device IO registers */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
    		ti,nand-xfer-type = "prefetch-dma";
    		ti,nand-ecc-opt = "bch8";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <16>;
    		gpmc,device-width = <2>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <80>;
    		gpmc,cs-wr-off-ns = <80>;
    		gpmc,adv-on-ns = <0>;
    		gpmc,adv-rd-off-ns = <60>;
    		gpmc,adv-wr-off-ns = <60>;
    		gpmc,we-on-ns = <10>;
    		gpmc,we-off-ns = <50>;
    		gpmc,oe-on-ns = <4>;
    		gpmc,oe-off-ns = <40>;
    		gpmc,access-ns = <40>;
    		gpmc,wr-access-ns = <80>;
    		gpmc,rd-cycle-ns = <80>;
    		gpmc,wr-cycle-ns = <80>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000c0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001c0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001e0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00a00000 0x0f600000>;
    		};
    	};
    };
    
    &omap_dwc3_1 {
    	extcon = <&extcon_usb1>;
    };
    
    &omap_dwc3_2 {
    	extcon = <&extcon_usb2>;
    };
    
    &usb1 {
    	dr_mode = "otg";
    	extcon = <&extcon_usb1>;
    };
    
    &usb2 {
    	dr_mode = "peripheral";
    	extcon = <&extcon_usb2>;
    };
    
    &mmc1 {
    	status = "disabled";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins_default>;
    	vmmc-supply = <&evm_3v3_sd>;
    	bus-width = <4>;
    	/*
    	 * SDCD signal is not being used here - using the fact that GPIO mode
    	 * is a viable alternative
    	 */
    	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
    	max-frequency = <192000000>;
    };
    
    &mmc2 {	
    	status = "okay";
    	bus-width = <8>;
    	ti,non-removable;
    	max-frequency = <96000000>;
    	no-1-8-v;
    	/delete-property/ mmc-hs200-1_8v;
    };
    
    &mac {
    	status = "okay";
    };
    
    &dcan1 {
    	status = "disabled";
    	pinctrl-names = "default", "sleep", "active";
    	pinctrl-0 = <&dcan1_pins_sleep>;
    	pinctrl-1 = <&dcan1_pins_sleep>;
    	pinctrl-2 = <&dcan1_pins_default>;
    };
    
    &dcan2 {
    	pinctrl-names = "default", "sleep", "active";
    	pinctrl-0 = <&dcan2_pins_sleep>;
    	pinctrl-1 = <&dcan2_pins_sleep>;
    	pinctrl-2 = <&dcan2_pins_default>;
    };
    
    &qspi {
    	status = "okay";
    
    	spi-max-frequency = <15000000>;
    	m25p80@0 {
    		compatible = "s25fl256s1";
    		spi-max-frequency = <15000000>;
    		reg = <0>;
    		spi-tx-bus-width = <1>;
    		spi-rx-bus-width = <4>;
    		#address-cells = <1>;
    		#size-cells = <1>;
    
    		/* MTD partition table.
    		 * The ROM checks the first four physical blocks
    		 * for a valid file to boot and the flash here is
    		 * 64KiB block size.
    		 */
    		partition@0 {
    			label = "QSPI.SPL";
    			reg = <0x00000000 0x000010000>;
    		};
    		partition@1 {
    			label = "QSPI.SPL.backup1";
    			reg = <0x00010000 0x00010000>;
    		};
    		partition@2 {
    			label = "QSPI.SPL.backup2";
    			reg = <0x00020000 0x00010000>;
    		};
    		partition@3 {
    			label = "QSPI.SPL.backup3";
    			reg = <0x00030000 0x00010000>;
    		};
    		partition@4 {
    			label = "QSPI.u-boot";
    			reg = <0x00040000 0x00100000>;
    		};
    		partition@5 {
    			label = "QSPI.u-boot-spl-os";
    			reg = <0x00140000 0x00080000>;
    		};
    		partition@6 {
    			label = "QSPI.u-boot-env";
    			reg = <0x001c0000 0x00010000>;
    		};
    		partition@7 {
    			label = "QSPI.u-boot-env.backup1";
    			reg = <0x001d0000 0x0010000>;
    		};
    		partition@8 {
    			label = "QSPI.kernel";
    			reg = <0x001e0000 0x0800000>;
    		};
    		partition@9 {
    			label = "QSPI.file-system";
    			reg = <0x009e0000 0x01620000>;
    		};
    	};
    };
    
    &gpu {
    	status = "disabled";
    };
    
    &dss {
    	status = "disabled";
    };
    
    &bb2d {
    	status = "disabled";
    };
    
    &hdmi {
    	status = "disabled";
    
    	port {
    		hdmi_out: endpoint {
    			remote-endpoint = <&tpd12s015_in>;
    		};
    	};
    };
    
    &vip1 {
    	status = "disabled";
    };
    
    &vin2a {
    	status = "disabled";
    	endpoint@0 {
    		slave-mode;
    		remote-endpoint = <&onboardLI>;
    	};
    };
    
    &cal {
    	status = "disabled";
    };
    
    &csi2_0 {
    	csi2_phy0: endpoint@0 {
    		slave-mode;
    		remote-endpoint = <&csi2_cam0>;
    	};
    };
    
    &atl {
    	assigned-clocks = <&abe_dpll_sys_clk_mux>,
    			  <&atl_gfclk_mux>,
    			  <&dpll_abe_ck>,
    			  <&dpll_abe_m2x2_ck>,
    			  <&atl_clkin2_ck>;
    	assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
    	assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
    
    	status = "disabled";
    
    	atl2 {
    		bws = <DRA7_ATL_WS_MCASP2_FSX>;
    		aws = <DRA7_ATL_WS_MCASP3_FSX>;
    	};
    };
    
    &mcasp3 {
    	#sound-dai-cells = <0>;
    
    	assigned-clocks = <&mcasp3_ahclkx_mux>;
    	assigned-clock-parents = <&atl_clkin2_ck>;
    
    	status = "disabled";
    
    	op-mode = <0>;          /* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    	/* 4 serializer */
    	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    		1 2 0 0
    	>;
    	tx-num-evt = <32>;
    	rx-num-evt = <32>;
    };
    
    &pcie1_rc {
    	status = "disabled";
    };
    
    
    
    
    dra71-evm.its.txt
    /dts-v1/;
    
    / {
    	description = "DRA71x-evm";
    	#address-cells = <1>;
    
    	images {
    		kernel@1 {
    			description = "LCPD kernel";
    			data = /incbin/("../../zImage");
    			type = "kernel";
    			arch = "arm";
    			os = "linux";
    			compression = "none";
    			load = <0x82000000>;
    			entry = <0x82000000>;
    		};
    		fdt@1 {
    			description = "DRA71x-evm";
    			data = /incbin/("dra71-evm.dtb");
    			type = "flat_dt";
    			arch = "arm";
    			compression = "none";
    			load = <0x83000000>;
    		};
    		fdt@2 {
    			description = "DRA71x-evm LCD";
    			data = /incbin/("dra71-evm-lcd-auo-g101evn01.0.dtbo");
    			type = "flat_dt";
    			arch = "arm";
    			compression = "none";
    			load = <0x83100000>;
    		};
    		fdt@3 {
    			description = "DRA71x-evm NAND";
    			data = /incbin/("dra71-evm-nand.dtbo");
    			type = "flat_dt";
    			arch = "arm";
    			compression = "none";
    			load = <0x83200000>;
    		};
    	};
    
    	configurations {
    		default = "dra71-evm.dtb";
    		dra71-evm.dtb {
    			description = "DRA71x-evm";
    			kernel = "kernel@1";
    			fdt = "fdt@1";
    		};
    		dra71-evm-lcd-auo-g101evn01.0 {
    			description = "DRA71x-evm with LCD overlay";
    			kernel = "kernel@1";
    			fdt = "fdt@1", "fdt@2";
    		};
    		dra71-evm-nand {
    			description = "DRA71x-evm with NAND overlay";
    			kernel = "kernel@1";
    			fdt = "fdt@1", "fdt@3";
    		};
    	};
    };
    
    1016.dra71-evm.dts.txt
    /*
     * Copyright (C) 2016 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.
     */
    
    #include "dra72-evm-common.dtsi"
    #include "dra72x-mmc-iodelay.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    
    / {
    	compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
    	model = "TI DRA718 EVM";
    
    	memory {
    		device_type = "memory";
    		reg = <0x0 0x80000000 0x0 0x20000000>; /* 512MB */
    	};
    
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ipu2_memory_region: ipu2-memory@95800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x95800000 0x0 0x3800000>;
    			reusable;
    			status = "okay";
    		};
    
    		dsp1_memory_region: dsp1-memory@99000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x99000000 0x0 0x4000000>;
    			reusable;
    			status = "okay";
    		};
    
    		ipu1_memory_region: ipu1-memory@9d000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x9d000000 0x0 0x2000000>;
    			reusable;
    			status = "okay";
    		};
    	};
    
    	vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
    		compatible = "regulator-gpio";
    		regulator-name = "vddshv8";
    		regulator-okmin-microvolt = <1800000>;
    		regulator-max-microvolt = <3000000>;
    		regulator-boot-on;
    		vin-supply = <&evm_5v0>;
    		gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0
    			  3000000 0x1>;
    	};
    
    	evm_1v8_sw: fixedregulator-evm_1v8 {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_1v8";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		vin-supply = <&lp8732_buck0_reg>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	poweroff: gpio-poweroff {
    		compatible = "gpio-poweroff";
    		gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>;
    		input;
    	};
    };
    
    &i2c1 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	lp8733: lp8733@60 {
    		compatible = "ti,lp8733";
    		reg = <0x60>;
    		buck0-in-supply =<&vsys_3v3>;
    		buck1-in-supply =<&vsys_3v3>;
    		ldo0-in-supply =<&evm_5v0>;
    		ldo1-in-supply =<&evm_5v0>;
    
    		lp8733_regulators: regulators {
    			lp8733_buck0_reg: buck0 {
    				/* FB_B0 -> LP8733-BUCK1 - VPO_S1_AVS - VDD_CORE_AVS (core, mpu, gpu) */
    				regulator-name = "lp8733-buck0";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <1250000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    
    			lp8733_buck1_reg: buck1 {
    				/* FB_B1 -> LP8733-BUCK2 - VPO_S2_AVS - VDD_DSP_AVS (DSP/eve/iva) */
    				regulator-name = "lp8733-buck1";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <1250000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8733_ldo0_reg: ldo0 {
    				/* LDO0 -> LP8733-LDO1 - VPO_L1_3V3 - VDDSHV8 (optional) */
    				regulator-name = "lp8733-ldo0";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    			};
    
    			lp8733_ldo1_reg: ldo1 {
    				/* LDO1 -> LP8733-LDO2 - VPO_L2_3V3 - VDDA_USB3V3 */
    				regulator-name = "lp8733-ldo1";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    		};
    	};
    
    	lp8732: lp8732@61 {
    		compatible = "ti,lp8732";
    		reg = <0x61>;
    
    		buck0-in-supply =<&vsys_3v3>;
    		buck1-in-supply =<&vsys_3v3>;
    		ldo0-in-supply =<&vsys_3v3>;
    		ldo1-in-supply =<&vsys_3v3>;
    
    		lp8732_regulators: regulators {
    			lp8732_buck0_reg: buck0 {
    				/* FB_B0 -> LP8732-BUCK1 - VPO_S3_1V8 - VDDS_1V8 */
    				regulator-name = "lp8732-buck0";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    
    			lp8732_buck1_reg: buck1 {
    				/* FB_B1 -> LP8732-BUCK2 - VPO_S4_DDR - VDD_DDR_1V35 */
    				regulator-name = "lp8732-buck1";
    				regulator-min-microvolt = <1350000>;
    				regulator-max-microvolt = <1350000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8732_ldo0_reg: ldo0 {
    				/* LDO0 -> LP8732-LDO1 - VPO_L3_1V8 - VDA_1V8_PLL */
    				regulator-name = "lp8732-ldo0";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8732_ldo1_reg: ldo1 {
    				/* LDO1 -> LP8732-LDO2 - VPO_L4_1V8 - VDA_1V8_PHY */
    				regulator-name = "lp8732-ldo1";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    		};
    	};
    };
    
    &csi2_cam0 {
    	status = "disabled";
    	clock-lanes = <0>;
    	data-lanes = <1 2>;
    	remote-endpoint = <&csi2_phy0>;
    };
    
    &pcf_lcd {
    	interrupt-parent = <&gpio7>;
    	interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
    };
    
    &pcf_gpio_21 {
    	interrupt-parent = <&gpio7>;
    	interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
    };
    
    &pcf_hdmi {
    	p0 {
    		/*
    		 * PM_OEn to High: Disable routing I2C3 to PM_I2C
    		 * With this PM_SEL(p3) should not matter
    		 */
    		gpio-hog;
    		gpios = <0 GPIO_ACTIVE_LOW>;
    		output-high;
    		line-name = "pm_oe_n";
    	};
    };
    
    &mmc1 {
    	status = "disabled";
    	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
    	pinctrl-0 = <&mmc1_pins_default>;
    	pinctrl-1 = <&mmc1_pins_hs>;
    	pinctrl-2 = <&mmc1_pins_sdr12>;
    	pinctrl-3 = <&mmc1_pins_sdr25>;
    	pinctrl-4 = <&mmc1_pins_sdr50>;
    	pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
    	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
    	vqmmc-supply = <&vpo_sd_1v8_3v3>;
    };
    
    &mmc2 {
    	status = "okay";
    	pinctrl-names = "default", "hs", "ddr_1_8v";
    	pinctrl-0 = <&mmc2_pins_default>;
    	pinctrl-1 = <&mmc2_pins_hs>;
    	pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
    	vmmc-supply = <&evm_3v3_sw>;
    	vqmmc-supply = <&evm_3v3_sw>;
    };
    
    &davinci_mdio {
    	reset-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>;
    	reset-delay-us = <2>;
    
    	phy0:ethernet-phy@0 {
    		reg = <0>;
    	};
    };
    
    &mac {
    	slaves = <1>;
    	status = "okay";
    	sram = <&ocmcram1>;
    };
    
    &cpsw_emac0 {
    
    	phy-handle = <&phy0>;
    	phy-mode = "mii";
    	status = "okay";
    };
    
    &cpsw_emac1 {
    	status = "disabled";
    };
    
    
    /* No Sata on this device */
    &sata_phy {
    	status = "disabled";
    };
    
    &sata {
    	status = "disabled";
    };
    
    /* No RTC on this device */
    &rtc {
    	status = "disabled";
    };
    
    &usb2_phy1 {
    	phy-supply = <&lp8733_ldo1_reg>;
    };
    
    &usb2_phy2 {
    	phy-supply = <&lp8733_ldo1_reg>;
    };
    
    &dss {
    	status = "disabled";
    	/* Supplied by VDA_1V8_PLL */
    	vdda_video-supply = <&lp8732_ldo0_reg>;
    };
    
    &hdmi {
    	/* Supplied by VDA_1V8_PHY */
    	vdda_video-supply = <&lp8732_ldo1_reg>;
    };
    
    &ipu2 {
    	status = "okay";
    	memory-region = <&ipu2_memory_region>;
    };
    
    &ipu1 {
    	status = "okay";
    	memory-region = <&ipu1_memory_region>;
    };
    
    &dsp1 {
    	status = "okay";
    	memory-region = <&dsp1_memory_region>;
    };
    
    &uart1 {
    	status = "okay";
    };
    
    &uart3 {
    	status = "okay";
    };
    
    &uart6 {
    	status = "okay";
    };
    
    &i2c5 {
    	status = "disabled";
    };
    
    &elm {
    	status = "disabled";
    };
    
    &usb1 {
    	status = "disabled";
    };
    
    &usb2 {
    	status = "okay";
    };
    
    &dcan1 {
    	status = "disabled";
    };
    
    &dcan2 {
    	status = "okay";
    };
    
    &atl {
    	status = "disabled";
    };
    
    &pcie1_rc {	
    	status = "disabled";
    };
    
    &mcasp3 {
    	status = "disabled";
    };
    
    &keypad {
    	status = "okay";
    };
    
    #include "bridge-cmem.dtsi"
    
    
    
    
    Here they are.

    Is dra71-evm.its file necessary? If I make any change here I dont see that the final dra71-evm.dtb file changes.

    Billa

  • Billa,

    Yes, I think it is necessary.

    Your DTS files looks correct.

    Could you please provide:

    1. Full console boot log (if any) with these DTS files
    2. Full console boot log (if any) with modified dra72-evm-common.dtsi file, remove #address-cells and #size-cells from keypad node)
    3. Full console boot up log (if any) with modified dra72-evm-common.dtsi file and dra71-evm.dts, remove everything related to keypad

    Regards,
    Pavel
  • I also edit one of my previous posts, it is regarding KBD clock enable:

    e2e.ti.com/.../2750369

    Regards,
    Pavel
  • H

    boot_log_1.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #22 SMP PREEMPT RT Thu Nov 8 15:13:45 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.189:10.3
    .33.185::255.255.248.0:off
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059760   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1d84   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000010] Switching to timer-based delay loop, resolution 162ns
    [    0.000336] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000338] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000844] Console: colour dummy device 80x30
    [    0.000960] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000962] This ensures that you still see kernel messages. Please
    [    0.000963] update your kernel commandline.
    [    0.000977] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000984] pid_max: default: 32768 minimum: 301
    [    0.001107] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001113] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001727] CPU: Testing write buffer coherency: ok
    [    0.001966] /cpus/cpu@0 missing clock-frequency property
    [    0.001998] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039877] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079869] Hierarchical SRCU implementation.
    [    0.140344] EFI services will not be available.
    [    0.160001] smp: Bringing up secondary CPUs ...
    [    0.160011] smp: Brought up 1 node, 1 CPU
    [    0.160020] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160028] CPU: All CPU(s) started in HYP mode.
    [    0.160034] CPU: Virtualization extensions available.
    [    0.160585] devtmpfs: initialized
    [    0.196110] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200201] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200446] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200466] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204376] pinctrl core: initialized pinctrl subsystem
    [    0.205223] DMI not present or invalid.
    [    0.205675] NET: Registered protocol family 16
    [    0.208172] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209060] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.250572] omap_hwmod: kbd: no dt node
    [    0.250583] ------------[ cut here ]------------
    [    0.250604] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.21+0x1e4/0x4a8
    [    0.250612] omap_hwmod: kbd: doesn't have mpu register target base
    [    0.250619] Modules linked in:
    [    0.250635] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.40-rt29-gd5443cbd3b #22
    [    0.250638] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    0.250640] Backtrace: 
    [    0.250655] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    0.250661]  r7:00000009 r6:60000013 r5:00000000 r4:c1057a3c
    [    0.250669] [<c020b58c>] (show_stack) from [<c091b15c>] (dump_stack+0x90/0xa4)
    [    0.250678] [<c091b0cc>] (dump_stack) from [<c022a8e4>] (__warn+0xec/0x104)
    [    0.250683]  r7:00000009 r6:c0b98c74 r5:00000000 r4:d3469e20
    [    0.250692] [<c022a7f8>] (__warn) from [<c022a93c>] (warn_slowpath_fmt+0x40/0x48)
    [    0.250698]  r9:000000d0 r8:c0e49824 r7:00000000 r6:c10133b4 r5:00000000 r4:c0b98f80
    [    0.250707] [<c022a900>] (warn_slowpath_fmt) from [<c0e0bde4>] (_init.constprop.21+0x1e4/0x4a8)
    [    0.250710]  r3:c0bff620 r2:c0b98f80
    [    0.250713]  r4:c1013370
    [    0.250722] [<c0e0bc00>] (_init.constprop.21) from [<c0e0c5dc>] (__omap_hwmod_setup_all+0x48/0x108)
    [    0.250729]  r10:c105b000 r9:000000d0 r8:c0e49824 r7:c105b000 r6:c0e0c594 r5:c100b648
    [    0.250731]  r4:c1013370
    [    0.250739] [<c0e0c594>] (__omap_hwmod_setup_all) from [<c02017bc>] (do_one_initcall+0x4c/0x170)
    [    0.250742]  r5:00000000 r4:ffffe000
    [    0.250749] [<c0201770>] (do_one_initcall) from [<c0e00fd4>] (kernel_init_freeable+0x228/0x2c4)
    [    0.250754]  r8:c0e49824 r7:c105b000 r6:00000003 r5:c0e5744c r4:c0c6b720
    [    0.250761] [<c0e00dac>] (kernel_init_freeable) from [<c092e4a8>] (kernel_init+0x10/0x110)
    [    0.250766]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c092e498
    [    0.250769]  r4:00000000
    [    0.250776] [<c092e498>] (kernel_init) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    0.250779]  r5:c092e498 r4:00000000
    [    0.250782] ---[ end trace 0000000000000001 ]---
    [    0.416942] OMAP GPIO hardware version 0.1
    [    0.449676] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.449688] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.450152] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.450164] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.451556] OMAP DMA hardware revision 0.0
    [    0.504424] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.506962] edma 43300000.edma: memcpy is disabled
    [    0.513017] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514113] evm_5v0: supplied by evm_12v0
    [    0.514605] evm_3v6: supplied by evm_5v0
    [    0.515084] vsys_3v3: supplied by evm_12v0
    [    0.515564] evm_3v3: supplied by vsys_3v3
    [    0.516043] aic_dvdd: supplied by evm_3v3
    [    0.517897] vddshv8: invalid voltage constraints
    [    0.517912] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518006] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521515] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522021] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522621] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523205] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.523779] iommu: Adding device 58820000.ipu to group 1
    [    0.523971] iommu: Adding device 55020000.ipu to group 2
    [    0.524323] iommu: Adding device 40800000.dsp to group 0
    [    0.526339] media: Linux media interface: v0.10
    [    0.526390] Linux video capture interface: v2.00
    [    0.526517] pps_core: LinuxPPS API ver. 1 registered
    [    0.526525] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526553] PTP clock support registered
    [    0.526590] EDAC MC: Ver: 3.0.0
    [    0.530788] dmi: Firmware registration failed.
    [    0.531375] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531670] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532224] Advanced Linux Sound Architecture Driver Initialized.
    [    0.540842] clocksource: Switched to clocksource arch_sys_counter
    [    0.554332] NET: Registered protocol family 2
    [    0.555190] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555242] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555380] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555477] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555510] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555760] NET: Registered protocol family 1
    [    0.576296] RPC: Registered named UNIX socket transport module.
    [    0.576308] RPC: Registered udp transport module.
    [    0.576317] RPC: Registered tcp transport module.
    [    0.576326] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577689] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.577901] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579718] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587805] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598708] NFS: Registering the id_resolver key type
    [    0.598741] Key type id_resolver registered
    [    0.598751] Key type id_legacy registered
    [    0.598824] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601377] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601392] io scheduler noop registered
    [    0.601403] io scheduler deadline registered
    [    0.601553] io scheduler cfq registered (default)
    [    0.601564] io scheduler mq-deadline registered
    [    0.601574] io scheduler kyber registered
    [    0.607665] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.607921] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608012] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608024] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.703780] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.708495] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.710280] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.805753] console [ttyS2] enabled
    [    1.811070] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.822487] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.847151] brd: module loaded
    [    1.861866] loop: module loaded
    [    1.870529] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.876885] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.881780] 10 ofpart partitions found on MTD device spi0.0
    [    1.887377] Creating 10 MTD partitions on "spi0.0":
    [    1.892281] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.898655] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.905653] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.912672] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.919647] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.926205] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.933357] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.940251] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.947856] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.954420] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.962441] libphy: Fixed MDIO Bus: probed
    [    2.030885] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.038585] libphy: 48485000.mdio: probed
    [    2.055229] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    2.065685] cpsw 48484000.ethernet: Detected MACID = 00:a0:f4:de:ad:bd
    [    2.072249] cpsw 48484000.ethernet: GMAC port 0
    [    2.076886] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.083273] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.088536] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.095571] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.104512] net eth0: rpmsg goose driver init: 0
    [    2.109236] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    2.116737] omap4-keypad 4ae1c00000000400.keypad: no base address specified
    [    2.123755] omap4-keypad: probe of 4ae1c00000000400.keypad failed with error -22
    [    2.131520] i2c /dev entries driver
    [    2.136226] IR NEC protocol handler initialized
    [    2.140779] IR RC5(x/sz) protocol handler initialized
    [    2.146193] IR RC6 protocol handler initialized
    [    2.150747] IR JVC protocol handler initialized
    [    2.155299] IR Sony protocol handler initialized
    [    2.159939] IR SANYO protocol handler initialized
    [    2.164665] IR Sharp protocol handler initialized
    [    2.169391] IR MCE Keyboard/mouse protocol handler initialized
    [    2.175252] IR XMP protocol handler initialized
    [    2.186379] sdhci: Secure Digital Host Controller Interface driver
    [    2.192611] sdhci: Copyright(c) Pierre Ossman
    [    2.197895] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.260885] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    2.280714] NET: Registered protocol family 10
    [    2.296753] Segment Routing with IPv6
    [    2.300527] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.307296] NET: Registered protocol family 17
    [    2.312286] Key type dns_resolver registered
    [    2.316809] omap_voltage_late_init: Voltage driver support not added
    [    2.321274] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321286] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    2.321296] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321306] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    2.321315] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=1 F=9)0x29029
    [    2.321324] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    2.321333] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321341] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    2.321350] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321359] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321368] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    2.321376] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=5)0x29005
    [    2.321385] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    2.321394] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    2.321403] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=7)0x29007
    [    2.321412] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321420] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321429] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    2.321460] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321470] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321479] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321488] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321496] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321505] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321514] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321522] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321530] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321539] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321548] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321627] mmc0: new DDR MMC card at address 0001
    [    2.324434] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    2.326325] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    2.328006] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    2.329895] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    2.614154] Power Management for TI OMAP4+ devices.
    [    2.619411] Registering SWP/SWPB emulation handler
    [    2.667358] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.676280] dmm 4e000000.dmm: initialized all PAT entries
    [    2.685236] hctosys: unable to open rtc device (rtc0)
    [    2.693166] net eth0: initializing cpsw version 1.15 (0)
    [    2.804072] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    2.820322] cpts ptp bc clkid 0
    [    2.828935] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.886511] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    4.900903] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.930872] IP-Config: Complete:
    [    4.934124]      device=eth0, hwaddr=00:a0:f4:de:ad:bd, ipaddr=10.3.33.189, mask=255.255.248.0, gw=255.255.255.255
    [    4.944552]      host=off, domain=, nis-domain=(none)
    [    4.949630]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    4.958026] aic_dvdd: disabling
    [    4.961189] vmmcwl_fixed: disabling
    [    4.964715] ALSA device list:
    [    4.967697]   No soundcards found.
    [    4.993406] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    4.999902] devtmpfs: mounted
    [    5.006092] Freeing unused kernel memory: 2048K
    [    5.445109] systemd[1]: System time before build time, advancing clock.
    [    5.515668] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2
     -IDN default-hierarchy=hybrid)
    [    5.537424] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    5.572396] systemd[1]: Set hostname to <am57xx-evm>.
    [    6.593371] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.600565] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.641079] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.648449] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.691031] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.697724] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.735857] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    6.774822] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    6.819396] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    6.852011] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on udev Kernel Socket.
             Mounting Kernel Debug File System...
    [  OK  ] Listening on Journal Socket.
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Listening on Process Core Dump Socket.
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Reached target Slices.
    [  OK  ] Reached target Paths.
             Starting Load Kernel Modules...
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Syslog Socket.
    [    7.534008] cmemk: loading out-of-tree module taints kernel.
    [    7.540763] CMEMK module: reference Linux version 4.14.40
    [    7.551480] cmemk initialized
             Starting Journal Service...
    [    7.582541] cryptodev: driver 1.9 loaded.
    [    7.669133] usbcore: registered new interface driver usbfs
    [  OK  ] Mounted Kernel Debug File System.
    [    7.680610] usbcore: registered new interface driver hub
    [    7.692043] usbcore: registered new device driver usb
    [  OK  ] Mounted POSIX Message Queue File System.
    [    7.710478] usbcore: registered new interface driver usbserial
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [    8.837307] systemd-journald[102]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   11.320728] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   11.376090] remoteproc remoteproc0: 58820000.ipu is available
    [   11.425767] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.435255] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   11.437894] remoteproc remoteproc1: 55020000.ipu is available
    [   11.450604] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   11.453591] remoteproc remoteproc2: 40800000.dsp is available
    [   11.746946] remoteproc remoteproc0: powering up 58820000.ipu
    [   11.789485] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.867331] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Network Service...
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [   13.336574] remoteproc remoteproc2: powering up 40800000.dsp
    [  OK  ] Listening on RPCbind Server Activation Socket[   13.367661] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 1885944
    .
    [   13.405568] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.413033] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   13.420201] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   13.431521] remoteproc remoteproc2: Failed to find resource table
    [   13.456004] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [   13.603963] CAN device driver interface
    [   13.884536] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.935884] omap-des 480a5000.des: will run requests pump with realtime priority
    [   14.046577] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=83)
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
    [   14.548810] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
             Starting RPC Bind Service...
    [   14.651257] vpe 489d0000.vpe: Device registered as /dev/video0
             [   14.717935] remoteproc remoteproc1: powering up 55020000.ipu
    Starting TI MultiCore Tools Daemon...[   14.732691] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
    
    [   14.772194] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
             Starting Login Service...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started Periodic Command Scheduler.
    [   15.561731] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   15.577607] remoteproc remoteproc1: registered virtio0 (type 7)
    [   15.597331] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   15.620426] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   15.621282] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   15.646902] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
             Starting Avahi mDNS/DNS-SD Stack...
    [   15.706961] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target Containers.
    [   15.852084] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.867214] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   15.924395] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.939770] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [  OK  ] Started System Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [   17.833158] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting uim-sysfs.service...
    [  OK  ] Started Network Service.
    [  OK  ] Started RPC Bind Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [   25.830012] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   25.837916] dwc3 488d0000.usb: failed to initialize core
    [   25.909803] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   25.915366] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   25.976832] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   26.042673] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Permit User Sessions...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    [   35.854116] NET: Registered protocol family 15
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [   36.243221] Initializing XFRM netlink socket
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# dmesg | grep keypad
    [    2.116737] omap4-keypad 4ae1c00000000400.keypad: no base address specified
    [    2.123755] omap4-keypad: probe of 4ae1c00000000400.keypad failed with error -22
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                                                                              
    
    
    boot_log_2.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #22 SMP PREEMPT RT Thu Nov 8 15:13:45 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.189:10.3
    .33.185::255.255.248.0:off
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059760   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1d84   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000337] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000339] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000839] Console: colour dummy device 80x30
    [    0.000956] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000958] This ensures that you still see kernel messages. Please
    [    0.000960] update your kernel commandline.
    [    0.000973] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000980] pid_max: default: 32768 minimum: 301
    [    0.001102] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001108] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001728] CPU: Testing write buffer coherency: ok
    [    0.001969] /cpus/cpu@0 missing clock-frequency property
    [    0.002000] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039878] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079870] Hierarchical SRCU implementation.
    [    0.140345] EFI services will not be available.
    [    0.160001] smp: Bringing up secondary CPUs ...
    [    0.160011] smp: Brought up 1 node, 1 CPU
    [    0.160020] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160028] CPU: All CPU(s) started in HYP mode.
    [    0.160035] CPU: Virtualization extensions available.
    [    0.160583] devtmpfs: initialized
    [    0.195484] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200213] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200460] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200480] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204442] pinctrl core: initialized pinctrl subsystem
    [    0.205288] DMI not present or invalid.
    [    0.205741] NET: Registered protocol family 16
    [    0.208198] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209084] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.250690] omap_hwmod: kbd: no dt node
    [    0.250702] ------------[ cut here ]------------
    [    0.250725] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.21+0x1e4/0x4a8
    [    0.250733] omap_hwmod: kbd: doesn't have mpu register target base
    [    0.250740] Modules linked in:
    [    0.250756] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.40-rt29-gd5443cbd3b #22
    [    0.250758] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    0.250760] Backtrace: 
    [    0.250776] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    0.250782]  r7:00000009 r6:60000013 r5:00000000 r4:c1057a3c
    [    0.250790] [<c020b58c>] (show_stack) from [<c091b15c>] (dump_stack+0x90/0xa4)
    [    0.250799] [<c091b0cc>] (dump_stack) from [<c022a8e4>] (__warn+0xec/0x104)
    [    0.250804]  r7:00000009 r6:c0b98c74 r5:00000000 r4:d3469e20
    [    0.250812] [<c022a7f8>] (__warn) from [<c022a93c>] (warn_slowpath_fmt+0x40/0x48)
    [    0.250818]  r9:000000d0 r8:c0e49824 r7:00000000 r6:c10133b4 r5:00000000 r4:c0b98f80
    [    0.250827] [<c022a900>] (warn_slowpath_fmt) from [<c0e0bde4>] (_init.constprop.21+0x1e4/0x4a8)
    [    0.250830]  r3:c0bff620 r2:c0b98f80
    [    0.250833]  r4:c1013370
    [    0.250842] [<c0e0bc00>] (_init.constprop.21) from [<c0e0c5dc>] (__omap_hwmod_setup_all+0x48/0x108)
    [    0.250848]  r10:c105b000 r9:000000d0 r8:c0e49824 r7:c105b000 r6:c0e0c594 r5:c100b648
    [    0.250850]  r4:c1013370
    [    0.250859] [<c0e0c594>] (__omap_hwmod_setup_all) from [<c02017bc>] (do_one_initcall+0x4c/0x170)
    [    0.250861]  r5:00000000 r4:ffffe000
    [    0.250868] [<c0201770>] (do_one_initcall) from [<c0e00fd4>] (kernel_init_freeable+0x228/0x2c4)
    [    0.250873]  r8:c0e49824 r7:c105b000 r6:00000003 r5:c0e5744c r4:c0c6b720
    [    0.250881] [<c0e00dac>] (kernel_init_freeable) from [<c092e4a8>] (kernel_init+0x10/0x110)
    [    0.250886]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c092e498
    [    0.250888]  r4:00000000
    [    0.250895] [<c092e498>] (kernel_init) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    0.250898]  r5:c092e498 r4:00000000
    [    0.250901] ---[ end trace 0000000000000001 ]---
    [    0.416965] OMAP GPIO hardware version 0.1
    [    0.449709] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.449723] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.450193] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.450205] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.451610] OMAP DMA hardware revision 0.0
    [    0.504512] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507043] edma 43300000.edma: memcpy is disabled
    [    0.513120] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514229] evm_5v0: supplied by evm_12v0
    [    0.514721] evm_3v6: supplied by evm_5v0
    [    0.515205] vsys_3v3: supplied by evm_12v0
    [    0.515688] evm_3v3: supplied by vsys_3v3
    [    0.516170] aic_dvdd: supplied by evm_3v3
    [    0.518033] vddshv8: invalid voltage constraints
    [    0.518048] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518143] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521691] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522199] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522789] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523368] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.523935] iommu: Adding device 58820000.ipu to group 1
    [    0.524126] iommu: Adding device 55020000.ipu to group 2
    [    0.524474] iommu: Adding device 40800000.dsp to group 0
    [    0.526500] media: Linux media interface: v0.10
    [    0.526552] Linux video capture interface: v2.00
    [    0.526667] pps_core: LinuxPPS API ver. 1 registered
    [    0.526675] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526703] PTP clock support registered
    [    0.526739] EDAC MC: Ver: 3.0.0
    [    0.530882] dmi: Firmware registration failed.
    [    0.531465] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531759] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532322] Advanced Linux Sound Architecture Driver Initialized.
    [    0.540939] clocksource: Switched to clocksource arch_sys_counter
    [    0.554456] NET: Registered protocol family 2
    [    0.555316] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555368] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555498] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555599] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555633] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555882] NET: Registered protocol family 1
    [    0.576413] RPC: Registered named UNIX socket transport module.
    [    0.576424] RPC: Registered udp transport module.
    [    0.576433] RPC: Registered tcp transport module.
    [    0.576442] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577804] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.578016] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579837] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.588033] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598934] NFS: Registering the id_resolver key type
    [    0.598972] Key type id_resolver registered
    [    0.598981] Key type id_legacy registered
    [    0.599053] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601618] io scheduler noop registered
    [    0.601629] io scheduler deadline registered
    [    0.601788] io scheduler cfq registered (default)
    [    0.601799] io scheduler mq-deadline registered
    [    0.601809] io scheduler kyber registered
    [    0.607917] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.608173] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608264] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608275] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.704071] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.708784] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.710570] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.806038] console [ttyS2] enabled
    [    1.811367] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.822802] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.847450] brd: module loaded
    [    1.862210] loop: module loaded
    [    1.870866] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.877221] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.882118] 10 ofpart partitions found on MTD device spi0.0
    [    1.887715] Creating 10 MTD partitions on "spi0.0":
    [    1.892618] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.898991] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.905985] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.913004] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.919978] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.926550] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.933705] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.940594] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.948204] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.954772] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.962796] libphy: Fixed MDIO Bus: probed
    [    2.030985] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.038684] libphy: 48485000.mdio: probed
    [    2.055539] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    2.065995] cpsw 48484000.ethernet: Detected MACID = 00:a0:f4:de:ad:bd
    [    2.072560] cpsw 48484000.ethernet: GMAC port 0
    [    2.077197] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.083583] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.088845] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.095879] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.104836] net eth0: rpmsg goose driver init: 0
    [    2.109559] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    2.117064] omap4-keypad 4ae1c00000000400.keypad: no base address specified
    [    2.124080] omap4-keypad: probe of 4ae1c00000000400.keypad failed with error -22
    [    2.131849] i2c /dev entries driver
    [    2.136528] IR NEC protocol handler initialized
    [    2.141454] IR RC5(x/sz) protocol handler initialized
    [    2.146549] IR RC6 protocol handler initialized
    [    2.151111] IR JVC protocol handler initialized
    [    2.155663] IR Sony protocol handler initialized
    [    2.160302] IR SANYO protocol handler initialized
    [    2.165045] IR Sharp protocol handler initialized
    [    2.169772] IR MCE Keyboard/mouse protocol handler initialized
    [    2.175632] IR XMP protocol handler initialized
    [    2.186708] sdhci: Secure Digital Host Controller Interface driver
    [    2.192941] sdhci: Copyright(c) Pierre Ossman
    [    2.198226] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.260985] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    2.280803] NET: Registered protocol family 10
    [    2.296812] Segment Routing with IPv6
    [    2.300602] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.307374] NET: Registered protocol family 17
    [    2.312360] Key type dns_resolver registered
    [    2.316894] omap_voltage_late_init: Voltage driver support not added
    [    2.321376] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321387] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    2.321397] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321406] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    2.321416] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=1 F=9)0x29029
    [    2.321425] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    2.321434] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321442] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    2.321451] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321460] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321469] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    2.321477] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=5)0x29005
    [    2.321486] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    2.321495] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    2.321503] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=7)0x29007
    [    2.321512] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321521] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321529] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    2.321560] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321571] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321579] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321588] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321597] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321605] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321614] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321622] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321631] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321639] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321648] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.321725] mmc0: new DDR MMC card at address 0001
    [    2.324535] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    2.326428] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    2.328110] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    2.329999] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    2.614253] Power Management for TI OMAP4+ devices.
    [    2.619500] Registering SWP/SWPB emulation handler
    [    2.667685] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.676574] dmm 4e000000.dmm: initialized all PAT entries
    [    2.685525] hctosys: unable to open rtc device (rtc0)
    [    2.693485] net eth0: initializing cpsw version 1.15 (0)
    [    2.803958] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    2.820210] cpts ptp bc clkid 0
    [    2.828824] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.886602] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    4.901001] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.930968] IP-Config: Complete:
    [    4.934219]      device=eth0, hwaddr=00:a0:f4:de:ad:bd, ipaddr=10.3.33.189, mask=255.255.248.0, gw=255.255.255.255
    [    4.944650]      host=off, domain=, nis-domain=(none)
    [    4.949728]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    4.958125] aic_dvdd: disabling
    [    4.961289] vmmcwl_fixed: disabling
    [    4.964817] ALSA device list:
    [    4.967799]   No soundcards found.
    [    4.991754] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    4.998253] devtmpfs: mounted
    [    5.004463] Freeing unused kernel memory: 2048K
    [    5.444543] systemd[1]: System time before build time, advancing clock.
    [    5.515216] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2
     -IDN default-hierarchy=hybrid)
    [    5.536926] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    5.572474] systemd[1]: Set hostname to <am57xx-evm>.
    [    6.589622] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.596492] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.631192] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.642700] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.742331] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.749710] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.791890] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    6.831238] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.861383] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.903557] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
             Mounting POSIX Message Queue File System...
             Starting Load Kernel Modules...
             Mounting Temporary Directory (/tmp)...
    [    7.045233] cmemk: loading out-of-tree module taints kernel.
    [    7.059646] CMEMK module: reference Linux version 4.14.40
    [    7.074281] cmemk initialized
             Starting Create list of required st…ce nodes for the current kernel...
    [    7.105243] cryptodev: driver 1.9 loaded.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Created slice system-getty.slice.
    [    7.177166] usbcore: registered new interface driver usbfs
    [    7.188060] usbcore: registered new interface driver hub
    [    7.196580] usbcore: registered new device driver usb
    [  OK  ] Listening on udev Control Socket.
    [    7.216200] usbcore: registered new interface driver usbserial
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Kernel Debug File System...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Slices.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Journal Service.
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    8.427803] systemd-journald[103]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   11.195326] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   11.247339] remoteproc remoteproc0: 58820000.ipu is available
    [   11.302904] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.307749] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   11.310297] remoteproc remoteproc1: 55020000.ipu is available
    [   11.318706] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   11.329260] remoteproc remoteproc2: 40800000.dsp is available
    [   11.611586] remoteproc remoteproc0: powering up 58820000.ipu
    [   11.662414] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.750731] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily rotation of log files.
    [   13.086927] remoteproc remoteproc2: powering up 40800000.dsp
    [   13.114026] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 1885944
    [   13.186651] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.194182] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   13.203920] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   13.212748] remoteproc remoteproc2: Failed to find resource table
    [   13.236997] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.408564] CAN device driver interface
    [   13.676235] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.760425] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Listening on dropbear.socket.
    [   13.870155] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=83)
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
    [   14.274105] remoteproc remoteproc1: powering up 55020000.ipu
    [   14.292984] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
             Starting Print notice about GPLv3 packages...
    [   14.339921] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
    [[   14.977762] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
      OK  ] Reached target Containers.
    [   15.001965] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   15.002054] remoteproc remoteproc1: registered virtio0 (type 7)
    [   15.002061] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   15.043514] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   15.055652] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   15.111305] vpe 489d0000.vpe: Device registered as /dev/video0
    [  OK  ] Started D-Bus System Message Bus.
    [   15.276457] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   15.326967] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   15.481234] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.519575] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   15.624044] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.643730] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   17.234950] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting RPC Bind Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Network Service...
             Starting TI MultiCore Tools Daemon...
             Starting uim-sysfs.service...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started RPC Bind Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [  OK  ] Started Network Service.
    [   25.478421] dwc3 488d0000.usb: failed to initialize core
    [   25.510793] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   25.513033] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   25.517028] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   25.553883] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   25.554001] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   25.754920] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Permit User Sessions...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Network Name Resolution...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Wait for Network to be Configured...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
    [   35.821919] NET: Registered protocol family 15
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [   36.180552] Initializing XFRM netlink socket
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# dmesg | grep keypad
    [    2.117064] omap4-keypad 4ae1c00000000400.keypad: no base address specified
    [    2.124080] omap4-keypad: probe of 4ae1c00000000400.keypad failed with error -22
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                                                                              
    
    
    boot_log_3.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #22 SMP PREEMPT RT Thu Nov 8 15:13:45 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.189:10.3
    .33.185::255.255.248.0:off
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059760   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1d84   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000338] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000340] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000843] Console: colour dummy device 80x30
    [    0.000958] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000960] This ensures that you still see kernel messages. Please
    [    0.000961] update your kernel commandline.
    [    0.000974] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000981] pid_max: default: 32768 minimum: 301
    [    0.001105] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001111] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001725] CPU: Testing write buffer coherency: ok
    [    0.001966] /cpus/cpu@0 missing clock-frequency property
    [    0.001999] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039883] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079876] Hierarchical SRCU implementation.
    [    0.140346] EFI services will not be available.
    [    0.160004] smp: Bringing up secondary CPUs ...
    [    0.160014] smp: Brought up 1 node, 1 CPU
    [    0.160023] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160031] CPU: All CPU(s) started in HYP mode.
    [    0.160038] CPU: Virtualization extensions available.
    [    0.160599] devtmpfs: initialized
    [    0.195842] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200211] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200471] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200493] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204418] pinctrl core: initialized pinctrl subsystem
    [    0.205244] DMI not present or invalid.
    [    0.205699] NET: Registered protocol family 16
    [    0.208109] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.208980] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.251153] omap_hwmod: kbd: no dt node
    [    0.251163] ------------[ cut here ]------------
    [    0.251185] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.21+0x1e4/0x4a8
    [    0.251192] omap_hwmod: kbd: doesn't have mpu register target base
    [    0.251199] Modules linked in:
    [    0.251214] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.40-rt29-gd5443cbd3b #22
    [    0.251217] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    0.251219] Backtrace: 
    [    0.251235] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    0.251241]  r7:00000009 r6:60000013 r5:00000000 r4:c1057a3c
    [    0.251249] [<c020b58c>] (show_stack) from [<c091b15c>] (dump_stack+0x90/0xa4)
    [    0.251258] [<c091b0cc>] (dump_stack) from [<c022a8e4>] (__warn+0xec/0x104)
    [    0.251263]  r7:00000009 r6:c0b98c74 r5:00000000 r4:d3469e20
    [    0.251271] [<c022a7f8>] (__warn) from [<c022a93c>] (warn_slowpath_fmt+0x40/0x48)
    [    0.251276]  r9:000000d0 r8:c0e49824 r7:00000000 r6:c10133b4 r5:00000000 r4:c0b98f80
    [    0.251286] [<c022a900>] (warn_slowpath_fmt) from [<c0e0bde4>] (_init.constprop.21+0x1e4/0x4a8)
    [    0.251289]  r3:c0bff620 r2:c0b98f80
    [    0.251291]  r4:c1013370
    [    0.251301] [<c0e0bc00>] (_init.constprop.21) from [<c0e0c5dc>] (__omap_hwmod_setup_all+0x48/0x108)
    [    0.251306]  r10:c105b000 r9:000000d0 r8:c0e49824 r7:c105b000 r6:c0e0c594 r5:c100b648
    [    0.251309]  r4:c1013370
    [    0.251317] [<c0e0c594>] (__omap_hwmod_setup_all) from [<c02017bc>] (do_one_initcall+0x4c/0x170)
    [    0.251319]  r5:00000000 r4:ffffe000
    [    0.251326] [<c0201770>] (do_one_initcall) from [<c0e00fd4>] (kernel_init_freeable+0x228/0x2c4)
    [    0.251331]  r8:c0e49824 r7:c105b000 r6:00000003 r5:c0e5744c r4:c0c6b720
    [    0.251339] [<c0e00dac>] (kernel_init_freeable) from [<c092e4a8>] (kernel_init+0x10/0x110)
    [    0.251344]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c092e498
    [    0.251346]  r4:00000000
    [    0.251353] [<c092e498>] (kernel_init) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    0.251356]  r5:c092e498 r4:00000000
    [    0.251359] ---[ end trace 0000000000000001 ]---
    [    0.418304] OMAP GPIO hardware version 0.1
    [    0.450398] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.450410] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.450929] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.450941] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.452264] OMAP DMA hardware revision 0.0
    [    0.504492] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507015] edma 43300000.edma: memcpy is disabled
    [    0.513089] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514212] evm_5v0: supplied by evm_12v0
    [    0.514695] evm_3v6: supplied by evm_5v0
    [    0.515179] vsys_3v3: supplied by evm_12v0
    [    0.515663] evm_3v3: supplied by vsys_3v3
    [    0.516141] aic_dvdd: supplied by evm_3v3
    [    0.517996] vddshv8: invalid voltage constraints
    [    0.518010] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518103] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521630] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522135] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522737] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523334] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.523912] iommu: Adding device 58820000.ipu to group 1
    [    0.524104] iommu: Adding device 55020000.ipu to group 2
    [    0.524447] iommu: Adding device 40800000.dsp to group 0
    [    0.526453] media: Linux media interface: v0.10
    [    0.526504] Linux video capture interface: v2.00
    [    0.526622] pps_core: LinuxPPS API ver. 1 registered
    [    0.526631] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526654] PTP clock support registered
    [    0.526696] EDAC MC: Ver: 3.0.0
    [    0.530825] dmi: Firmware registration failed.
    [    0.531408] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531700] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532260] Advanced Linux Sound Architecture Driver Initialized.
    [    0.540889] clocksource: Switched to clocksource arch_sys_counter
    [    0.554478] NET: Registered protocol family 2
    [    0.555337] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555389] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555524] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555623] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555656] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555910] NET: Registered protocol family 1
    [    0.576445] RPC: Registered named UNIX socket transport module.
    [    0.576457] RPC: Registered udp transport module.
    [    0.576466] RPC: Registered tcp transport module.
    [    0.576475] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577847] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.578060] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579883] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587819] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598735] NFS: Registering the id_resolver key type
    [    0.598777] Key type id_resolver registered
    [    0.598787] Key type id_legacy registered
    [    0.598860] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601381] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601395] io scheduler noop registered
    [    0.601406] io scheduler deadline registered
    [    0.601549] io scheduler cfq registered (default)
    [    0.601560] io scheduler mq-deadline registered
    [    0.601570] io scheduler kyber registered
    [    0.607676] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.607929] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608019] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608030] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.703744] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.708467] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.710286] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.805771] console [ttyS2] enabled
    [    1.811147] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.822565] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.847205] brd: module loaded
    [    1.861957] loop: module loaded
    [    1.870543] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.876899] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.881798] 10 ofpart partitions found on MTD device spi0.0
    [    1.887396] Creating 10 MTD partitions on "spi0.0":
    [    1.892299] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.898680] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.905669] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.912681] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.919668] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.926219] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.933395] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.940285] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.947892] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.954454] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.962489] libphy: Fixed MDIO Bus: probed
    [    2.030933] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.038633] libphy: 48485000.mdio: probed
    [    2.055076] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    2.065518] cpsw 48484000.ethernet: Detected MACID = 00:a0:f4:de:ad:bd
    [    2.072084] cpsw 48484000.ethernet: GMAC port 0
    [    2.076730] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.083117] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.088380] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.095416] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.104363] net eth0: rpmsg goose driver init: 0
    [    2.109087] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    2.116820] i2c /dev entries driver
    [    2.121581] IR NEC protocol handler initialized
    [    2.126135] IR RC5(x/sz) protocol handler initialized
    [    2.131210] IR RC6 protocol handler initialized
    [    2.135762] IR JVC protocol handler initialized
    [    2.140327] IR Sony protocol handler initialized
    [    2.145093] IR SANYO protocol handler initialized
    [    2.149819] IR Sharp protocol handler initialized
    [    2.154545] IR MCE Keyboard/mouse protocol handler initialized
    [    2.160404] IR XMP protocol handler initialized
    [    2.171508] sdhci: Secure Digital Host Controller Interface driver
    [    2.177719] sdhci: Copyright(c) Pierre Ossman
    [    2.183013] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.250934] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    2.270675] NET: Registered protocol family 10
    [    2.286716] Segment Routing with IPv6
    [    2.290507] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.297286] NET: Registered protocol family 17
    [    2.302245] Key type dns_resolver registered
    [    2.306770] omap_voltage_late_init: Voltage driver support not added
    [    2.311304] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311316] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    2.311326] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311335] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    2.311345] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=1 F=9)0x29029
    [    2.311354] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    2.311362] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311371] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    2.311380] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311389] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311397] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    2.311406] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=5)0x29005
    [    2.311415] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    2.311424] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    2.311432] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=7)0x29007
    [    2.311441] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311450] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311458] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    2.311488] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311498] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311507] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311516] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311525] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311533] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311541] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311550] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311559] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311567] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311576] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311653] mmc0: new DDR MMC card at address 0001
    [    2.314466] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    2.316359] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    2.318251] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    2.319931] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    2.604181] Power Management for TI OMAP4+ devices.
    [    2.609431] Registering SWP/SWPB emulation handler
    [    2.657490] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.666355] dmm 4e000000.dmm: initialized all PAT entries
    [    2.676513] hctosys: unable to open rtc device (rtc0)
    [    2.683144] net eth0: initializing cpsw version 1.15 (0)
    [    2.794122] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    2.810370] cpts ptp bc clkid 0
    [    2.818982] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.886477] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    4.890942] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.920936] IP-Config: Complete:
    [    4.924200]      device=eth0, hwaddr=00:a0:f4:de:ad:bd, ipaddr=10.3.33.189, mask=255.255.248.0, gw=255.255.255.255
    [    4.934613]      host=off, domain=, nis-domain=(none)
    [    4.939706]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    4.948082] aic_dvdd: disabling
    [    4.951246] vmmcwl_fixed: disabling
    [    4.954772] ALSA device list:
    [    4.957754]   No soundcards found.
    [    4.982795] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    4.989473] devtmpfs: mounted
    [    4.996214] Freeing unused kernel memory: 2048K
    [    5.434425] systemd[1]: System time before build time, advancing clock.
    [    5.505453] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2
     -IDN default-hierarchy=hybrid)
    [    5.527173] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    5.562394] systemd[1]: Set hostname to <am57xx-evm>.
    [    6.566509] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.573698] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.611139] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.652042] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.691091] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.697832] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.731524] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.771473] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.811130] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.841350] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Created slice System Slice.
             Starting Create list of required st…ce nodes for the current kernel...
             Starting Journal Service...
    [  OK  ] Created slice system-getty.slice.
             Starting Load Kernel Modules...
    [  OK  ] Reached target Slices.
    [    7.345168] cmemk: loading out-of-tree module taints kernel.
             Mounting Kernel Debug File System...
    [    7.360851] CMEMK module: reference Linux version 4.14.40
    [    7.374979] cmemk initialized
    [    7.411508] cryptodev: driver 1.9 loaded.
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
    [    7.513451] usbcore: registered new interface driver usbfs
    [    7.524685] usbcore: registered new interface driver hub
    [    7.537289] usbcore: registered new device driver usb
    [    7.573622] usbcore: registered new interface driver usbserial
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Starting udev Coldplug all Devices...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    8.497247] systemd-journald[93]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   11.328046] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   11.391589] remoteproc remoteproc0: 58820000.ipu is available
    [   11.434201] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.443972] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   11.456033] remoteproc remoteproc1: 55020000.ipu is available
    [   11.466083] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   11.466225] remoteproc remoteproc2: 40800000.dsp is available
    [   11.745799] remoteproc remoteproc0: powering up 58820000.ipu
    [   11.808126] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.903244] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [   13.290013] remoteproc remoteproc2: powering up 40800000.dsp
    [   13.314830] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 1885944
    [   13.468549] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.504181] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   13.543314] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   13.589335] remoteproc remoteproc2: Failed to find resource table
    [   13.675841] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.785240] CAN device driver interface
    [   14.071177] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=83)
    [   14.135874] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [[   14.192196] omap-des 480a5000.des: will run requests pump with realtime priority
      OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [   14.311550] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [   14.461243] vpe 489d0000.vpe: Device registered as /dev/video0
             Starting Network Service...
    [  OK  ] Reached target Basic System.
    [   14.596373] remoteproc remoteproc1: powering up 55020000.ipu
    [   14.620677] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
             [   14.662295] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    Starting TI MultiCore Tools Daemon...
    [  OK  ] Started Kernel Logging Service.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting uim-sysfs.service...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Reached target Containers.
             Starting Print notice about GPLv3 packages...
    [   15.489699] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   15.496714] remoteproc remoteproc1: registered virtio0 (type 7)
    [   15.507709] remoteproc remoteproc1: remote processor 55020000.ipu is now up
             Starting RPC Bind Service...
    [   15.551888] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   15.564270] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   15.591165] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   15.622053] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   15.764094] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.779755] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [  OK  ] Started System Logging Service.
    [   15.913573] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.962676] omap-aes 4b700000.aes: will run requests pump with realtime priority
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [   17.887571] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Network Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [  OK  ] Started RPC Bind Service.
    [   25.940043] dwc3 488d0000.usb: failed to initialize core
    [   25.987527] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   26.035245] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   26.040132] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   26.107933] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   26.193766] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Permit User Sessions...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    [   35.819334] NET: Registered protocol family 15
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [   36.196869] Initializing XFRM netlink socket
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# dmesg | grep keypad
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 
    
    ere they are.

  • Jose,

    In boot log 1, I see one error message that precedes base address error, this error is:

    [ 0.209084] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.250690] omap_hwmod: kbd: no dt node
    [ 0.250702] ------------[ cut here ]------------
    [ 0.250725] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.21+0x1e4/0x4a8
    [ 0.250733] omap_hwmod: kbd: doesn't have mpu register target base

    Please update your keypad node in DTS file dra72-evm-common.dtsi with below entry:

    ti,hwmods = "kbd";

    Regards,
    Pavel
  • Pavel

    I updated keypad node with

            ti,hwmods = "kbd";

    but the above messages persist.

    Billa

  • When I get the dst from the dtb I see a warning message:
    bridge@PC932:~/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/board-support/linux-rt-4.14.40+gitAUTOINC+d5443cbd3b-gd5443cbd3b/arch/arm/boot/dts/ti$ dtc -I dtb -O dts -o bridge_linux.dts dra71-evm.dtb
    Warning (reg_format): "reg" property in /keypad@4ae1c000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 2)

    even if #address-cells and #size_cells are set to 0x01 en the dts.

    Billa
  • Billa,

    I will try this on AM572x TI EVM. I will need some time to setup the board and prepare SD card, etc. I will come back to you soon.

    Regards,
    Pavel
  • Pavel,

       Fisrt of all, thanks a lot !

    This morning I realized that there is a warning during linux start up (attached is the complete log file):

    [    0.250757] ------------[ cut here ]------------
    [    0.250779] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.21+0x1e4/0x4a8
    [    0.250787] omap_hwmod: kbd: doesn't have mpu register target base
    [    0.250794] Modules linked in:
    [    0.250810] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.40-rt29-gd5443cbd3b #22
    [    0.250813] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    0.250815] Backtrace:
    [    0.250831] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    0.250837]  r7:00000009 r6:60000013 r5:00000000 r4:c1057a3c
    [    0.250845] [<c020b58c>] (show_stack) from [<c091b15c>] (dump_stack+0x90/0xa4)
    [    0.250855] [<c091b0cc>] (dump_stack) from [<c022a8e4>] (__warn+0xec/0x104)
    [    0.250860]  r7:00000009 r6:c0b98c74 r5:00000000 r4:d3469e20
    [    0.250868] [<c022a7f8>] (__warn) from [<c022a93c>] (warn_slowpath_fmt+0x40/0x48)
    [    0.250874]  r9:000000d0 r8:c0e49824 r7:00000000 r6:c10133b4 r5:00000000 r4:c0b98f80
    [    0.250883] [<c022a900>] (warn_slowpath_fmt) from [<c0e0bde4>] (_init.constprop.21+0x1e4/0x4a8)
    [    0.250886]  r3:c0bff620 r2:c0b98f80
    [    0.250889]  r4:c1013370
    [    0.250898] [<c0e0bc00>] (_init.constprop.21) from [<c0e0c5dc>] (__omap_hwmod_setup_all+0x48/0x108)
    [    0.250904]  r10:c105b000 r9:000000d0 r8:c0e49824 r7:c105b000 r6:c0e0c594 r5:c100b648
    [    0.250906]  r4:c1013370
    [    0.250915] [<c0e0c594>] (__omap_hwmod_setup_all) from [<c02017bc>] (do_one_initcall+0x4c/0x170)
    [    0.250918]  r5:00000000 r4:ffffe000
    [    0.250925] [<c0201770>] (do_one_initcall) from [<c0e00fd4>] (kernel_init_freeable+0x228/0x2c4)
    [    0.250929]  r8:c0e49824 r7:c105b000 r6:00000003 r5:c0e5744c r4:c0c6b720
    [    0.250937] [<c0e00dac>] (kernel_init_freeable) from [<c092e4a8>] (kernel_init+0x10/0x110)
    [    0.250942]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c092e498
    [    0.250944]  r4:00000000
    [    0.250951] [<c092e498>] (kernel_init) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    0.250954]  r5:c092e498 r4:00000000
    [    0.250956] ---[ end trace 0000000000000001 ]---

    Billa

    5238.boot_log.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #22 SMP PREEMPT RT Thu Nov 8 15:13:45 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.189:10.f
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059760   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1d84   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000343] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000346] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000852] Console: colour dummy device 80x30
    [    0.000966] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000968] This ensures that you still see kernel messages. Please
    [    0.000970] update your kernel commandline.
    [    0.000983] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000990] pid_max: default: 32768 minimum: 301
    [    0.001111] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001117] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001733] CPU: Testing write buffer coherency: ok
    [    0.001973] /cpus/cpu@0 missing clock-frequency property
    [    0.002005] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039877] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079870] Hierarchical SRCU implementation.
    [    0.140343] EFI services will not be available.
    [    0.160003] smp: Bringing up secondary CPUs ...
    [    0.160013] smp: Brought up 1 node, 1 CPU
    [    0.160022] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160029] CPU: All CPU(s) started in HYP mode.
    [    0.160036] CPU: Virtualization extensions available.
    [    0.160597] devtmpfs: initialized
    [    0.195861] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200214] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200459] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200479] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204418] pinctrl core: initialized pinctrl subsystem
    [    0.205268] DMI not present or invalid.
    [    0.205724] NET: Registered protocol family 16
    [    0.208198] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209086] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.250747] omap_hwmod: kbd: no dt node
    [    0.250757] ------------[ cut here ]------------
    [    0.250779] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2494 _init.constprop.21+0x1e4/0x4a8
    [    0.250787] omap_hwmod: kbd: doesn't have mpu register target base
    [    0.250794] Modules linked in:
    [    0.250810] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.40-rt29-gd5443cbd3b #22
    [    0.250813] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    0.250815] Backtrace: 
    [    0.250831] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    0.250837]  r7:00000009 r6:60000013 r5:00000000 r4:c1057a3c
    [    0.250845] [<c020b58c>] (show_stack) from [<c091b15c>] (dump_stack+0x90/0xa4)
    [    0.250855] [<c091b0cc>] (dump_stack) from [<c022a8e4>] (__warn+0xec/0x104)
    [    0.250860]  r7:00000009 r6:c0b98c74 r5:00000000 r4:d3469e20
    [    0.250868] [<c022a7f8>] (__warn) from [<c022a93c>] (warn_slowpath_fmt+0x40/0x48)
    [    0.250874]  r9:000000d0 r8:c0e49824 r7:00000000 r6:c10133b4 r5:00000000 r4:c0b98f80
    [    0.250883] [<c022a900>] (warn_slowpath_fmt) from [<c0e0bde4>] (_init.constprop.21+0x1e4/0x4a8)
    [    0.250886]  r3:c0bff620 r2:c0b98f80
    [    0.250889]  r4:c1013370
    [    0.250898] [<c0e0bc00>] (_init.constprop.21) from [<c0e0c5dc>] (__omap_hwmod_setup_all+0x48/0x108)
    [    0.250904]  r10:c105b000 r9:000000d0 r8:c0e49824 r7:c105b000 r6:c0e0c594 r5:c100b648
    [    0.250906]  r4:c1013370
    [    0.250915] [<c0e0c594>] (__omap_hwmod_setup_all) from [<c02017bc>] (do_one_initcall+0x4c/0x170)
    [    0.250918]  r5:00000000 r4:ffffe000
    [    0.250925] [<c0201770>] (do_one_initcall) from [<c0e00fd4>] (kernel_init_freeable+0x228/0x2c4)
    [    0.250929]  r8:c0e49824 r7:c105b000 r6:00000003 r5:c0e5744c r4:c0c6b720
    [    0.250937] [<c0e00dac>] (kernel_init_freeable) from [<c092e4a8>] (kernel_init+0x10/0x110)
    [    0.250942]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c092e498
    [    0.250944]  r4:00000000
    [    0.250951] [<c092e498>] (kernel_init) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    0.250954]  r5:c092e498 r4:00000000
    [    0.250956] ---[ end trace 0000000000000001 ]---
    [    0.417627] OMAP GPIO hardware version 0.1
    [    0.450266] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.450279] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.450811] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.450823] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.452142] OMAP DMA hardware revision 0.0
    [    0.504584] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507118] edma 43300000.edma: memcpy is disabled
    [    0.513221] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514337] evm_5v0: supplied by evm_12v0
    [    0.514832] evm_3v6: supplied by evm_5v0
    [    0.515319] vsys_3v3: supplied by evm_12v0
    [    0.515807] evm_3v3: supplied by vsys_3v3
    [    0.516289] aic_dvdd: supplied by evm_3v3
    [    0.518156] vddshv8: invalid voltage constraints
    [    0.518172] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518266] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521770] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522275] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522875] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523454] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.524024] iommu: Adding device 58820000.ipu to group 1
    [    0.524216] iommu: Adding device 55020000.ipu to group 2
    [    0.524570] iommu: Adding device 40800000.dsp to group 0
    [    0.526613] media: Linux media interface: v0.10
    [    0.526664] Linux video capture interface: v2.00
    [    0.526781] pps_core: LinuxPPS API ver. 1 registered
    [    0.526789] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526816] PTP clock support registered
    [    0.526854] EDAC MC: Ver: 3.0.0
    [    0.530944] dmi: Firmware registration failed.
    [    0.531530] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531827] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532385] Advanced Linux Sound Architecture Driver Initialized.
    [    0.541003] clocksource: Switched to clocksource arch_sys_counter
    [    0.554518] NET: Registered protocol family 2
    [    0.555374] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555425] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555559] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555658] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555691] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555943] NET: Registered protocol family 1
    [    0.576474] RPC: Registered named UNIX socket transport module.
    [    0.576486] RPC: Registered udp transport module.
    [    0.576496] RPC: Registered tcp transport module.
    [    0.576505] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577874] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.578088] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579908] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587886] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598785] NFS: Registering the id_resolver key type
    [    0.598827] Key type id_resolver registered
    [    0.598836] Key type id_legacy registered
    [    0.598909] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601459] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601473] io scheduler noop registered
    [    0.601484] io scheduler deadline registered
    [    0.601646] io scheduler cfq registered (default)
    [    0.601658] io scheduler mq-deadline registered
    [    0.601667] io scheduler kyber registered
    [    0.607838] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.608092] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608183] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608194] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.703755] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.708444] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.710232] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.805707] console [ttyS2] enabled
    [    1.810989] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.822496] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.847106] brd: module loaded
    [    1.861847] loop: module loaded
    [    1.870498] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.876853] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.881748] 10 ofpart partitions found on MTD device spi0.0
    [    1.887346] Creating 10 MTD partitions on "spi0.0":
    [    1.892249] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.898615] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.905613] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.912631] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.919609] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.926175] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.933330] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.940219] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.947829] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.954401] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.962435] libphy: Fixed MDIO Bus: probed
    [    2.021041] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.028741] libphy: 48485000.mdio: probed
    [    2.045597] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    2.056055] cpsw 48484000.ethernet: Detected MACID = 00:a0:f4:de:ad:bd
    [    2.062619] cpsw 48484000.ethernet: GMAC port 0
    [    2.067257] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.073643] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.078905] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.085939] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.094889] net eth0: rpmsg goose driver init: 0
    [    2.099613] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    2.107103] omap4-keypad 4ae1c00000000400.keypad: no base address specified
    [    2.114134] omap4-keypad: probe of 4ae1c00000000400.keypad failed with error -22
    [    2.121900] i2c /dev entries driver
    [    2.126577] IR NEC protocol handler initialized
    [    2.131510] IR RC5(x/sz) protocol handler initialized
    [    2.136606] IR RC6 protocol handler initialized
    [    2.141159] IR JVC protocol handler initialized
    [    2.145729] IR Sony protocol handler initialized
    [    2.150367] IR SANYO protocol handler initialized
    [    2.155109] IR Sharp protocol handler initialized
    [    2.159835] IR MCE Keyboard/mouse protocol handler initialized
    [    2.165695] IR XMP protocol handler initialized
    [    2.176592] sdhci: Secure Digital Host Controller Interface driver
    [    2.182803] sdhci: Copyright(c) Pierre Ossman
    [    2.188098] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.251047] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    2.270855] NET: Registered protocol family 10
    [    2.286863] Segment Routing with IPv6
    [    2.290654] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.297422] NET: Registered protocol family 17
    [    2.302389] Key type dns_resolver registered
    [    2.306899] omap_voltage_late_init: Voltage driver support not added
    [    2.311483] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311495] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    2.311505] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311514] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    2.311524] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=2 F=1)0x29041
    [    2.311533] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    2.311542] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311551] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    2.311559] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311568] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311577] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    2.311586] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=6)0x29006
    [    2.311595] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    2.311603] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    2.311612] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=8)0x29008
    [    2.311620] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311629] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311638] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    2.311669] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311679] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311687] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311696] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311705] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311713] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311722] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311730] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311739] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311747] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311756] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.311833] mmc0: new DDR MMC card at address 0001
    [    2.314642] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    2.316533] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    2.318212] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    2.320101] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    2.604257] Power Management for TI OMAP4+ devices.
    [    2.609520] Registering SWP/SWPB emulation handler
    [    2.657505] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.666445] dmm 4e000000.dmm: initialized all PAT entries
    [    2.675390] hctosys: unable to open rtc device (rtc0)
    [    2.683352] net eth0: initializing cpsw version 1.15 (0)
    [    2.794229] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    2.810490] cpts ptp bc clkid 0
    [    2.819092] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.886583] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    4.891056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.921032] IP-Config: Complete:
    [    4.924282]      device=eth0, hwaddr=00:a0:f4:de:ad:bd, ipaddr=10.3.33.189, mask=255.255.248.0, gw=255.255.255.255
    [    4.934710]      host=off, domain=, nis-domain=(none)
    [    4.939858]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    4.948211] aic_dvdd: disabling
    [    4.951392] vmmcwl_fixed: disabling
    [    4.954907] pbias_mmc_omap5: disabling
    [    4.958690] ALSA device list:
    [    4.961691]   No soundcards found.
    [    4.987719] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    4.994803] devtmpfs: mounted
    [    5.000982] Freeing unused kernel memory: 2048K
    [    5.445338] systemd[1]: System time before build time, advancing clock.
    [    5.515195] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    5.536940] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    5.572500] systemd[1]: Set hostname to <am57xx-evm>.
    [    6.597971] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.605190] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    6.641559] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.680592] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.721334] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.728149] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.767287] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.801665] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.831680] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.871890] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Created slice System Slice.
             Mounting Temporary Directory (/tmp)...
             Mounting Kernel Debug File System...
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
             Starting Load Kernel Modules...
             Mounting POSIX Message Queue File System...
    [    7.331845] cmemk: loading out-of-tree module taints kernel.
             Starting Create list of required st…ce nodes for the current k[    7.348635] CMEMK module: reference Linux version 4.14.40
    ernel...
    [    7.361770] cmemk initialized
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    7.405942] cryptodev: driver 1.9 loaded.
    [  OK  ] Reached target Remote File Systems.
    [    7.474410] usbcore: registered new interface driver usbfs
             [    7.481832] usbcore: registered new interface driver hub
    Starting Remount Root and Kernel File Systems...
    [    7.491212] usbcore: registered new device driver usb
    [  OK  ] Listening on Network Service Netlink Socket.[    7.518702] usbcore: registered new interface driver usbserial
    
             Starting Journal Service...
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Create list of required sta������vice nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    8.455397] systemd-journald[102]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Load/Save Random Seed...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   11.245766] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   11.297281] remoteproc remoteproc0: 58820000.ipu is available
    [   11.347969] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.355047] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   11.365171] remoteproc remoteproc1: 55020000.ipu is available
    [   11.372517] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   11.382756] remoteproc remoteproc2: 40800000.dsp is available
    [   11.651658] remoteproc remoteproc0: powering up 58820000.ipu
    [   11.700357] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.807892] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [   13.227714] remoteproc remoteproc2: powering up 40800000.dsp
    [   13.242750] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 1845200
    [   13.406767] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.442094] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   13.483208] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   13.524150] remoteproc remoteproc2: Failed to find resource table
    [   13.613069] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.738761] CAN device driver interface
    [   14.025335] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   14.064862] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Listening on dropbear.socket.
    [   14.152410] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=83)
    [  OK  ] Started Daily rotation of log files.
    [   14.206822] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [   14.362010] vpe 489d0000.vpe: Device registered as /dev/video0
             Starting Network Service...
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started System Logging Service.
    [   14.630550] remoteproc remoteproc1: powering up 55020000.ipu
    [   14.645921] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
    [   14.704951] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
             Starting uim-sysfs.service...
    [  OK  ] Reached target Containers.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started D-Bus System Message Bus.
    [   15.438430] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   15.453972] remoteproc remoteproc1: registered virtio0 (type 7)
    [   15.465480] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   15.485648] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   15.492693] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   15.493322] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   15.550298] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   15.675954] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.694076] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   15.757776] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.783749] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   17.359884] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting TI MultiCore Tools Daemon...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Periodic Command Scheduler.
             Starting RPC Bind Service...
             Starting Login Service...
    [  OK  ] Started Network Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [  OK  ] Started RPC Bind Service.
    [   25.346925] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   25.358098] dwc3 488d0000.usb: failed to initialize core
    [   25.424841] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   25.432081] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   25.492580] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   25.580203] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Permit User Sessions...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Network Name Resolution...
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Wait for Network to be Configured...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting tiipclad-daemon.service...
             Starting telnetd.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
    [   35.926218] NET: Registered protocol family 15
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [   36.287501] Initializing XFRM netlink socket
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                                                                              
    
    

  • Billa,

    I test on AM572x TI EVM and it works fine there. Below are the steps:

    1. I have modified omap_hwmod_7xx_data.c as we discussed, plus something more:

    /* l4_wkup -> kbd */

    static struct omap_hwmod_ocp_if dra7xx_l4_wkup__kbd = {

    .master = &dra7xx_l4_wkup_hwmod,

    .slave = &dra7xx_kbd_hwmod,

    .clk = "wkupaon_iclk_mux",

    .user = OCP_USER_MPU | OCP_USER_SDMA,

    };

    static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {

    ....

    &dra7xx_l4_wkup__kbd,

    I am attaching the whole file omap_hwmod_7xx_data.c:

    omap_hwmod_7xx_data.c

    I use the default omap4-keypad.c file, no changes there.

    2. I am using ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15 to create kernel image (zImage)

    linux-rt-4.14.40/arch/arm/configs/tisdk_am57xx-evm-rt_defconfig

    linux-rt-4.14.40$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean

    linux-rt-4.14.40$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am57xx-evm-rt_defconfig

    linux-rt-4.14.40$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig

    Device Drivers -> Input device support -> Keyboard -> TI OMAP4 keybord

    linux-rt-4.14.40$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage

    3. I have modified two DTS files to add keypad: dra7.dtsi and am57xx-evm-common.dtso

    I am attaching these two DTS files:

    dra7.dtsi

    am57xx-evm-common.dtso

    Then I use the below command to generate dtb file:

    linux-rt-4.14.40$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs

      DTC-M   arch/arm/boot/dts/am57xx-evm.dtb

    Then I use the newly generated am57xx-evm.dtb file.

    When I boot up with new zImage and am57xx-evm.dtb, I have:

    root@am57xx-evm:~# devmem2 0x4ae07878
    /dev/mem opened.
    Memory mapped at address 0xb6f24000.
    Read at address  0x4AE07878 (0xb6f24878): 0x00000002
    root@am57xx-evm:~# dmesg | grep keypad
    [    3.231748] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    root@am57xx-evm:~#

     

    I am attaching the full boot up log for reference:

    keypad_log

     

    Regards,
    Pavel

  • Pavel,

    It seems tha we are moving in the good direction. I moved keypad node to dra7.dtsi and this is what I got:

    root@am57xx-evm:~#
    root@am57xx-evm:~#
    root@am57xx-evm:~# devmem2 0x4ae07878
    /dev/mem opened.
    Memory mapped at address 0xb6f42000.
    Read at address  0x4AE07878 (0xb6f42878): 0x00000002
    root@am57xx-evm:~#                  
    root@am57xx-evm:~#
    root@am57xx-evm:~#
    root@am57xx-evm:~#
    root@am57xx-evm:~# dmesg | grep keypad/
    [    1.917829] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    root@am57xx-evm:~#

    Now I tried to create a simple program (see attached files) for getting the pressed keys, but it does nothing.

    Billa

    5633.Makefile.txt
    CROSS_COMPILE := /usr/bin/arm-linux-gnueabihf-
    CC := $(CROSS_COMPILE)gcc
    PROGS := keypad
    
    all: $(PROGS)
    
    clean:
    	rm -fr $(PROGS)
    
    
    keypad.c.txt
    // SPDX-License-Identifier: GPL-2.0
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <fcntl.h>
    #include <string.h>
    #include <memory.h>
    #include <malloc.h>
    #include <time.h>
    #include <ctype.h>
    #include <sys/types.h>
    #include <sys/wait.h>
    #include <signal.h>
    #include <errno.h>
    #include <sys/time.h>
    #include <linux/hpet.h>
    #include <fcntl.h>
    #include <termios.h>
    #include <linux/serial.h>
    #include <sys/ioctl.h>
    
    
    int main(int argc, const char **argv)
    {
    	char device[50], buffer[50];
    	int fd, counter, len, i;
    	// Open your specific device (e.g., /dev/mydevice): 
    	fd = open ("/dev/input/event0", O_RDWR);
    	if (fd < 0) 
    		{ printf("ERROR openning keypad device %s\n", device); return -1; }
    
    	// Read
    	while(1)
    	{
    		len = read(fd, buffer, 1);
    		for(i=0;i<len;i++)
    		{
    			printf("%0X ", buffer[0]);
    			fflush(stdout);
    		}
    	}
    
    	// Close the device when finished:
    	if (close (fd) < 0) 
    		{ printf("ERROR closing serial device %s\n", device); return -1; }
    
    	// Debug
    	printf("\nHasta luego Lucas desde %s\n", device);
    
    	// OK
    	return 0;
    }
    
    
    

  • They are configured as:

    (M9 | PIN_OUTPUT)

    Do they need to be configures as PIN_INPUT?
  • I configured the rows and columns as (M9 | PIN_OUTPUT) but it still fails.

    I have noticed that if I activate the keypad node in dts

    &keypad {

              status = "okay";

    }

    I get an error during Linux bootup (see attached log file):

    Backtrace:

    [    2.914999] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)

    [    2.915005]  r7:0000004c r6:20000193 r5:00000000 r4:c10578fc

    [    2.915017] [<c020b58c>] (show_stack) from [<c091ad1c>] (dump_stack+0x90/0xa4)

    [    2.915028] [<c091ac8c>] (dump_stack) from [<c0282648>] (__report_bad_irq+0x30/0xd4)

    [    2.915033]  r7:0000004c r6:d3673600 r5:00000000 r4:d3673600

    [    2.915040] [<c0282618>] (__report_bad_irq) from [<c0282a80>] (note_interrupt+0x270/0x2bc)

    [    2.915045]  r9:fa213000 r8:d3408000 r7:0000004c r6:d3673600 r5:00000000 r4:d3673600

    [    2.915052] [<c0282810>] (note_interrupt) from [<c027fb54>] (handle_irq_event_percpu+0x74/0x80)

    [    2.915057]  r10:c0280c4c r9:fa213000 r8:d3408000 r7:00000002 r6:d3673600 r5:00000000

    [    2.915059]  r4:c0932958 r3:00000000

    [    2.915065] [<c027fae0>] (handle_irq_event_percpu) from [<c027fbe0>] (handle_irq_event+0x80/0xb8)

    [    2.915069]  r7:00000000 r6:00000000 r5:d3673670 r4:d3673600

    [    2.915076] [<c027fb60>] (handle_irq_event) from [<c02836fc>] (handle_fasteoi_irq+0x94/0x1cc)

    [    2.915080]  r7:00000000 r6:00000000 r5:c1025580 r4:d3673600

    [    2.915089] [<c0283668>] (handle_fasteoi_irq) from [<c027ec54>] (generic_handle_irq+0x2c/0x3c)

    [    2.915092]  r5:0000004c r4:c0e5ed44

    [    2.915101] [<c027ec28>] (generic_handle_irq) from [<c027f1f0>] (__handle_domain_irq+0x64/0xbc)

    [    2.915108] [<c027f18c>] (__handle_domain_irq) from [<c0201484>] (gic_handle_irq+0x54/0x98)

    [    2.915113]  r9:fa213000 r8:d285de98 r7:fa212000 r6:fa21200c r5:c102557c r4:c1006838

    [    2.915119] [<c0201430>] (gic_handle_irq) from [<c020c0f8>] (__irq_svc+0x58/0xa0)

    [    2.915122] Exception stack(0xd285de98 to 0xd285dee0)

    [    2.915126] de80:                                                       d3673670 00000010

    [    2.915131] dea0: d3673600 00001a8a d3673600 d3673670 d2842ec0 d3673614 d3673600 d2842ec0

    [    2.915136] dec0: c0280c4c d285def4 d285def8 d285dee8 c0280bf0 c0932958 20000113 ffffffff

    [    2.915142]  r9:d285c000 r8:d3673600 r7:d285decc r6:ffffffff r5:20000113 r4:c0932958

    [    2.915151] [<c0932930>] (_raw_spin_unlock_irq) from [<c0280bf0>] (irq_finalize_oneshot.part.1+0x84/0xe0)

    [    2.915157] [<c0280b6c>] (irq_finalize_oneshot.part.1) from [<c0280ca4>] (irq_forced_thread_fn+0x58/0x7c)

    [    2.915161]  r7:00000001 r6:00000002 r5:d3673600 r4:d2842ec0

    [    2.915166] [<c0280c4c>] (irq_forced_thread_fn) from [<c0280fd0>] (irq_thread+0x130/0x208)

    [    2.915170]  r7:00000001 r6:00000000 r5:ffffe000 r4:d2842ee4

    [    2.915177] [<c0280ea0>] (irq_thread) from [<c0248440>] (kthread+0x164/0x16c)

    [    2.915182]  r10:d3469ca0 r9:c0280ea0 r8:d2842ec0 r7:d285c000 r6:00000000 r5:d2842f40

    [    2.915184]  r4:d2842f80

    2465.log.txt
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #28 SMP PREEMPT RT Wed Nov 21 16:30:30 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] On node 0 totalpages: 126976
    [    0.000000] free_area_init_node: node 0, pgdat c10579c0, node_mem_map d3b3e000
    [    0.000000]   DMA zone: 1116 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 126976 pages, LIFO batch:31
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] pcpu-alloc: s31968 r8192 d21280 u61440 alloc=15*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.186:10.3.33.185::255.255.248.0:::off
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
                       lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc0a00000   (10208 kB)
                         .init : 0xc0e00000 - 0xc1000000   (2048 kB)
                         .data : 0xc1000000 - 0xc1059620   ( 358 kB)
                          .bss : 0xc105b000 - 0xc10b1dc4   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] 	RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000] 	No expedited grace period (rcu_normal_after_boot).
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000339] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000342] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000852] Console: colour dummy device 80x30
    [    0.000968] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000970] This ensures that you still see kernel messages. Please
    [    0.000972] update your kernel commandline.
    [    0.000984] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000991] pid_max: default: 32768 minimum: 301
    [    0.001113] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001119] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001736] CPU: Testing write buffer coherency: ok
    [    0.001974] /cpus/cpu@0 missing clock-frequency property
    [    0.002005] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039877] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079870] Hierarchical SRCU implementation.
    [    0.140339] EFI services will not be available.
    [    0.160002] smp: Bringing up secondary CPUs ...
    [    0.160013] smp: Brought up 1 node, 1 CPU
    [    0.160022] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160029] CPU: All CPU(s) started in HYP mode.
    [    0.160036] CPU: Virtualization extensions available.
    [    0.160590] devtmpfs: initialized
    [    0.196385] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200216] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200461] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200481] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204316] pinctrl core: initialized pinctrl subsystem
    [    0.205160] DMI not present or invalid.
    [    0.205607] NET: Registered protocol family 16
    [    0.208096] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.208998] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.416757] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.416864] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.417129] OMAP GPIO hardware version 0.1
    [    0.418054] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.418169] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.419210] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.419320] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.420500] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.420618] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.421706] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.421810] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.422882] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.422997] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.424063] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.424168] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.425226] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.425342] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.450231] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.450244] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.450785] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.450797] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.452125] OMAP DMA hardware revision 0.0
    [    0.504468] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507009] edma 43300000.edma: memcpy is disabled
    [    0.513040] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.513691] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-evm12v0[0]'
    [    0.514062] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-evm5v0[0]'
    [    0.514144] evm_5v0: supplied by evm_12v0
    [    0.514561] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-evm_3v6[0]'
    [    0.514621] evm_3v6: supplied by evm_5v0
    [    0.515041] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vsys3v3[0]'
    [    0.515103] vsys_3v3: supplied by evm_12v0
    [    0.515513] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-evm_3v3[0]'
    [    0.515576] evm_3v3: supplied by vsys_3v3
    [    0.515990] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.516054] aic_dvdd: supplied by evm_3v3
    [    0.516633] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.517043] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-evm_1v8[0]'
    [    0.517798] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/gpio-regulator-TPS74801[0]'
    [    0.517848] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-regulator-TPS74801[0]' - status (0)
    [    0.517907] vddshv8: invalid voltage constraints
    [    0.517920] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518013] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521523] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522033] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522616] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523201] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.523782] iommu: Adding device 58820000.ipu to group 1
    [    0.523973] iommu: Adding device 55020000.ipu to group 2
    [    0.524314] iommu: Adding device 40800000.dsp to group 0
    [    0.526343] media: Linux media interface: v0.10
    [    0.526392] Linux video capture interface: v2.00
    [    0.526517] pps_core: LinuxPPS API ver. 1 registered
    [    0.526525] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526548] PTP clock support registered
    [    0.526583] EDAC MC: Ver: 3.0.0
    [    0.530806] dmi: Firmware registration failed.
    [    0.531383] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531689] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532242] Advanced Linux Sound Architecture Driver Initialized.
    [    0.540853] clocksource: Switched to clocksource arch_sys_counter
    [    0.554237] NET: Registered protocol family 2
    [    0.555087] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555140] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555277] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555376] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555409] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555659] NET: Registered protocol family 1
    [    0.576194] RPC: Registered named UNIX socket transport module.
    [    0.576205] RPC: Registered udp transport module.
    [    0.576215] RPC: Registered tcp transport module.
    [    0.576224] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.576237] PCI: CLS 0 bytes, default 64
    [    0.577602] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.577816] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579626] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587701] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598606] NFS: Registering the id_resolver key type
    [    0.598640] Key type id_resolver registered
    [    0.598649] Key type id_legacy registered
    [    0.598721] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601255] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601270] io scheduler noop registered
    [    0.601280] io scheduler deadline registered
    [    0.601435] io scheduler cfq registered (default)
    [    0.601446] io scheduler mq-deadline registered
    [    0.601456] io scheduler kyber registered
    [    0.607624] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.607878] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.607968] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.607980] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.701531] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.706160] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.707901] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.614898] console [ttyS2] enabled
    [    1.620156] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.631590] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.656223] brd: module loaded
    [    1.670775] loop: module loaded
    [    1.679942] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.686294] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.691191] 10 ofpart partitions found on MTD device spi0.0
    [    1.696790] Creating 10 MTD partitions on "spi0.0":
    [    1.701694] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.708079] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.715083] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.722091] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.729073] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.735626] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.742791] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.749677] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.757300] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.763859] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.771818] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    1.771826] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    1.771833] mdio_bus fixed-0: lookup for GPIO reset failed
    [    1.771859] libphy: Fixed MDIO Bus: probed
    [    1.780172] mdio_bus 48485000.mdio: GPIO lookup for consumer reset
    [    1.780180] mdio_bus 48485000.mdio: using device tree for GPIO lookup
    [    1.780221] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' - status (0)
    [    1.780278] mdio_bus 48485000.mdio: GPIO lookup for consumer reset
    [    1.780284] mdio_bus 48485000.mdio: using device tree for GPIO lookup
    [    1.780311] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[1]'
    [    1.780320] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[1]'
    [    1.780326] mdio_bus 48485000.mdio: using lookup tables for GPIO lookup
    [    1.780333] mdio_bus 48485000.mdio: lookup for GPIO reset failed
    [    1.830908] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.838607] libphy: 48485000.mdio: probed
    [    1.855051] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    1.865481] cpsw 48484000.ethernet: Detected MACID = 00:a0:de:ad:be:ef
    [    1.872045] cpsw 48484000.ethernet: GMAC port 0
    [    1.876696] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.883082] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.888344] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.895379] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.904324] net eth0: rpmsg goose driver init: 0
    [    1.909047] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    1.917182] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    [    1.926921] i2c /dev entries driver
    [    1.931731] IR NEC protocol handler initialized
    [    1.936284] IR RC5(x/sz) protocol handler initialized
    [    1.941479] IR RC6 protocol handler initialized
    [    1.946049] IR JVC protocol handler initialized
    [    1.950601] IR Sony protocol handler initialized
    [    1.955240] IR SANYO protocol handler initialized
    [    1.959966] IR Sharp protocol handler initialized
    [    1.964693] IR MCE Keyboard/mouse protocol handler initialized
    [    1.970553] IR XMP protocol handler initialized
    [    1.975505] poweroff-gpio gpio-poweroff: GPIO lookup for consumer (null)
    [    1.975513] poweroff-gpio gpio-poweroff: using device tree for GPIO lookup
    [    1.975559] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-poweroff[0]' - status (0)
    [    1.981392] sdhci: Secure Digital Host Controller Interface driver
    [    1.987603] sdhci: Copyright(c) Pierre Ossman
    [    2.914967] irq 76: nobody cared (try booting with the "irqpoll" option)
    [    2.914974] CPU: 0 PID: 68 Comm: irq/76-omap4-ke Not tainted 4.14.40-rt29-gd5443cbd3b #28
    [    2.914977] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    2.914979] Backtrace: 
    [    2.914999] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    2.915005]  r7:0000004c r6:20000193 r5:00000000 r4:c10578fc
    [    2.915017] [<c020b58c>] (show_stack) from [<c091ad1c>] (dump_stack+0x90/0xa4)
    [    2.915028] [<c091ac8c>] (dump_stack) from [<c0282648>] (__report_bad_irq+0x30/0xd4)
    [    2.915033]  r7:0000004c r6:d3673600 r5:00000000 r4:d3673600
    [    2.915040] [<c0282618>] (__report_bad_irq) from [<c0282a80>] (note_interrupt+0x270/0x2bc)
    [    2.915045]  r9:fa213000 r8:d3408000 r7:0000004c r6:d3673600 r5:00000000 r4:d3673600
    [    2.915052] [<c0282810>] (note_interrupt) from [<c027fb54>] (handle_irq_event_percpu+0x74/0x80)
    [    2.915057]  r10:c0280c4c r9:fa213000 r8:d3408000 r7:00000002 r6:d3673600 r5:00000000
    [    2.915059]  r4:c0932958 r3:00000000
    [    2.915065] [<c027fae0>] (handle_irq_event_percpu) from [<c027fbe0>] (handle_irq_event+0x80/0xb8)
    [    2.915069]  r7:00000000 r6:00000000 r5:d3673670 r4:d3673600
    [    2.915076] [<c027fb60>] (handle_irq_event) from [<c02836fc>] (handle_fasteoi_irq+0x94/0x1cc)
    [    2.915080]  r7:00000000 r6:00000000 r5:c1025580 r4:d3673600
    [    2.915089] [<c0283668>] (handle_fasteoi_irq) from [<c027ec54>] (generic_handle_irq+0x2c/0x3c)
    [    2.915092]  r5:0000004c r4:c0e5ed44
    [    2.915101] [<c027ec28>] (generic_handle_irq) from [<c027f1f0>] (__handle_domain_irq+0x64/0xbc)
    [    2.915108] [<c027f18c>] (__handle_domain_irq) from [<c0201484>] (gic_handle_irq+0x54/0x98)
    [    2.915113]  r9:fa213000 r8:d285de98 r7:fa212000 r6:fa21200c r5:c102557c r4:c1006838
    [    2.915119] [<c0201430>] (gic_handle_irq) from [<c020c0f8>] (__irq_svc+0x58/0xa0)
    [    2.915122] Exception stack(0xd285de98 to 0xd285dee0)
    [    2.915126] de80:                                                       d3673670 00000010
    [    2.915131] dea0: d3673600 00001a8a d3673600 d3673670 d2842ec0 d3673614 d3673600 d2842ec0
    [    2.915136] dec0: c0280c4c d285def4 d285def8 d285dee8 c0280bf0 c0932958 20000113 ffffffff
    [    2.915142]  r9:d285c000 r8:d3673600 r7:d285decc r6:ffffffff r5:20000113 r4:c0932958
    [    2.915151] [<c0932930>] (_raw_spin_unlock_irq) from [<c0280bf0>] (irq_finalize_oneshot.part.1+0x84/0xe0)
    [    2.915157] [<c0280b6c>] (irq_finalize_oneshot.part.1) from [<c0280ca4>] (irq_forced_thread_fn+0x58/0x7c)
    [    2.915161]  r7:00000001 r6:00000002 r5:d3673600 r4:d2842ec0
    [    2.915166] [<c0280c4c>] (irq_forced_thread_fn) from [<c0280fd0>] (irq_thread+0x130/0x208)
    [    2.915170]  r7:00000001 r6:00000000 r5:ffffe000 r4:d2842ee4
    [    2.915177] [<c0280ea0>] (irq_thread) from [<c0248440>] (kthread+0x164/0x16c)
    [    2.915182]  r10:d3469ca0 r9:c0280ea0 r8:d2842ec0 r7:d285c000 r6:00000000 r5:d2842f40
    [    2.915184]  r4:d2842f80
    [    2.915191] [<c02482dc>] (kthread) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    2.915196]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c02482dc
    [    2.915198]  r4:d2842f40
    [    2.915200] handlers:
    [    2.915203] [<c027fc6c>] irq_default_primary_handler threaded [<c06e8348>] omap4_keypad_irq_handler
    [    2.915214] Disabling IRQ #76
    [    3.213259] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.220481] sdhci-omap 480b4000.mmc: GPIO lookup for consumer cd
    [    3.220489] sdhci-omap 480b4000.mmc: using device tree for GPIO lookup
    [    3.220500] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.220509] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.220516] sdhci-omap 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.220548] sdhci-omap 480b4000.mmc: lookup for GPIO cd failed
    [    3.220558] sdhci-omap 480b4000.mmc: GPIO lookup for consumer wp
    [    3.220564] sdhci-omap 480b4000.mmc: using device tree for GPIO lookup
    [    3.220574] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.220582] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.220589] sdhci-omap 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.220596] sdhci-omap 480b4000.mmc: lookup for GPIO wp failed
    [    3.280890] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    3.300051] NET: Registered protocol family 10
    [    3.316047] Segment Routing with IPv6
    [    3.319846] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.326618] NET: Registered protocol family 17
    [    3.331592] Key type dns_resolver registered
    [    3.336064] omap_voltage_late_init: Voltage driver support not added
    [    3.342450] Power Management for TI OMAP4+ devices.
    [    3.347713] Registering SWP/SWPB emulation handler
    [    3.395596] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.401295] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401307] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    3.401317] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401328] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    3.401337] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=1 F=13)0x2902d
    [    3.401347] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    3.401356] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401365] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    3.401374] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401382] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401391] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    3.401400] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=6)0x29006
    [    3.401408] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    3.401417] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    3.401426] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=8)0x29008
    [    3.401434] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401443] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401451] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    3.401484] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401493] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401502] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401511] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401519] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401528] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401536] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401545] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401553] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401561] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401570] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.401655] mmc0: new DDR MMC card at address 0001
    [    3.404465] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    3.406357] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    3.407834] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    3.409726] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    3.411462]  mmcblk0: p1 p2 p3 p4 < >
    [    3.701755] dmm 4e000000.dmm: initialized all PAT entries
    [    3.710625] hctosys: unable to open rtc device (rtc0)
    [    3.717263] net eth0: initializing cpsw version 1.15 (0)
    [    3.823873] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    3.840122] cpts ptp bc clkid 0
    [    3.848732] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    5.926515] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    5.950913] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.980885] IP-Config: Complete:
    [    5.984135]      device=eth0, hwaddr=00:a0:de:ad:be:ef, ipaddr=10.3.33.186, mask=255.255.248.0, gw=255.255.255.255
    [    5.994562]      host=10.3.33.186, domain=, nis-domain=(none)
    [    6.000338]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    6.008721] aic_dvdd: disabling
    [    6.011885] vmmcwl_fixed: disabling
    [    6.015401] pbias_mmc_omap5: disabling
    [    6.019185] ALSA device list:
    [    6.022168]   No soundcards found.
    [    6.050230] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    6.056932] devtmpfs: mounted
    [    6.063161] Freeing unused kernel memory: 2048K
    [    6.536820] systemd[1]: System time before build time, advancing clock.
    [    6.610409] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    6.632114] systemd[1]: Detected architecture arm.
    [    6.673156] systemd[1]: Set hostname to <am57xx-evm>.
    [    7.778822] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    7.821247] systemd[1]: Listening on udev Kernel Socket.
    [    7.962461] systemd[1]: Listening on Process Core Dump Socket.
    [    8.002091] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    8.041698] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    8.081046] systemd[1]: Reached target Paths.
    [    8.111616] systemd[1]: Reached target Swap.
    [    8.675422] cmemk: loading out-of-tree module taints kernel.
    [    8.688066] CMEMK module: reference Linux version 4.14.40
    [    8.699193] cmemk initialized
    [    8.729517] cryptodev: driver 1.9 loaded.
    [    8.802781] usbcore: registered new interface driver usbfs
    [    8.813540] usbcore: registered new interface driver hub
    [    8.823790] usbcore: registered new device driver usb
    [    8.843507] usbcore: registered new interface driver usbserial
    [    9.577212] systemd-journald[104]: Received request to flush runtime journal from PID 1
    [   12.457088] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   12.514028] remoteproc remoteproc0: 58820000.ipu is available
    [   12.556754] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   12.566037] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   12.568367] remoteproc remoteproc1: 55020000.ipu is available
    [   12.577822] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   12.580493] remoteproc remoteproc2: 40800000.dsp is available
    [   12.858568] remoteproc remoteproc0: powering up 58820000.ipu
    [   12.904093] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   13.003255] remoteproc remoteproc0: request_firmware failed: -2
    [   14.564524] remoteproc remoteproc2: powering up 40800000.dsp
    [   14.590071] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 2215440
    [   14.760645] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   14.800829] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   14.842478] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   15.052477] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   15.064759] remoteproc remoteproc2: registered virtio0 (type 7)
    [   15.082462] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   15.164166] CAN device driver interface
    [   15.441718] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=85)
    [   15.608143] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   15.655072] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   15.697696] omap-des 480a5000.des: will run requests pump with realtime priority
    [   15.731257] vpe 489d0000.vpe: Device registered as /dev/video0
    [   15.837028] remoteproc remoteproc1: powering up 55020000.ipu
    [   15.859134] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
    [   15.917141] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   16.672193] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   16.679455] remoteproc remoteproc1: registered virtio1 (type 7)
    [   16.690366] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   16.716837] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   16.725689] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [   16.802396] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   16.841383] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   16.997410] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   17.030592] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   17.094579] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   17.120507] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   18.802473] extcon-usb-gpio extcon_usb2: GPIO lookup for consumer id
    [   18.802484] extcon-usb-gpio extcon_usb2: using device tree for GPIO lookup
    [   18.802498] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb2[0]'
    [   18.802508] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/extcon_usb2[0]'
    [   18.802515] extcon-usb-gpio extcon_usb2: using lookup tables for GPIO lookup
    [   18.802523] extcon-usb-gpio extcon_usb2: lookup for GPIO id failed
    [   18.802532] extcon-usb-gpio extcon_usb2: GPIO lookup for consumer vbus
    [   18.802539] extcon-usb-gpio extcon_usb2: using device tree for GPIO lookup
    [   18.802547] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/extcon_usb2[0]'
    [   18.804788] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/extcon_usb2[0]' - status (0)
    [   18.806942] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
    [   22.712755] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [   22.766968] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   23.191486] EXT4-fs (mmcblk0p2): recovery complete
    [   23.214390] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   28.819326] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   28.822394] dwc3 488d0000.usb: failed to initialize core
    [   28.900372] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   28.933412] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   28.949154] dwc3 488d0000.usb: failed to initialize core
    [   28.959968] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   29.038252] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   29.106686] dwc3 488d0000.usb: failed to initialize core
    [   39.194622] NET: Registered protocol family 15
    [   39.561381] Initializing XFRM netlink socket
    

    [    2.915191] [<c02482dc>] (kthread) from [<c0207a40>] (ret_from_fork+0x14/0x34)

    [    2.915196]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c02482dc

    [    2.915198]  r4:d2842f40

    [    2.915200] handlers:

    [    2.915203] [<c027fc6c>] irq_default_primary_handler threaded [<c06e8348>] omap4_keypad_irq_handler

    [    2.915214] Disabling IRQ #76

  • Jose,

    Jose Carlos Billalabeitia said:
    I configured the rows and columns as (M9 | PIN_OUTPUT) but it still fails.

    Per mine understanding you need to configure row pins as input and column pins as output. And you need to do that in u-boot code, mux_data.h file. This is done in the e2e thread you have provided in the beginning:

    See also:

    AM5708 DM, section 4.3.21 KBD

    AM5708 TRM, sections 28.1 Keyboard Controller Overview, 28.2 Keyboard Controller Environment

    Regards,
    Pavel

  • Pavel,

    I reconfigured the rows-columns according to the post above, but it still fails.

    I think the main issue right now has to do with the IRQ associated to the keypad.

    Linux has some kind of conflict that I think we should find.

    It seems that the KBD interrupt 115 is mapped to the MPU interrupt 76, but that

    interrupt is not configured for Linux.

    Regards

    Billa

  • Jose Carlos Billalabeitia said:

    I think the main issue right now has to do with the IRQ associated to the keypad.

    Linux has some kind of conflict that I think we should find.

    It seems that the KBD interrupt 115 is mapped to the MPU interrupt 76, but that

    interrupt is not configured for Linux.

    The correct irq number for AM57x Keypad is 115. My DTS (dra7.dtsi and am57xx-evm-common.dtso) has:

    keypad: keypad@4ae1c000 {
                            compatible = "ti,omap4-keypad";
                            reg = <0x4ae1c000 0x80>;
                            keypad,num-rows = <3>;
                            keypad,num-columns = <4>;
                            interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
                            ti,hwmods = "kbd";
                            linux,keymap = <0x00000041 0x00010042 0x00020043 0x00030044
                            0x01000045 0x01010046 0x01020047 0x01030048
                            0x02000049 0x0201004a 0x0202004b 0x0203004c>;
            };

    &keypad {
        status = "okay";
    }

     

    And my AM57x EVM board boot fine, no warnings related to keypad irq. Make sure you are using number 115, not 120. 120 is applicable for OMAP4x Cortex-A9 device only.

     

    Regards,
    Pavel

  • What I thought is that 115 KBD interrupt should be mapped through irq crossbar toa another IRQ for the A15.
  • But most of my tries were with 115
  • Jose,

    Please provide me your latest DTS files related to keyboard and your latest full boot up log that is based on these DTS files. I will check these.

    Regards,
    Pavel
  • keypad_log.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #49 SMP PREEMPT RT Fri Nov 23 13:40:10 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.186:10.f
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059620   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1dc4   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000341] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000343] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000859] Console: colour dummy device 80x30
    [    0.000977] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000979] This ensures that you still see kernel messages. Please
    [    0.000981] update your kernel commandline.
    [    0.000994] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.001001] pid_max: default: 32768 minimum: 301
    [    0.001120] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001126] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001741] CPU: Testing write buffer coherency: ok
    [    0.001981] /cpus/cpu@0 missing clock-frequency property
    [    0.002013] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039874] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079866] Hierarchical SRCU implementation.
    [    0.140331] EFI services will not be available.
    [    0.159996] smp: Bringing up secondary CPUs ...
    [    0.160006] smp: Brought up 1 node, 1 CPU
    [    0.160015] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160023] CPU: All CPU(s) started in HYP mode.
    [    0.160030] CPU: Virtualization extensions available.
    [    0.160581] devtmpfs: initialized
    [    0.196964] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200203] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200448] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200467] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204348] pinctrl core: initialized pinctrl subsystem
    [    0.205189] DMI not present or invalid.
    [    0.205638] NET: Registered protocol family 16
    [    0.208130] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209023] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.417756] OMAP GPIO hardware version 0.1
    [    0.450946] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.450958] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.451444] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.451455] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.452774] OMAP DMA hardware revision 0.0
    [    0.504707] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507262] edma 43300000.edma: memcpy is disabled
    [    0.513356] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514472] evm_5v0: supplied by evm_12v0
    [    0.514946] evm_3v6: supplied by evm_5v0
    [    0.515428] vsys_3v3: supplied by evm_12v0
    [    0.515901] evm_3v3: supplied by vsys_3v3
    [    0.516382] aic_dvdd: supplied by evm_3v3
    [    0.518244] vddshv8: invalid voltage constraints
    [    0.518258] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518351] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521884] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522397] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522975] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523563] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.524141] iommu: Adding device 58820000.ipu to group 1
    [    0.524331] iommu: Adding device 55020000.ipu to group 2
    [    0.524671] iommu: Adding device 40800000.dsp to group 0
    [    0.526712] media: Linux media interface: v0.10
    [    0.526761] Linux video capture interface: v2.00
    [    0.526888] pps_core: LinuxPPS API ver. 1 registered
    [    0.526896] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526919] PTP clock support registered
    [    0.526955] EDAC MC: Ver: 3.0.0
    [    0.531083] dmi: Firmware registration failed.
    [    0.531649] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531954] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532515] Advanced Linux Sound Architecture Driver Initialized.
    [    0.541133] clocksource: Switched to clocksource arch_sys_counter
    [    0.554564] NET: Registered protocol family 2
    [    0.555420] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555473] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555607] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555707] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555740] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555990] NET: Registered protocol family 1
    [    0.576523] RPC: Registered named UNIX socket transport module.
    [    0.576535] RPC: Registered udp transport module.
    [    0.576544] RPC: Registered tcp transport module.
    [    0.576552] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577931] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.578145] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579968] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587930] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598835] NFS: Registering the id_resolver key type
    [    0.598868] Key type id_resolver registered
    [    0.598878] Key type id_legacy registered
    [    0.598950] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601501] io scheduler noop registered
    [    0.601511] io scheduler deadline registered
    [    0.601663] io scheduler cfq registered (default)
    [    0.601674] io scheduler mq-deadline registered
    [    0.601684] io scheduler kyber registered
    [    0.607843] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.608093] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608184] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608195] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.701692] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.706316] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.708062] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.615071] console [ttyS2] enabled
    [    1.620333] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.631741] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.656353] brd: module loaded
    [    1.670877] loop: module loaded
    [    1.680058] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.686423] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.691320] 10 ofpart partitions found on MTD device spi0.0
    [    1.696918] Creating 10 MTD partitions on "spi0.0":
    [    1.701823] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.708208] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.715203] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.722245] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.729221] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.735789] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.742950] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.749834] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.757460] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.764015] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.772022] libphy: Fixed MDIO Bus: probed
    [    1.831187] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.838887] libphy: 48485000.mdio: probed
    [    1.855551] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    1.865983] cpsw 48484000.ethernet: Detected MACID = 00:a0:de:ad:be:ef
    [    1.872548] cpsw 48484000.ethernet: GMAC port 0
    [    1.877198] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.883585] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.888847] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.895880] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.904817] net eth0: rpmsg goose driver init: 0
    [    1.909539] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    1.917667] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    [    1.927449] i2c /dev entries driver
    [    1.932229] IR NEC protocol handler initialized
    [    1.936782] IR RC5(x/sz) protocol handler initialized
    [    1.942164] IR RC6 protocol handler initialized
    [    1.946717] IR JVC protocol handler initialized
    [    1.951269] IR Sony protocol handler initialized
    [    1.955910] IR SANYO protocol handler initialized
    [    1.960635] IR Sharp protocol handler initialized
    [    1.965362] IR MCE Keyboard/mouse protocol handler initialized
    [    1.971222] IR XMP protocol handler initialized
    [    1.982005] sdhci: Secure Digital Host Controller Interface driver
    [    1.988230] sdhci: Copyright(c) Pierre Ossman
    [    2.887941] irq 76: nobody cared (try booting with the "irqpoll" option)
    [    2.887948] CPU: 0 PID: 68 Comm: irq/76-omap4-ke Not tainted 4.14.40-rt29-gd5443cbd3b #49
    [    2.887950] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    2.887952] Backtrace: 
    [    2.887973] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    2.887980]  r7:0000004c r6:20000193 r5:00000000 r4:c10578fc
    [    2.887991] [<c020b58c>] (show_stack) from [<c091ad1c>] (dump_stack+0x90/0xa4)
    [    2.888001] [<c091ac8c>] (dump_stack) from [<c0282648>] (__report_bad_irq+0x30/0xd4)
    [    2.888006]  r7:0000004c r6:d3673600 r5:00000000 r4:d3673600
    [    2.888013] [<c0282618>] (__report_bad_irq) from [<c0282a80>] (note_interrupt+0x270/0x2bc)
    [    2.888019]  r9:fa213000 r8:d3408000 r7:0000004c r6:d3673600 r5:00000000 r4:d3673600
    [    2.888025] [<c0282810>] (note_interrupt) from [<c027fb54>] (handle_irq_event_percpu+0x74/0x80)
    [    2.888030]  r10:c0280c4c r9:fa213000 r8:d3408000 r7:00000002 r6:d3673600 r5:00000000
    [    2.888033]  r4:c0932958 r3:00000000
    [    2.888039] [<c027fae0>] (handle_irq_event_percpu) from [<c027fbe0>] (handle_irq_event+0x80/0xb8)
    [    2.888043]  r7:00000000 r6:00000000 r5:d3673670 r4:d3673600
    [    2.888049] [<c027fb60>] (handle_irq_event) from [<c02836fc>] (handle_fasteoi_irq+0x94/0x1cc)
    [    2.888053]  r7:00000000 r6:00000000 r5:c1025580 r4:d3673600
    [    2.888062] [<c0283668>] (handle_fasteoi_irq) from [<c027ec54>] (generic_handle_irq+0x2c/0x3c)
    [    2.888064]  r5:0000004c r4:c0e5ed44
    [    2.888073] [<c027ec28>] (generic_handle_irq) from [<c027f1f0>] (__handle_domain_irq+0x64/0xbc)
    [    2.888080] [<c027f18c>] (__handle_domain_irq) from [<c0201484>] (gic_handle_irq+0x54/0x98)
    [    2.888086]  r9:fa213000 r8:d285de98 r7:fa212000 r6:fa21200c r5:c102557c r4:c1006838
    [    2.888092] [<c0201430>] (gic_handle_irq) from [<c020c0f8>] (__irq_svc+0x58/0xa0)
    [    2.888095] Exception stack(0xd285de98 to 0xd285dee0)
    [    2.888099] de80:                                                       d3673670 00000010
    [    2.888104] dea0: d3673600 00001a8a d3673600 d3673670 d2842ec0 d3673614 d3673600 d2842ec0
    [    2.888109] dec0: c0280c4c d285def4 d285def8 d285dee8 c0280bf0 c0932958 20000113 ffffffff
    [    2.888114]  r9:d285c000 r8:d3673600 r7:d285decc r6:ffffffff r5:20000113 r4:c0932958
    [    2.888123] [<c0932930>] (_raw_spin_unlock_irq) from [<c0280bf0>] (irq_finalize_oneshot.part.1+0x84/0xe0)
    [    2.888129] [<c0280b6c>] (irq_finalize_oneshot.part.1) from [<c0280ca4>] (irq_forced_thread_fn+0x58/0x7c)
    [    2.888133]  r7:00000001 r6:00000002 r5:d3673600 r4:d2842ec0
    [    2.888139] [<c0280c4c>] (irq_forced_thread_fn) from [<c0280fd0>] (irq_thread+0x130/0x208)
    [    2.888143]  r7:00000001 r6:00000000 r5:ffffe000 r4:d2842ee4
    [    2.888149] [<c0280ea0>] (irq_thread) from [<c0248440>] (kthread+0x164/0x16c)
    [    2.888154]  r10:d3469ca0 r9:c0280ea0 r8:d2842ec0 r7:d285c000 r6:00000000 r5:d2842f40
    [    2.888156]  r4:d2842f80
    [    2.888163] [<c02482dc>] (kthread) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    2.888168]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c02482dc
    [    2.888170]  r4:d2842f40
    [    2.888172] handlers:
    [    2.888175] [<c027fc6c>] irq_default_primary_handler threaded [<c06e8348>] omap4_keypad_irq_handler
    [    2.888186] Disabling IRQ #76
    [    3.186372] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.251179] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    3.270569] NET: Registered protocol family 10
    [    3.286567] Segment Routing with IPv6
    [    3.290367] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.297133] NET: Registered protocol family 17
    [    3.302100] Key type dns_resolver registered
    [    3.306557] omap_voltage_late_init: Voltage driver support not added
    [    3.312941] Power Management for TI OMAP4+ devices.
    [    3.318203] Registering SWP/SWPB emulation handler
    [    3.366053] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.371784] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371796] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    3.371806] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371816] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    3.371826] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=2 F=0)0x29040
    [    3.371835] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    3.371843] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371852] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    3.371861] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371870] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371879] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    3.371888] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=6)0x29006
    [    3.371897] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    3.371905] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    3.371914] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=8)0x29008
    [    3.371923] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371931] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371940] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    3.371972] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371981] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371990] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.371999] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372008] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372017] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372025] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372034] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372042] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372051] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372059] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.372143] mmc0: new DDR MMC card at address 0001
    [    3.374953] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    3.376848] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    3.378322] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    3.380214] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    3.381947]  mmcblk0: p1 p2 p3 p4 < >
    [    3.671966] dmm 4e000000.dmm: initialized all PAT entries
    [    3.680836] hctosys: unable to open rtc device (rtc0)
    [    3.687499] net eth0: initializing cpsw version 1.15 (0)
    [    3.794149] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    3.810393] cpts ptp bc clkid 0
    [    3.818999] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    5.926794] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    5.951193] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.981167] IP-Config: Complete:
    [    5.984417]      device=eth0, hwaddr=00:a0:de:ad:be:ef, ipaddr=10.3.33.186, mask=255.255.248.0, gw=255.255.255.255
    [    5.994839]      host=10.3.33.186, domain=, nis-domain=(none)
    [    6.000616]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    6.008998] aic_dvdd: disabling
    [    6.012162] vmmcwl_fixed: disabling
    [    6.015678] pbias_mmc_omap5: disabling
    [    6.019461] ALSA device list:
    [    6.022444]   No soundcards found.
    [    6.060904] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    6.067620] devtmpfs: mounted
    [    6.073876] Freeing unused kernel memory: 2048K
    [    6.544453] systemd[1]: System time before build time, advancing clock.
    [    6.615996] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    6.637727] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    6.673314] systemd[1]: Set hostname to <am57xx-evm>.
    [    7.764517] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    7.801372] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    7.831880] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    7.872062] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    7.912054] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    7.951293] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    7.987313] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Created slice System Slice.
             Mounting Temporary Directory (/tmp)...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [    8.360860] cmemk: loading out-of-tree module taints kernel.
    [    8.376459] CMEMK module: reference Linux version 4.14.40
    [    8.390423] cmemk initialized
             Mounting POSIX Message Queue File System...
    [    8.426849] cryptodev: driver 1.9 loaded.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Kernel Debug File System...
    [    8.561089] usbcore: registered new interface driver usbfs
    [    8.576198] usbcore: registered new interface driver hub
    [    8.577223] usbcore: registered new device driver usb
    [    8.601436] usbcore: registered new interface driver usbserial
    [  OK  ] Created slice system-getty.slice.
             Starting Create list of required st��…ce nodes for the current kernel...
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Create list of required sta��…vice nodes for the current kernel.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Starting Create Static Device Nodes in /dev...
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    9.659925] systemd-journald[104]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   12.464130] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   12.514573] remoteproc remoteproc0: 58820000.ipu is available
    [   12.566226] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   12.574158] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   12.577168] remoteproc remoteproc1: 55020000.ipu is available
    [   12.583892] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   12.588469] remoteproc remoteproc2: 40800000.dsp is available
    [   12.883808] remoteproc remoteproc0: powering up 58820000.ipu
    [   12.935088] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   13.025247] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily rotation of log files.
             Starting Network Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [   14.611447] remoteproc remoteproc2: powering up 40800000.dsp
    [   14.621492] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 2215440
    [   14.655138] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   14.662344] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   14.669516] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   14.729814] CAN device driver interface
    [   14.806456] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   14.849113] remoteproc remoteproc2: registered virtio0 (type 7)
    [   14.879853] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   15.231248] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   15.256779] omap-des 480a5000.des: will run requests pump with realtime priority
    [   15.402437] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=85)
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Reached target Containers.
    [   15.821762] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
             Starting TI MultiCore Tools Daemon...
    [   15.928549] remoteproc remoteproc1: powering up 55020000.ipu
    [   15.937093] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
    [   15.968681] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   16.601557] vpe 489d0000.vpe: Device registered as /dev/video0
    [   16.615194] virtio_rpmsg_bus virtio1: rpmsg host is online
    [  OK  ] Started System Logging Service.[   16.617568] remoteproc remoteproc1: registered virtio1 (type 7)
    
    [   16.617575] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   16.726574] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   16.734994] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   16.750535] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.[   16.843649] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    
    [   16.872692] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   17.012496] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [  OK  ] Started Job spooling tools.
    [   17.213947] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
             Starting RPC Bind Service...
    [   17.259782] omap-aes 4b700000.aes: will run requests pump with realtime priority
             Starting uim-sysfs.service...
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [   18.939899] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
             Starting Print notice about GPLv3 packages...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Network Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [  OK  ] Started RPC Bind Service.
    [   22.667414] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [   22.854647] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   23.040402] EXT4-fs (mmcblk0p2): recovery complete
    [   23.065334] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   28.726170] dwc3 488d0000.usb: failed to initialize core
    [   28.764962] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   28.814505] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   28.852847] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   28.865991] dwc3 488d0000.usb: failed to initialize core
    [   28.878250] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   28.965424] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   29.041036] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Lightning Fast Webserver With Light System Requirements...
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Permit User Sessions...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started weston.service.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [   39.023711] NET: Registered protocol family 15
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [   39.393035] Initializing XFRM netlink socket
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# dmesg | grep key
    [    0.598835] NFS: Registering the id_resolver key type
    [    1.917667] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    [    2.888175] [<c027fc6c>] irq_default_primary_handler threaded [<c06e8348>] omap4_keypad_irq_handler
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                                                                              
    
    
    0675.dra72-evm-common.dtsi.txt
    /*
     * Copyright (C) 2014-2016 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 "dra72x.dtsi"
    #include "dra7-ipu-dsp-common.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/clk/ti-dra7-atl.h>
    
    / {
    	compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7";
    
    	aliases {
    		display0 = &hdmi0;
    	};
    
    	chosen {
    		stdout-path = &uart3;
    	};
    
    	evm_12v0: fixedregulator-evm12v0 {
    		/* main supply */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_12v0";
    		regulator-min-microvolt = <12000000>;
    		regulator-max-microvolt = <12000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_5v0: fixedregulator-evm5v0 {
    		/* Output 1 of TPS43351QDAPRQ1 on dra72-evm */
    		/* Output 1 of LM5140QRWGTQ1 on dra71-evm */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_5v0";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_3v6: fixedregulator-evm_3v6 {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v6";
    		regulator-min-microvolt = <3600000>;
    		regulator-max-microvolt = <3600000>;
    		vin-supply = <&evm_5v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vsys_3v3: fixedregulator-vsys3v3 {
    		/* Output 2 of TPS43351QDAPRQ1 on dra72-evm */
    		/* Output 2 of LM5140QRWGTQ1 on dra71-evm */
    		compatible = "regulator-fixed";
    		regulator-name = "vsys_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	evm_3v3_sw: fixedregulator-evm_3v3 {
    		/* TPS22965DSG */
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vsys_3v3>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	aic_dvdd: fixedregulator-aic_dvdd {
    		/* TPS77018DBVT */
    		compatible = "regulator-fixed";
    		regulator-name = "aic_dvdd";
    		vin-supply = <&evm_3v3_sw>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	evm_3v3_sd: fixedregulator-sd {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_3v3_sd";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_3v3_sw>;
    		enable-active-high;
    		gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
    	};
    
    	extcon_usb1: extcon_usb1 {
    		compatible = "linux,extcon-usb-gpio";
    		id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
    		status = "disabled";
    	};
    
    	extcon_usb2: extcon_usb2 {
    		compatible = "linux,extcon-usb-gpio";
    		vbus-gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
    	};
    
    	hdmi0: connector {
    		compatible = "hdmi-connector";
    		label = "hdmi";
    
    		type = "a";
    
    		port {
    			hdmi_connector_in: endpoint {
    				remote-endpoint = <&tpd12s015_out>;
    			};
    		};
    	};
    
    	tpd12s015: encoder {
    		compatible = "ti,tpd12s015";
    
    		gpios = <&pcf_hdmi 4 GPIO_ACTIVE_HIGH>,	/* P4, CT CP HPD */
    			<&pcf_hdmi 5 GPIO_ACTIVE_HIGH>,	/* P5, LS OE */
    			<&gpio7 12 GPIO_ACTIVE_HIGH>;	/* gpio7_12/sp1_cs2, HPD */
    
    		ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			port@0 {
    				reg = <0>;
    
    				tpd12s015_in: endpoint {
    					remote-endpoint = <&hdmi_out>;
    				};
    			};
    
    			port@1 {
    				reg = <1>;
    
    				tpd12s015_out: endpoint {
    					remote-endpoint = <&hdmi_connector_in>;
    				};
    			};
    		};
    	};
    
    	sound0: sound0 {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "DRA7xx-EVM";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack",
    			"Line", "Line Out",
    			"Microphone", "Mic Jack",
    			"Line", "Line In";
    		simple-audio-card,routing =
    			"Headphone Jack",       "HPLOUT",
    			"Headphone Jack",       "HPROUT",
    			"Line Out",		"LLOUT",
    			"Line Out",		"RLOUT",
    			"MIC3L",		"Mic Jack",
    			"MIC3R",		"Mic Jack",
    			"Mic Jack",		"Mic Bias",
    			"LINE1L",               "Line In",
    			"LINE1R",               "Line In";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound0_master>;
    		simple-audio-card,frame-master = <&sound0_master>;
    		simple-audio-card,bitclock-inversion;
    
    		sound0_master: simple-audio-card,cpu {
    			sound-dai = <&mcasp3>;
    			system-clock-frequency = <5644800>;
    		};
    
    		simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			clocks = <&atl_clkin2_ck>;
    		};
    	};
    
    	clk_ov10633_fixed: clk_ov10633_fixed {
    		#clock-cells = <0>;
    		compatible = "fixed-clock";
    		clock-frequency = <24000000>;
    	};
    
    	vmmcwl_fixed: fixedregulator-mmcwl {
    		compatible = "regulator-fixed";
    		regulator-name = "vmmcwl_fixed";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
    		enable-active-high;
    	};
    };
    
    &dra7_pmx_core {
    	dcan1_pins_default: dcan1_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
    			DRA7XX_CORE_IOPAD(0x37d4, PULL_UP | MUX_MODE0)	/* dcan1_rx */
    		>;
    	};
    
    	dcan1_pins_sleep: dcan1_pins_sleep {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP)	/* dcan1_tx.off */
    			DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP)	/* dcan1_rx.off */
    		>;
    	};
    
    	dcan2_pins_default: dcan2_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3688, PIN_OUTPUT_PULLUP | MUX_MODE2) /* gpio6_14.dcan2_tx */
    			DRA7XX_CORE_IOPAD(0x368c, PULL_UP | MUX_MODE2)	/* gpio6_15.dcan2_rx */
    		>;
    	};
    
    	dcan2_pins_sleep: dcan2_pins_sleep {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3688, MUX_MODE15 | PULL_UP)	/* dcan2_tx.off */
    			DRA7XX_CORE_IOPAD(0x368c, MUX_MODE15 | PULL_UP)	/* dcan2_x.off */
    		>;
    	};
    };
    
    &i2c1 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	pcf_lcd: gpio@20 {
    		compatible = "nxp,pcf8575";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    
    	pcf_gpio_21: gpio@21 {
    		compatible = "ti,pcf8575", "nxp,pcf8575";
    		reg = <0x21>;
    		lines-initial-states = <0x1408>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    
    	tlv320aic3106: tlv320aic3106@19 {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x19>;
    		adc-settle-ms = <40>;
    		ai3x-micbias-vg = <1>;		/* 2.0V */
    		status = "disabled";
    
    		/* Regulators */
    		AVDD-supply = <&evm_3v3_sw>;
    		IOVDD-supply = <&evm_3v3_sw>;
    		DRVDD-supply = <&evm_3v3_sw>;
    		DVDD-supply = <&aic_dvdd>;
    	};
    };
    
    &i2c5 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	pcf_hdmi: pcf8575@26 {
    		compatible = "ti,pcf8575", "nxp,pcf8575";
    		reg = <0x26>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		/*
    		 * initial state is used here to keep the mdio interface
    		 * selected on RU89 through SEL_VIN4_MUX_S0, VIN2_S1 and
    		 * VIN2_S0 driven high otherwise Ethernet stops working
    		 * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6
    		 */
    		lines-initial-states = <0x0f2b>;
    
    		p1 {
    			/* vin6_sel_s0: high: VIN6, low: audio */
    			gpio-hog;
    			gpios = <1 GPIO_ACTIVE_HIGH>;
    			output-low;
    			line-name = "vin6_sel_s0";
    		};
    	};
    
    	ov10633@37 {
    		compatible = "ovti,ov10633";
    		reg = <0x37>;
    
    		clocks = <&clk_ov10633_fixed>;
    		clock-names = "xvclk";
    
    		mux-gpios = <&pcf_hdmi 2	GPIO_ACTIVE_HIGH>, /* VIN2_S0 */
    			    <&pcf_hdmi 6	GPIO_ACTIVE_LOW>; /* VIN2_S2 */
    		port {
    			onboardLI: endpoint {
    				remote-endpoint = <&vin2a>;
    				hsync-active = <1>;
    				vsync-active = <1>;
    				pclk-sample = <0>;
    			};
    		};
    	};
    
    	gpio_csi2_adap: tca6416@20 {
    		status = "disabled";
    		compatible = "ti,tca6416";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    
    	ov490@24 {
    		compatible = "ovti,ov490";
    		reg = <0x24>;
    
    		mux-gpios = <&gpio_csi2_adap 0	GPIO_ACTIVE_LOW>,
    						/* CSI2_SEL_I2C_CLK */
    			    <&gpio_csi2_adap 1	GPIO_ACTIVE_HIGH>,
    						/* CSI2_SEL_REF_CLK */
    			    <&gpio_csi2_adap 3	GPIO_ACTIVE_HIGH>,
    						/* CSI2_CAM0_RESETn */
    			    <&gpio_csi2_adap 4	GPIO_ACTIVE_LOW>;
    						/* CSI2_CAM0_PWR_DWN */
    		port {
    			csi2_cam0: endpoint@0 {
    				clock-lanes = <0>;
    				data-lanes = <1 2 3 4>;
    				remote-endpoint = <&csi2_phy0>;
    			};
    		};
    	};
    };
    
    
    &uart1 {
    	rs485-rts-delay = <0 0>;	// RTS signal delay in msec before & after sending
    	linux,rs485-enabled-at-boot-time;
    	rs485-rts-active-low;
    };
    
    &uart6 {
    	rs485-rts-delay = <0 0>;	// RTS signal delay in msec before & after sending
    	linux,rs485-enabled-at-boot-time;
    	rs485-rts-active-low;
    };
    
    &elm {
    	status = "disabled";
    };
    
    &gpmc {
    	/*
    	 * For the existing IOdelay configuration via U-Boot we don't
    	 * support NAND on dra72-evm. Keep it disabled. Enabling it
    	 * requires a different configuration by U-Boot.
    	 */
    	status = "disabled";
    	ranges = <0 0 0x08000000 0x01000000>;	/* minimum GPMC partition = 16MB */
    	nand@0,0 {
    		/* To use NAND, DIP switch SW5 must be set like so:
    		 * SW5.1 (NAND_SELn) = ON (LOW)
    		 * SW5.9 (GPMC_WPN) = OFF (HIGH)
    		 */
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>;		/* device IO registers */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
    		ti,nand-xfer-type = "prefetch-dma";
    		ti,nand-ecc-opt = "bch8";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <16>;
    		gpmc,device-width = <2>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <80>;
    		gpmc,cs-wr-off-ns = <80>;
    		gpmc,adv-on-ns = <0>;
    		gpmc,adv-rd-off-ns = <60>;
    		gpmc,adv-wr-off-ns = <60>;
    		gpmc,we-on-ns = <10>;
    		gpmc,we-off-ns = <50>;
    		gpmc,oe-on-ns = <4>;
    		gpmc,oe-off-ns = <40>;
    		gpmc,access-ns = <40>;
    		gpmc,wr-access-ns = <80>;
    		gpmc,rd-cycle-ns = <80>;
    		gpmc,wr-cycle-ns = <80>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000c0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001c0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001e0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00a00000 0x0f600000>;
    		};
    	};
    };
    
    &omap_dwc3_1 {
    	extcon = <&extcon_usb1>;
    };
    
    &omap_dwc3_2 {
    	extcon = <&extcon_usb2>;
    };
    
    &usb1 {
    	dr_mode = "otg";
    	extcon = <&extcon_usb1>;
    };
    
    &usb2 {
    	dr_mode = "peripheral";
    	extcon = <&extcon_usb2>;
    };
    
    &mmc1 {
    	status = "disabled";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins_default>;
    	vmmc-supply = <&evm_3v3_sd>;
    	bus-width = <4>;
    	/*
    	 * SDCD signal is not being used here - using the fact that GPIO mode
    	 * is a viable alternative
    	 */
    	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
    	max-frequency = <192000000>;
    };
    
    &mmc2 {	
    	status = "okay";
    	bus-width = <8>;
    	ti,non-removable;
    	max-frequency = <96000000>;
    	no-1-8-v;
    	/delete-property/ mmc-hs200-1_8v;
    };
    
    &mac {
    	status = "okay";
    };
    
    &dcan1 {
    	status = "disabled";
    	pinctrl-names = "default", "sleep", "active";
    	pinctrl-0 = <&dcan1_pins_sleep>;
    	pinctrl-1 = <&dcan1_pins_sleep>;
    	pinctrl-2 = <&dcan1_pins_default>;
    };
    
    &dcan2 {
    	pinctrl-names = "default", "sleep", "active";
    	pinctrl-0 = <&dcan2_pins_sleep>;
    	pinctrl-1 = <&dcan2_pins_sleep>;
    	pinctrl-2 = <&dcan2_pins_default>;
    };
    
    &qspi {
    	status = "okay";
    
    	spi-max-frequency = <15000000>;
    	m25p80@0 {
    		compatible = "s25fl256s1";
    		spi-max-frequency = <15000000>;
    		reg = <0>;
    		spi-tx-bus-width = <1>;
    		spi-rx-bus-width = <4>;
    		#address-cells = <1>;
    		#size-cells = <1>;
    
    		/* MTD partition table.
    		 * The ROM checks the first four physical blocks
    		 * for a valid file to boot and the flash here is
    		 * 64KiB block size.
    		 */
    		partition@0 {
    			label = "QSPI.SPL";
    			reg = <0x00000000 0x000010000>;
    		};
    		partition@1 {
    			label = "QSPI.SPL.backup1";
    			reg = <0x00010000 0x00010000>;
    		};
    		partition@2 {
    			label = "QSPI.SPL.backup2";
    			reg = <0x00020000 0x00010000>;
    		};
    		partition@3 {
    			label = "QSPI.SPL.backup3";
    			reg = <0x00030000 0x00010000>;
    		};
    		partition@4 {
    			label = "QSPI.u-boot";
    			reg = <0x00040000 0x00100000>;
    		};
    		partition@5 {
    			label = "QSPI.u-boot-spl-os";
    			reg = <0x00140000 0x00080000>;
    		};
    		partition@6 {
    			label = "QSPI.u-boot-env";
    			reg = <0x001c0000 0x00010000>;
    		};
    		partition@7 {
    			label = "QSPI.u-boot-env.backup1";
    			reg = <0x001d0000 0x0010000>;
    		};
    		partition@8 {
    			label = "QSPI.kernel";
    			reg = <0x001e0000 0x0800000>;
    		};
    		partition@9 {
    			label = "QSPI.file-system";
    			reg = <0x009e0000 0x01620000>;
    		};
    	};
    };
    
    &gpu {
    	status = "disabled";
    };
    
    &dss {
    	status = "disabled";
    };
    
    &bb2d {
    	status = "disabled";
    };
    
    &hdmi {
    	status = "disabled";
    
    	port {
    		hdmi_out: endpoint {
    			remote-endpoint = <&tpd12s015_in>;
    		};
    	};
    };
    
    &vip1 {
    	status = "disabled";
    };
    
    &vin2a {
    	status = "disabled";
    	endpoint@0 {
    		slave-mode;
    		remote-endpoint = <&onboardLI>;
    	};
    };
    
    &cal {
    	status = "disabled";
    };
    
    &csi2_0 {
    	csi2_phy0: endpoint@0 {
    		slave-mode;
    		remote-endpoint = <&csi2_cam0>;
    	};
    };
    
    &atl {
    	assigned-clocks = <&abe_dpll_sys_clk_mux>,
    			  <&atl_gfclk_mux>,
    			  <&dpll_abe_ck>,
    			  <&dpll_abe_m2x2_ck>,
    			  <&atl_clkin2_ck>;
    	assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
    	assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
    
    	status = "disabled";
    
    	atl2 {
    		bws = <DRA7_ATL_WS_MCASP2_FSX>;
    		aws = <DRA7_ATL_WS_MCASP3_FSX>;
    	};
    };
    
    &mcasp3 {
    	#sound-dai-cells = <0>;
    
    	assigned-clocks = <&mcasp3_ahclkx_mux>;
    	assigned-clock-parents = <&atl_clkin2_ck>;
    
    	status = "disabled";
    
    	op-mode = <0>;          /* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    	/* 4 serializer */
    	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    		1 2 0 0
    	>;
    	tx-num-evt = <32>;
    	rx-num-evt = <32>;
    };
    
    &pcie1_rc {
    	status = "disabled";
    };
    
    
    
    
    3755.dra71-evm.dts.txt
    /*
     * Copyright (C) 2016 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.
     */
    
    #include "dra72-evm-common.dtsi"
    #include "dra72x-mmc-iodelay.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    
    / {
    	compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
    	model = "TI DRA718 EVM";
    
    	memory {
    		device_type = "memory";
    		reg = <0x0 0x80000000 0x0 0x20000000>; /* 512MB */
    	};
    
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ipu2_memory_region: ipu2-memory@95800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x95800000 0x0 0x3800000>;
    			reusable;
    			status = "okay";
    		};
    
    		dsp1_memory_region: dsp1-memory@99000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x99000000 0x0 0x4000000>;
    			reusable;
    			status = "okay";
    		};
    
    		ipu1_memory_region: ipu1-memory@9d000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x9d000000 0x0 0x2000000>;
    			reusable;
    			status = "okay";
    		};
    	};
    
    	vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
    		compatible = "regulator-gpio";
    		regulator-name = "vddshv8";
    		regulator-okmin-microvolt = <1800000>;
    		regulator-max-microvolt = <3000000>;
    		regulator-boot-on;
    		vin-supply = <&evm_5v0>;
    		gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0
    			  3000000 0x1>;
    	};
    
    	evm_1v8_sw: fixedregulator-evm_1v8 {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_1v8";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		vin-supply = <&lp8732_buck0_reg>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	poweroff: gpio-poweroff {
    		compatible = "gpio-poweroff";
    		gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>;
    		input;
    	};
    };
    
    &i2c1 {
    	status = "disabled";
    	clock-frequency = <400000>;
    
    	lp8733: lp8733@60 {
    		compatible = "ti,lp8733";
    		reg = <0x60>;
    		buck0-in-supply =<&vsys_3v3>;
    		buck1-in-supply =<&vsys_3v3>;
    		ldo0-in-supply =<&evm_5v0>;
    		ldo1-in-supply =<&evm_5v0>;
    
    		lp8733_regulators: regulators {
    			lp8733_buck0_reg: buck0 {
    				/* FB_B0 -> LP8733-BUCK1 - VPO_S1_AVS - VDD_CORE_AVS (core, mpu, gpu) */
    				regulator-name = "lp8733-buck0";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <1250000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    
    			lp8733_buck1_reg: buck1 {
    				/* FB_B1 -> LP8733-BUCK2 - VPO_S2_AVS - VDD_DSP_AVS (DSP/eve/iva) */
    				regulator-name = "lp8733-buck1";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <1250000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8733_ldo0_reg: ldo0 {
    				/* LDO0 -> LP8733-LDO1 - VPO_L1_3V3 - VDDSHV8 (optional) */
    				regulator-name = "lp8733-ldo0";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    			};
    
    			lp8733_ldo1_reg: ldo1 {
    				/* LDO1 -> LP8733-LDO2 - VPO_L2_3V3 - VDDA_USB3V3 */
    				regulator-name = "lp8733-ldo1";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    		};
    	};
    
    	lp8732: lp8732@61 {
    		compatible = "ti,lp8732";
    		reg = <0x61>;
    
    		buck0-in-supply =<&vsys_3v3>;
    		buck1-in-supply =<&vsys_3v3>;
    		ldo0-in-supply =<&vsys_3v3>;
    		ldo1-in-supply =<&vsys_3v3>;
    
    		lp8732_regulators: regulators {
    			lp8732_buck0_reg: buck0 {
    				/* FB_B0 -> LP8732-BUCK1 - VPO_S3_1V8 - VDDS_1V8 */
    				regulator-name = "lp8732-buck0";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    
    			lp8732_buck1_reg: buck1 {
    				/* FB_B1 -> LP8732-BUCK2 - VPO_S4_DDR - VDD_DDR_1V35 */
    				regulator-name = "lp8732-buck1";
    				regulator-min-microvolt = <1350000>;
    				regulator-max-microvolt = <1350000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8732_ldo0_reg: ldo0 {
    				/* LDO0 -> LP8732-LDO1 - VPO_L3_1V8 - VDA_1V8_PLL */
    				regulator-name = "lp8732-ldo0";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			lp8732_ldo1_reg: ldo1 {
    				/* LDO1 -> LP8732-LDO2 - VPO_L4_1V8 - VDA_1V8_PHY */
    				regulator-name = "lp8732-ldo1";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-always-on;
    				regulator-boot-on;
    			};
    		};
    	};
    };
    
    &csi2_cam0 {
    	status = "disabled";
    	clock-lanes = <0>;
    	data-lanes = <1 2>;
    	remote-endpoint = <&csi2_phy0>;
    };
    
    &pcf_lcd {
    	interrupt-parent = <&gpio7>;
    	interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
    };
    
    &pcf_gpio_21 {
    	interrupt-parent = <&gpio7>;
    	interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
    };
    
    &pcf_hdmi {
    	p0 {
    		/*
    		 * PM_OEn to High: Disable routing I2C3 to PM_I2C
    		 * With this PM_SEL(p3) should not matter
    		 */
    		gpio-hog;
    		gpios = <0 GPIO_ACTIVE_LOW>;
    		output-high;
    		line-name = "pm_oe_n";
    	};
    };
    
    &mmc1 {
    	status = "disabled";
    	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
    	pinctrl-0 = <&mmc1_pins_default>;
    	pinctrl-1 = <&mmc1_pins_hs>;
    	pinctrl-2 = <&mmc1_pins_sdr12>;
    	pinctrl-3 = <&mmc1_pins_sdr25>;
    	pinctrl-4 = <&mmc1_pins_sdr50>;
    	pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
    	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
    	vqmmc-supply = <&vpo_sd_1v8_3v3>;
    };
    
    &mmc2 {
    	status = "okay";
    	pinctrl-names = "default", "hs", "ddr_1_8v";
    	pinctrl-0 = <&mmc2_pins_default>;
    	pinctrl-1 = <&mmc2_pins_hs>;
    	pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
    	vmmc-supply = <&evm_3v3_sw>;
    	vqmmc-supply = <&evm_3v3_sw>;
    };
    
    &davinci_mdio {
    	reset-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>;
    	reset-delay-us = <2>;
    
    	phy0:ethernet-phy@0 {
    		reg = <0>;
    	};
    };
    
    &mac {
    	slaves = <1>;
    	status = "okay";
    	sram = <&ocmcram1>;
    };
    
    &cpsw_emac0 {
    
    	phy-handle = <&phy0>;
    	phy-mode = "mii";
    	status = "okay";
    };
    
    &cpsw_emac1 {
    	status = "disabled";
    };
    
    
    /* No Sata on this device */
    &sata_phy {
    	status = "disabled";
    };
    
    &sata {
    	status = "disabled";
    };
    
    /* No RTC on this device */
    &rtc {
    	status = "disabled";
    };
    
    &usb2_phy1 {
    	phy-supply = <&lp8733_ldo1_reg>;
    };
    
    &usb2_phy2 {
    	phy-supply = <&lp8733_ldo1_reg>;
    };
    
    &dss {
    	status = "disabled";
    	/* Supplied by VDA_1V8_PLL */
    	vdda_video-supply = <&lp8732_ldo0_reg>;
    };
    
    &hdmi {
    	/* Supplied by VDA_1V8_PHY */
    	vdda_video-supply = <&lp8732_ldo1_reg>;
    };
    
    &ipu2 {
    	status = "okay";
    	memory-region = <&ipu2_memory_region>;
    };
    
    &ipu1 {
    	status = "okay";
    	memory-region = <&ipu1_memory_region>;
    };
    
    &dsp1 {
    	status = "okay";
    	memory-region = <&dsp1_memory_region>;
    };
    
    &uart1 {
    	status = "okay";
    };
    
    &uart3 {
    	status = "okay";
    };
    
    &uart6 {
    	status = "okay";
    };
    
    &i2c5 {
    	status = "disabled";
    };
    
    &elm {
    	status = "disabled";
    };
    
    &usb1 {
    	status = "disabled";
    };
    
    &usb2 {
    	status = "okay";
    };
    
    &dcan1 {
    	status = "disabled";
    };
    
    &dcan2 {
    	status = "okay";
    };
    
    &atl {
    	status = "disabled";
    };
    
    &pcie1_rc {	
    	status = "disabled";
    };
    
    &mcasp3 {
    	status = "disabled";
    };
    
    &keypad {
    	status = "okay";
    };
    
    &mcspi4 {
    	status = "okay";
    };
    		
    #include "bridge-cmem.dtsi"
    
    
    
    6835.dra7.dtsi.txt1362.bridge_linux.dts.txtPavel,

       Here they are.

    Billa

  • Billa,

    I see you have error related to irq 76, not to 115 or 120. This is strange.

    1. Can you remove the below line from the DTS file and provide the full boot up log in this case?

    interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;



    2. Then put this line back in DTS and add below prints in omap4-keypad.c

    static int omap4_keypad_probe(struct platform_device *pdev)
    {

    ....

    printk("keypad irq = %d\n", irq);
    irq = platform_get_irq(pdev, 0);
    printk("keypad irq = %d\n", irq);
    if (!irq) {
    dev_err(&pdev->dev, "no keyboard irq assigned\n");
    return -EINVAL;
    }


    3. Then when boot up, please read and provide me the below register value. You can do that with devmem2 tool.

    CTRL_CORE_MPU_IRQ_120_121/0x4A002B2C

    Regards,
    Pavel
  • keypad_log_no_irq.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #54 SMP PREEMPT RT Mon Nov 26 10:01:37 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.186:10.f
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059620   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1dc4   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000336] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000339] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000849] Console: colour dummy device 80x30
    [    0.000968] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000970] This ensures that you still see kernel messages. Please
    [    0.000972] update your kernel commandline.
    [    0.000985] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000992] pid_max: default: 32768 minimum: 301
    [    0.001114] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001120] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001740] CPU: Testing write buffer coherency: ok
    [    0.001978] /cpus/cpu@0 missing clock-frequency property
    [    0.002012] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039876] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079868] Hierarchical SRCU implementation.
    [    0.140333] EFI services will not be available.
    [    0.159997] smp: Bringing up secondary CPUs ...
    [    0.160008] smp: Brought up 1 node, 1 CPU
    [    0.160017] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160024] CPU: All CPU(s) started in HYP mode.
    [    0.160030] CPU: Virtualization extensions available.
    [    0.160585] devtmpfs: initialized
    [    0.196643] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200201] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200444] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200464] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204268] pinctrl core: initialized pinctrl subsystem
    [    0.205109] DMI not present or invalid.
    [    0.205557] NET: Registered protocol family 16
    [    0.208043] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.208935] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.417543] OMAP GPIO hardware version 0.1
    [    0.450648] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.450661] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.451141] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.451153] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.452497] OMAP DMA hardware revision 0.0
    [    0.504486] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507050] edma 43300000.edma: memcpy is disabled
    [    0.513156] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514279] evm_5v0: supplied by evm_12v0
    [    0.514755] evm_3v6: supplied by evm_5v0
    [    0.515244] vsys_3v3: supplied by evm_12v0
    [    0.515715] evm_3v3: supplied by vsys_3v3
    [    0.516195] aic_dvdd: supplied by evm_3v3
    [    0.518045] vddshv8: invalid voltage constraints
    [    0.518059] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518152] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521659] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522168] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522745] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523327] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.523902] iommu: Adding device 58820000.ipu to group 1
    [    0.524100] iommu: Adding device 55020000.ipu to group 2
    [    0.524442] iommu: Adding device 40800000.dsp to group 0
    [    0.526474] media: Linux media interface: v0.10
    [    0.526524] Linux video capture interface: v2.00
    [    0.526644] pps_core: LinuxPPS API ver. 1 registered
    [    0.526652] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526674] PTP clock support registered
    [    0.526716] EDAC MC: Ver: 3.0.0
    [    0.530848] dmi: Firmware registration failed.
    [    0.531430] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.531727] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532284] Advanced Linux Sound Architecture Driver Initialized.
    [    0.540898] clocksource: Switched to clocksource arch_sys_counter
    [    0.554338] NET: Registered protocol family 2
    [    0.555191] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555243] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555377] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555476] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555510] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555757] NET: Registered protocol family 1
    [    0.576294] RPC: Registered named UNIX socket transport module.
    [    0.576306] RPC: Registered udp transport module.
    [    0.576315] RPC: Registered tcp transport module.
    [    0.576324] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577696] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.577911] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579725] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587758] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598653] NFS: Registering the id_resolver key type
    [    0.598696] Key type id_resolver registered
    [    0.598706] Key type id_legacy registered
    [    0.598779] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601324] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601337] io scheduler noop registered
    [    0.601348] io scheduler deadline registered
    [    0.601493] io scheduler cfq registered (default)
    [    0.601504] io scheduler mq-deadline registered
    [    0.601514] io scheduler kyber registered
    [    0.607671] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.607918] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608008] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608020] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.701576] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.706214] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.707948] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.614936] console [ttyS2] enabled
    [    1.620190] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.631617] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.656272] brd: module loaded
    [    1.670829] loop: module loaded
    [    1.680099] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.686451] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.691348] 10 ofpart partitions found on MTD device spi0.0
    [    1.696946] Creating 10 MTD partitions on "spi0.0":
    [    1.701851] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.708230] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.715228] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.722232] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.729209] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.735771] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.742937] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.749820] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.757431] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.763988] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.772000] libphy: Fixed MDIO Bus: probed
    [    1.830953] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.838652] libphy: 48485000.mdio: probed
    [    1.855109] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    1.865537] cpsw 48484000.ethernet: Detected MACID = 00:a0:de:ad:be:ef
    [    1.872102] cpsw 48484000.ethernet: GMAC port 0
    [    1.876751] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.883138] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.888400] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.895434] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.904366] net eth0: rpmsg goose driver init: 0
    [    1.909089] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    1.916607] omap4-keypad 4ae1c000.keypad: failed to register interrupt
    [    1.923231] omap4-keypad: probe of 4ae1c000.keypad failed with error -22
    [    1.930384] i2c /dev entries driver
    [    1.935058] IR NEC protocol handler initialized
    [    1.939610] IR RC5(x/sz) protocol handler initialized
    [    1.944817] IR RC6 protocol handler initialized
    [    1.949370] IR JVC protocol handler initialized
    [    1.953923] IR Sony protocol handler initialized
    [    1.958561] IR SANYO protocol handler initialized
    [    1.963287] IR Sharp protocol handler initialized
    [    1.968014] IR MCE Keyboard/mouse protocol handler initialized
    [    1.973891] IR XMP protocol handler initialized
    [    1.984741] sdhci: Secure Digital Host Controller Interface driver
    [    1.990951] sdhci: Copyright(c) Pierre Ossman
    [    1.996234] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.060942] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    2.080144] NET: Registered protocol family 10
    [    2.096157] Segment Routing with IPv6
    [    2.099953] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.106721] NET: Registered protocol family 17
    [    2.111707] Key type dns_resolver registered
    [    2.116226] omap_voltage_late_init: Voltage driver support not added
    [    2.121260] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121271] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    2.121280] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121290] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    2.121299] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=2 F=0)0x29040
    [    2.121308] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    2.121317] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121326] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    2.121334] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121342] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121351] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    2.121359] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=6)0x29006
    [    2.121368] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    2.121376] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    2.121385] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=8)0x29008
    [    2.121393] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121401] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121410] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    2.121418] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121450] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121459] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121468] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121477] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121485] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121494] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121502] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121510] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121519] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121527] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    2.121606] mmc0: new DDR MMC card at address 0001
    [    2.124422] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    2.126312] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    2.127995] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    2.129886] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    2.131434]  mmcblk0: p1 p2 p3 p4 < >
    [    2.418356] Power Management for TI OMAP4+ devices.
    [    2.423604] Registering SWP/SWPB emulation handler
    [    2.470841] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.479754] dmm 4e000000.dmm: initialized all PAT entries
    [    2.488613] hctosys: unable to open rtc device (rtc0)
    [    2.496460] net eth0: initializing cpsw version 1.15 (0)
    [    2.603698] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    2.619954] cpts ptp bc clkid 0
    [    2.628557] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.726484] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    4.730953] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.760931] IP-Config: Complete:
    [    4.764180]      device=eth0, hwaddr=00:a0:de:ad:be:ef, ipaddr=10.3.33.186, mask=255.255.248.0, gw=255.255.255.255
    [    4.774609]      host=10.3.33.186, domain=, nis-domain=(none)
    [    4.780384]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    4.788784] aic_dvdd: disabling
    [    4.791948] vmmcwl_fixed: disabling
    [    4.795464] pbias_mmc_omap5: disabling
    [    4.799247] ALSA device list:
    [    4.802229]   No soundcards found.
    [    4.826810] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    4.833890] devtmpfs: mounted
    [    4.840078] Freeing unused kernel memory: 2048K
    [    5.283372] systemd[1]: System time before build time, advancing clock.
    [    5.353764] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    5.375482] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    5.412807] systemd[1]: Set hostname to <am57xx-evm>.
    [    6.434606] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.441473] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.481185] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.488533] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    6.531171] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.538165] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.572417] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.611514] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.674395] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.715896] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
             Mounting Temporary Directory (/tmp)...
             Mounting Kernel Debug File System...
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Kernel Socket.
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on Journal Socket.
             Starting Create list of required st��…ce nodes for the current kernel...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [    7.214724] cmemk: loading out-of-tree module taints kernel.
    [    7.226064] CMEMK module: reference Linux version 4.14.40
    [    7.243690] cmemk initialized
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    7.276620] cryptodev: driver 1.9 loaded.
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
    [    7.392556] usbcore: registered new interface driver usbfs
    [    7.404451] usbcore: registered new interface driver hub
    [  OK  ] Started Forward Password Requests to Wall Dir[    7.421775] usbcore: registered new device driver usb
    ectory Watch.
    [    7.447850] usbcore: registered new interface driver usbserial
    [  OK  ] Reached target Paths.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of required sta��…vice nodes for the current kernel.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Journal Service.
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [    8.678919] systemd-journald[103]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   11.103938] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   11.153508] remoteproc remoteproc0: 58820000.ipu is available
    [   11.210232] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.213836] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   11.222670] remoteproc remoteproc1: 55020000.ipu is available
    [   11.229708] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   11.237282] remoteproc remoteproc2: 40800000.dsp is available
    [   11.527489] remoteproc remoteproc0: powering up 58820000.ipu
    [   11.581343] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   11.679166] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [   13.157340] remoteproc remoteproc2: powering up 40800000.dsp
    [   13.173304] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 2215440
    [   13.236461] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   13.243842] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   13.253262] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   13.367607] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   13.406659] remoteproc remoteproc2: registered virtio0 (type 7)
    [   13.468027] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   13.619130] CAN device driver interface
    [   13.638860] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.721772] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
    [   13.984803] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=84)
    [   14.378151] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   14.468048] remoteproc remoteproc1: powering up 55020000.ipu
    [   14.476267] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
    [   14.481443] vpe 489d0000.vpe: Device registered as /dev/video0
    [   14.531650] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   15.167813] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   15.174710] remoteproc remoteproc1: registered virtio1 (type 7)
    [   15.185418] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   15.216387] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   15.225299] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [   15.255159] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   15.303661] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   15.477663] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.522646] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   15.588419] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.604395] omap-aes 4b700000.aes: will run requests pump with realtime priority
             Starting RPC Bind Service...
    [  OK  ] Reached target Containers.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Kernel Logging Service.
             Starting Login Service...
             Starting Avahi mDNS/DNS-SD Stack...
    [   17.730580] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Job spooling tools.
             Starting Print notice about GPLv3 packages...
             Starting uim-sysfs.service...
             Starting Network Service...
             Starting TI MultiCore Tools Daemon...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started RPC Bind Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [   20.770052] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [   20.807461] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   21.087468] EXT4-fs (mmcblk0p2): recovery complete
    [   21.142043] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Started Network Service.
    [   27.012533] dwc3 488d0000.usb: failed to initialize core
    [   27.018916] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   27.022238] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   27.028679] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   27.080075] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   27.081509] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   27.276661] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Permit User Sessions...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting tiipclad-daemon.service...
             Starting telnetd.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
    [   37.344023] NET: Registered protocol family 15
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [   37.703482] Initializing XFRM netlink socket
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# dmesg | grep keypad/
    root@am57xx-evm:~# dmesg | grep key    
    [    0.598653] NFS: Registering the id_resolver key type
    [    1.916607] omap4-keypad 4ae1c000.keypad: failed to register interrupt
    [    1.923231] omap4-keypad: probe of 4ae1c000.keypad failed with error -22
    root@am57xx-evm:~# 
    root@am57xx-evm:~#      
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | 
    
    keypad_log_irq.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-rt29-gd5443cbd3b (bridge@PC932) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #55 SMP PREEMPT RT Mon Nov 26 10:09:33 CET 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA718 EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x0000000094000000
    [    0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] percpu: Embedded 15 pages/cpu @d3ad7000 s31968 r8192 d21280 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.3.33.185:/home/bridge/SDK-Bridge/ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15/targetNFS,nolock rw ip=10.3.33.186:10.f
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 306544K/507904K available (8192K kernel code, 357K rwdata, 2484K rodata, 2048K init, 347K bss, 21136K reserved, 180224K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xdf800000 - 0xff800000   ( 512 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1059620   ( 358 kB)
    [    0.000000]        .bss : 0xc105b000 - 0xc10b1dc4   ( 348 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000]  RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000010] Switching to timer-based delay loop, resolution 162ns
    [    0.000338] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000340] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000853] Console: colour dummy device 80x30
    [    0.000972] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000974] This ensures that you still see kernel messages. Please
    [    0.000975] update your kernel commandline.
    [    0.000989] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000996] pid_max: default: 32768 minimum: 301
    [    0.001113] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001119] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001730] CPU: Testing write buffer coherency: ok
    [    0.001970] /cpus/cpu@0 missing clock-frequency property
    [    0.002003] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039873] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079868] Hierarchical SRCU implementation.
    [    0.140336] EFI services will not be available.
    [    0.160001] smp: Bringing up secondary CPUs ...
    [    0.160011] smp: Brought up 1 node, 1 CPU
    [    0.160020] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.160028] CPU: All CPU(s) started in HYP mode.
    [    0.160034] CPU: Virtualization extensions available.
    [    0.160592] devtmpfs: initialized
    [    0.196268] random: get_random_u32 called from bucket_table_alloc+0x14c/0x288 with crng_init=0
    [    0.200210] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.200451] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.200470] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.204399] pinctrl core: initialized pinctrl subsystem
    [    0.205236] DMI not present or invalid.
    [    0.205685] NET: Registered protocol family 16
    [    0.208155] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209046] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.418950] OMAP GPIO hardware version 0.1
    [    0.451812] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.451825] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.452312] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.452323] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.453653] OMAP DMA hardware revision 0.0
    [    0.504709] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.507271] edma 43300000.edma: memcpy is disabled
    [    0.513260] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.514388] evm_5v0: supplied by evm_12v0
    [    0.514864] evm_3v6: supplied by evm_5v0
    [    0.515349] vsys_3v3: supplied by evm_12v0
    [    0.515822] evm_3v3: supplied by vsys_3v3
    [    0.516302] aic_dvdd: supplied by evm_3v3
    [    0.518162] vddshv8: invalid voltage constraints
    [    0.518176] gpio-regulator gpio-regulator-TPS74801: Failed to register regulator: -22
    [    0.518268] gpio-regulator: probe of gpio-regulator-TPS74801 failed with error -22
    [    0.521811] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.522325] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.522911] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.523498] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.524084] iommu: Adding device 58820000.ipu to group 1
    [    0.524283] iommu: Adding device 55020000.ipu to group 2
    [    0.524635] iommu: Adding device 40800000.dsp to group 0
    [    0.526684] media: Linux media interface: v0.10
    [    0.526734] Linux video capture interface: v2.00
    [    0.526861] pps_core: LinuxPPS API ver. 1 registered
    [    0.526870] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526892] PTP clock support registered
    [    0.526927] EDAC MC: Ver: 3.0.0
    [    0.531124] dmi: Firmware registration failed.
    [    0.531694] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.532000] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.532546] Advanced Linux Sound Architecture Driver Initialized.
    [    0.541175] clocksource: Switched to clocksource arch_sys_counter
    [    0.554539] NET: Registered protocol family 2
    [    0.555392] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.555444] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [    0.555580] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.555679] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555712] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.555960] NET: Registered protocol family 1
    [    0.576494] RPC: Registered named UNIX socket transport module.
    [    0.576506] RPC: Registered udp transport module.
    [    0.576515] RPC: Registered tcp transport module.
    [    0.576524] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.577902] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.578116] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579914] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.587796] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598691] NFS: Registering the id_resolver key type
    [    0.598724] Key type id_resolver registered
    [    0.598734] Key type id_legacy registered
    [    0.598806] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.601313] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.601327] io scheduler noop registered
    [    0.601338] io scheduler deadline registered
    [    0.601491] io scheduler cfq registered (default)
    [    0.601502] io scheduler mq-deadline registered
    [    0.601512] io scheduler kyber registered
    [    0.607662] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.607911] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.608000] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.608012] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.701376] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.706022] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [    0.707783] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    1.614775] console [ttyS2] enabled
    [    1.620030] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.631452] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.655914] brd: module loaded
    [    1.670381] loop: module loaded
    [    1.679543] m25p80 spi0.0: found n25q256a, expected s25fl256s1
    [    1.685896] m25p80 spi0.0: n25q256a (32768 Kbytes)
    [    1.690794] 10 ofpart partitions found on MTD device spi0.0
    [    1.696394] Creating 10 MTD partitions on "spi0.0":
    [    1.701298] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.707668] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.714648] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.721687] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.728660] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.735204] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.742348] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.749215] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.756821] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.763368] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.771365] libphy: Fixed MDIO Bus: probed
    [    1.831230] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.838929] libphy: 48485000.mdio: probed
    [    1.855598] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83822 10/100 Mbps PHY
    [    1.866027] cpsw 48484000.ethernet: Detected MACID = 00:a0:de:ad:be:ef
    [    1.872593] cpsw 48484000.ethernet: GMAC port 0
    [    1.877243] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.883629] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.888891] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.895924] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.904858] net eth0: rpmsg goose driver init: 0
    [    1.909581] net eth0: ocmc rxbuf: pa x40300000 va e0900000 size 0xe000
    [    1.916980] Billa0: keypad irq = 0
    [    1.920453] Billa1: keypad irq = 76
    [    1.924637] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    [    1.934412] i2c /dev entries driver
    [    1.939106] IR NEC protocol handler initialized
    [    1.943876] IR RC5(x/sz) protocol handler initialized
    [    1.948952] IR RC6 protocol handler initialized
    [    1.953505] IR JVC protocol handler initialized
    [    1.958069] IR Sony protocol handler initialized
    [    1.962708] IR SANYO protocol handler initialized
    [    1.967435] IR Sharp protocol handler initialized
    [    1.972162] IR MCE Keyboard/mouse protocol handler initialized
    [    1.978022] IR XMP protocol handler initialized
    [    1.988825] sdhci: Secure Digital Host Controller Interface driver
    [    1.995036] sdhci: Copyright(c) Pierre Ossman
    [    2.890321] irq 76: nobody cared (try booting with the "irqpoll" option)
    [    2.890328] CPU: 0 PID: 68 Comm: irq/76-omap4-ke Not tainted 4.14.40-rt29-gd5443cbd3b #55
    [    2.890331] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    2.890333] Backtrace: 
    [    2.890354] [<c020b2c0>] (dump_backtrace) from [<c020b5a4>] (show_stack+0x18/0x1c)
    [    2.890360]  r7:0000004c r6:20000193 r5:00000000 r4:c10578fc
    [    2.890371] [<c020b58c>] (show_stack) from [<c091ad3c>] (dump_stack+0x90/0xa4)
    [    2.890381] [<c091acac>] (dump_stack) from [<c0282648>] (__report_bad_irq+0x30/0xd4)
    [    2.890387]  r7:0000004c r6:d3673600 r5:00000000 r4:d3673600
    [    2.890394] [<c0282618>] (__report_bad_irq) from [<c0282a80>] (note_interrupt+0x270/0x2bc)
    [    2.890399]  r9:fa213000 r8:d3408000 r7:0000004c r6:d3673600 r5:00000000 r4:d3673600
    [    2.890406] [<c0282810>] (note_interrupt) from [<c027fb54>] (handle_irq_event_percpu+0x74/0x80)
    [    2.890411]  r10:c0280c4c r9:fa213000 r8:d3408000 r7:00000002 r6:d3673600 r5:00000000
    [    2.890414]  r4:c0932978 r3:00000000
    [    2.890419] [<c027fae0>] (handle_irq_event_percpu) from [<c027fbe0>] (handle_irq_event+0x80/0xb8)
    [    2.890423]  r7:00000000 r6:00000000 r5:d3673670 r4:d3673600
    [    2.890430] [<c027fb60>] (handle_irq_event) from [<c02836fc>] (handle_fasteoi_irq+0x94/0x1cc)
    [    2.890434]  r7:00000000 r6:00000000 r5:c1025580 r4:d3673600
    [    2.890443] [<c0283668>] (handle_fasteoi_irq) from [<c027ec54>] (generic_handle_irq+0x2c/0x3c)
    [    2.890446]  r5:0000004c r4:c0e5ed44
    [    2.890454] [<c027ec28>] (generic_handle_irq) from [<c027f1f0>] (__handle_domain_irq+0x64/0xbc)
    [    2.890462] [<c027f18c>] (__handle_domain_irq) from [<c0201484>] (gic_handle_irq+0x54/0x98)
    [    2.890467]  r9:fa213000 r8:d285de98 r7:fa212000 r6:fa21200c r5:c102557c r4:c1006838
    [    2.890472] [<c0201430>] (gic_handle_irq) from [<c020c0f8>] (__irq_svc+0x58/0xa0)
    [    2.890476] Exception stack(0xd285de98 to 0xd285dee0)
    [    2.890479] de80:                                                       d3673670 00000010
    [    2.890484] dea0: d3673600 00001a8a d3673600 d3673670 d2842ec0 d3673614 d3673600 d2842ec0
    [    2.890489] dec0: c0280c4c d285def4 d285def8 d285dee8 c0280bf0 c0932978 20000113 ffffffff
    [    2.890494]  r9:d285c000 r8:d3673600 r7:d285decc r6:ffffffff r5:20000113 r4:c0932978
    [    2.890503] [<c0932950>] (_raw_spin_unlock_irq) from [<c0280bf0>] (irq_finalize_oneshot.part.1+0x84/0xe0)
    [    2.890509] [<c0280b6c>] (irq_finalize_oneshot.part.1) from [<c0280ca4>] (irq_forced_thread_fn+0x58/0x7c)
    [    2.890513]  r7:00000001 r6:00000002 r5:d3673600 r4:d2842ec0
    [    2.890519] [<c0280c4c>] (irq_forced_thread_fn) from [<c0280fd0>] (irq_thread+0x130/0x208)
    [    2.890523]  r7:00000001 r6:00000000 r5:ffffe000 r4:d2842ee4
    [    2.890529] [<c0280ea0>] (irq_thread) from [<c0248440>] (kthread+0x164/0x16c)
    [    2.890534]  r10:d3469ca0 r9:c0280ea0 r8:d2842ec0 r7:d285c000 r6:00000000 r5:d2842f40
    [    2.890536]  r4:d2842f80
    [    2.890543] [<c02482dc>] (kthread) from [<c0207a40>] (ret_from_fork+0x14/0x34)
    [    2.890548]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c02482dc
    [    2.890550]  r4:d2842f40
    [    2.890551] handlers:
    [    2.890555] [<c027fc6c>] irq_default_primary_handler threaded [<c06e8348>] omap4_keypad_irq_handler
    [    2.890566] Disabling IRQ #76
    [    3.188615] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.251221] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    3.270622] NET: Registered protocol family 10
    [    3.286612] Segment Routing with IPv6
    [    3.290411] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.297165] NET: Registered protocol family 17
    [    3.302113] Key type dns_resolver registered
    [    3.306681] omap_voltage_late_init: Voltage driver support not added
    [    3.311603] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311613] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 119 g: 0), Elements(C=0 F=3)0x29003
    [    3.311623] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311632] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 18 g: 0), Elements(C=0 F=0)0x29000
    [    3.311641] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 894 g: 0), Elements(C=2 F=0)0x29040
    [    3.311650] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 30 g: 0), Elements(C=0 F=0)0x29000
    [    3.311659] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311667] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 23 g: 0), Elements(C=0 F=0)0x29000
    [    3.311676] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311685] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311693] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 152 g: 0), Elements(C=0 F=4)0x29004
    [    3.311702] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 206 g: 0), Elements(C=0 F=6)0x29006
    [    3.311711] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 78 g: 0), Elements(C=0 F=2)0x29002
    [    3.311719] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 2 g: 0), Elements(C=0 F=0)0x29000
    [    3.311728] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 266 g: 0), Elements(C=0 F=8)0x29008
    [    3.311737] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311745] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311754] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 43 g: 0), Elements(C=0 F=1)0x29001
    [    3.311762] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311795] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311804] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311813] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311822] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311830] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311839] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311847] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311855] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311864] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311872] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [    3.311952] mmc0: new DDR MMC card at address 0001
    [    3.314768] mmcblk0: mmc0:0001 P1XXXX 7.20 GiB 
    [    3.316665] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB
    [    3.318350] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB
    [    3.320242] mmcblk0rpmb: mmc0:0001 P1XXXX partition 3 128 KiB
    [    3.321787]  mmcblk0: p1 p2 p3 p4 < >
    [    3.609858] Power Management for TI OMAP4+ devices.
    [    3.615118] Registering SWP/SWPB emulation handler
    [    3.662588] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.671440] dmm 4e000000.dmm: initialized all PAT entries
    [    3.680266] hctosys: unable to open rtc device (rtc0)
    [    3.686906] net eth0: initializing cpsw version 1.15 (0)
    [    3.794192] TI DP83822 10/100 Mbps PHY 48485000.mdio:00: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    3.810438] cpts ptp bc clkid 0
    [    3.819027] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    5.926834] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    5.951242] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.981207] IP-Config: Complete:
    [    5.984458]      device=eth0, hwaddr=00:a0:de:ad:be:ef, ipaddr=10.3.33.186, mask=255.255.248.0, gw=255.255.255.255
    [    5.994881]      host=10.3.33.186, domain=, nis-domain=(none)
    [    6.000656]      bootserver=10.3.33.185, rootserver=10.3.33.185, rootpath=
    [    6.009030] aic_dvdd: disabling
    [    6.012194] vmmcwl_fixed: disabling
    [    6.015709] pbias_mmc_omap5: disabling
    [    6.019492] ALSA device list:
    [    6.022474]   No soundcards found.
    [    6.046195] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    6.052586] devtmpfs: mounted
    [    6.058767] Freeing unused kernel memory: 2048K
    [    6.498899] systemd[1]: System time before build time, advancing clock.
    [    6.567675] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    6.589405] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    6.622616] systemd[1]: Set hostname to <am57xx-evm>.
    [    7.645625] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    7.742548] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    7.818148] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    7.851776] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    7.896081] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    7.937891] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    7.974716] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Syslog Socket.
             Mounting Kernel Debug File System...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Listening on Journal Socket.
             Starting Journal Service...
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    8.389734] cmemk: loading out-of-tree module taints kernel.
    [    8.398704] CMEMK module: reference Linux version 4.14.40
    [[    8.411598] cmemk initialized
      OK  ] Created slice User and Session Slice.
    [    8.440325] cryptodev: driver 1.9 loaded.
    [  OK  ] Reached target Slices.
             Starting Create list of required st��…ce nodes for the current k[    8.518971] usbcore: registered new interface driver usbfs
    ernel...
    [    8.534351] usbcore: registered new interface driver hub
    [    8.545452] usbcore: registered new device driver usb
    [    8.569402] usbcore: registered new interface driver usbserial
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Create list of required sta��…vice nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    9.536697] systemd-journald[98]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   12.365472] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   12.420534] remoteproc remoteproc0: 58820000.ipu is available
    [   12.470764] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   12.480498] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   12.484516] remoteproc remoteproc1: 55020000.ipu is available
    [   12.493676] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   12.496471] remoteproc remoteproc2: 40800000.dsp is available
    [   12.777188] remoteproc remoteproc0: powering up 58820000.ipu
    [   12.829463] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   12.933869] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [   14.466840] remoteproc remoteproc2: powering up 40800000.dsp
    [   14.473342] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 2215440
    [   14.502385] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   14.509587] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   14.519105] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   14.641069] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   14.699626] remoteproc remoteproc2: registered virtio0 (type 7)
    [   14.747966] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   14.913418] CAN device driver interface
    [   15.010465] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   15.079755] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Basic System.
    [   15.247055] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=85)
    [  OK  ] Started Periodic Command Scheduler.
    [   15.602065] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   15.616339] remoteproc remoteproc1: powering up 55020000.ipu
    [   15.616353] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743076
    [   15.616437] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting uim-sysfs.service...
             Starting TI MultiCore Tools Daemon...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started D-Bus System Message Bus.
    [   16.206244] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   16.243909] remoteproc remoteproc1: registered virtio1 (type 7)
    [   16.289188] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   16.395361] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   16.428852] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [   16.541547] vpe 489d0000.vpe: Device registered as /dev/video0
    [   16.586606] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   16.613226] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   16.640413] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   16.758202] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   16.905935] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   16.941674] omap-aes 4b700000.aes: will run requests pump with realtime priority
             Starting Login Service...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Reached target Containers.
    [  OK  ] Started Kernel Logging Service.
             Starting Network Service...
    [   19.223251] omap_gpio 48057000.gpio: Could not set line 30 debounce to 20000 microseconds (-22)
    [  OK  ] Started System Logging Service.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting RPC Bind Service...
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started Network Service.
    [   22.319731] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [   22.487400] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   22.516117] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   28.745842] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   28.810549] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   28.824454] dwc3 488d0000.usb: failed to initialize core
    [   28.876752] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   28.890919] dwc3 488d0000.usb: failed to initialize core
    [   28.901713] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   28.989526] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   29.015065] dwc3 488d0000.usb: failed to initialize core
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            parted
            python3-pycairo
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Network Name Resolution...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Wait for Network to be Configured...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started weston.service.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
    [   38.908040] NET: Registered protocol family 15
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [   39.256982] Initializing XFRM netlink socket
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting gdbserverproxy.service...
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2018.04 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# dmesg | grep Billa
    [    1.916980] Billa0: keypad irq = 0
    [    1.920453] Billa1: keypad irq = 76
    root@am57xx-evm:~# 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                       
    
    Pavel

     Here they are.

    It seems that keypad takes irq 76 instead of 115, right?

    Billa

  • Billa,

    I will try this on my side (AM572x EVM) and will let you know the result.

    Meanwhile could you please provide me the below register value. You can do that with devmem2 tool.

    CTRL_CORE_MPU_IRQ_120_121/0x4A002B2C

    Regards,
    Pavel
  • Pavel,

    OK. The value of register 0x4a002b2c is 0x00220023

    Regards
    Billa
  • Billa and Pavel,

    I'm looking at this too trying to make sense of it.  I wanted to make a few comments on the interrupt mapping so we are all be on the same page:

    1. The KBD_IRQ is connected to IRQ_CROSSBAR_115.  To be clear on the nomenclature, IRQ_CROSSBAR_115 is referring to the crossbar input.  In other words, any given crossbar output could be mapped to KBD_IRQ by specifying the mapping as 115.
    2. MPU_IRQ_120 is a crossbar output.  By default it is mapped to input 115 (0x73), KBD_IRQ.  This relationship is shown in Table 17-2. MPU_INTC Default Interrupt Mapping.
    3. The default value of CTRL_CORE_MPU_IRQ_120_121 is 0x00740073.  So based on what Billa reports, it looks like it has been remapped elsewhere.  Comparing against the register definition, MPU_IRQ_120 is the lower half of the register which Billa reads as 0x23 (35).  That input number (35) corresponds with TIMER4_IRQ.
    4. I'm trying to understand the messages pertaining to "IRQ #76" in the kernel logs.  I would expect that pertains to MPU_IRQ_76.  Billa, can you please also check the value of CTRL_CORE_MPU_IRQ_76_77 (address 0x4A00 2AD4)?  I'm wondering if this has been re-mapped somewhere. 

    I need to look some more at the code now, but since there are a lot of interrupt numbers flying around I wanted to make sure we're all aligned on what numbers are crossbar inputs vs outputs as I expect that will be important to get this resolved.

    Brad

  • Hi,

    Yes that is my understanding too regarding thr IRQs handling.
    The value of register 0x4a002ad4 is 0x00000000

    Regards
    Billa
  • As another data point, I checked my AM572x IDK running the default binaries:

    root@am57xx-evm:~# devmem2 0x4a002ad4
    /dev/mem opened.
    Memory mapped at address 0xb6f76000.
    Read at address 0x4A002AD4 (0xb6f76ad4): 0x0050003B
    root@am57xx-evm:~# devmem2 0x4a002b2c
    /dev/mem opened.
    Memory mapped at address 0xb6feb000.
    Read at address 0x4A002B2C (0xb6febb2c): 0x00FA00FB

    So decoding these values I see:

    • MPU_IRQ_76 = 0x3B = 59 = Reserved (?)
    • MPU_IRQ_120 = 0xFB = 251 = MAILBOX5_IRQ_USER2

    Ok, let me check against some of the software.  I hope to start making sense of where these are mapped and why shortly...

  • irq-decode.txt
    OMAPCONF (rev v1.73 built Tue Sep 26 18:56:57 EDT 2017)
    
    HW Platform:
      Generic DRA72X (Flattened Device Tree)
      DRA72X ES1.1 GP Device (STANDARD performance (1.0GHz))
      TPS65917  ES2.2 
    
    SW Build Details:
      Build:
        Version:  _____                    _____           _         _   
      Kernel:
        Version: 4.9.41-rt23-gc038d21a22
        Author: gtbldadm@ubuntu-16
        Toolchain: gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)
        Type: #2 SMP PREEMPT RT
        Date: Tue Sep 26 19:03:11 EDT 2017
    
    |----------------------------------------------------------------------------------------------------------------------------------------------|
    | mpu IRQ Crossbar Dump                                                                                                                        |
    |----------------------------------------------------------------------------------------------------------------------------------------------|
    | Index | Addr       | Val | Name                               | Source        | Description                                                  |
    |----------------------------------------------------------------------------------------------------------------------------------------------|
    | 0     |        N/A | N/A | MPU_CLUSTER_IRQ_INTERR             | MPU_CLUSTER   | Illegal writes to interrupt controller memory map region     |
    | 1     |        N/A | N/A | CS_CTI_MPU_C0_IRQ                  | MPU_C0_CS_CTI | TRIGOUT[6] of Cross Trigger Interface 0 (CTI0)               |
    | 2     |        N/A | N/A | CS_CTI_MPU_C1_IRQ                  | MPU_C1_CS_CTI | TRIGOUT[6] of Cross Trigger Interface 1 (CTI1)               |
    | 3     |        N/A | N/A | MPU_CLUSTER_IRQ_AXIERR             | MPU_CLUSTER   | Error indication for AXI write transactions with a BRESP err |
    | 4     | 0x4A002A48 |   0 | reserved                           | reserved      | N/A                                                          |
    | 5     |        N/A | N/A | WD_TIMER_MPU_C0_IRQ_WARN           | MPU_WD_TIMER  | MPU_WD_TIMER channel 0 warning interrupt                     |
    | 6     |        N/A | N/A | WD_TIMER_MPU_C1_IRQ_WARN           | MPU_WD_TIMER  | MPU_WD_TIMER channel 1 warning interrupt                     |
    | 7     | 0x4A002A4A |   0 | reserved                           | reserved      | N/A                                                          |
    | 8     | 0x4A002A4C |   0 | reserved                           | reserved      | N/A                                                          |
    | 9     | 0x4A002A4E |   0 | reserved                           | reserved      | N/A                                                          |
    | 10    | 0x4A002A50 |   5 | L3_MAIN_IRQ_APP_ERR                | L3_MAIN       | L3_MAIN application or non-attributable error                |
    | 11    | 0x4A002A52 |   0 | reserved                           | reserved      | N/A                                                          |
    | 12    | 0x4A002A54 |   0 | reserved                           | reserved      | N/A                                                          |
    | 13    | 0x4A002A56 |   0 | reserved                           | reserved      | N/A                                                          |
    | 14    | 0x4A002A58 |   0 | reserved                           | reserved      | N/A                                                          |
    | 15    | 0x4A002A5A |   0 | reserved                           | reserved      | N/A                                                          |
    | 16    | 0x4A002A5C |   0 | reserved                           | reserved      | N/A                                                          |
    | 17    | 0x4A002A5E |   0 | reserved                           | reserved      | N/A                                                          |
    | 18    | 0x4A002A60 |   0 | reserved                           | reserved      | N/A                                                          |
    | 19    | 0x4A002A62 |   0 | reserved                           | reserved      | N/A                                                          |
    | 20    | 0x4A002A64 |   0 | reserved                           | reserved      | N/A                                                          |
    | 21    | 0x4A002A66 |   0 | reserved                           | reserved      | N/A                                                          |
    | 22    | 0x4A002A68 |   0 | reserved                           | reserved      | N/A                                                          |
    | 23    | 0x4A002A6A |   0 | reserved                           | reserved      | N/A                                                          |
    | 24    | 0x4A002A6C |   0 | reserved                           | reserved      | N/A                                                          |
    | 25    | 0x4A002A6E |   0 | reserved                           | reserved      | N/A                                                          |
    | 26    | 0x4A002A70 |   0 | reserved                           | reserved      | N/A                                                          |
    | 27    | 0x4A002A72 |   0 | reserved                           | reserved      | N/A                                                          |
    | 28    | 0x4A002A74 |   0 | reserved                           | reserved      | N/A                                                          |
    | 29    | 0x4A002A76 |   0 | reserved                           | reserved      | N/A                                                          |
    | 30    | 0x4A002A78 |   0 | reserved                           | reserved      | N/A                                                          |
    | 31    | 0x4A002A7A |   0 | reserved                           | reserved      | N/A                                                          |
    | 32    | 0x4A002A7C |   0 | reserved                           | reserved      | N/A                                                          |
    | 33    | 0x4A002A7E |   0 | reserved                           | reserved      | N/A                                                          |
    | 34    | 0x4A002A80 |   0 | reserved                           | reserved      | N/A                                                          |
    | 35    | 0x4A002A82 |   0 | reserved                           | reserved      | N/A                                                          |
    | 36    | 0x4A002A84 |   0 | reserved                           | reserved      | N/A                                                          |
    | 37    | 0x4A002A86 |   0 | reserved                           | reserved      | N/A                                                          |
    | 38    | 0x4A002A88 |   0 | reserved                           | reserved      | N/A                                                          |
    | 39    | 0x4A002A8A |   0 | reserved                           | reserved      | N/A                                                          |
    | 40    | 0x4A002A8C |   0 | reserved                           | reserved      | N/A                                                          |
    | 41    | 0x4A002A8E |   0 | reserved                           | reserved      | N/A                                                          |
    | 42    | 0x4A002A90 |   0 | reserved                           | reserved      | N/A                                                          |
    | 43    | 0x4A002A92 |   0 | reserved                           | reserved      | N/A                                                          |
    | 44    | 0x4A002A94 |   0 | reserved                           | reserved      | N/A                                                          |
    | 45    | 0x4A002A96 |   0 | reserved                           | reserved      | N/A                                                          |
    | 46    | 0x4A002A98 |   0 | reserved                           | reserved      | N/A                                                          |
    | 47    | 0x4A002A9A |   0 | reserved                           | reserved      | N/A                                                          |
    | 48    | 0x4A002A9C |   0 | reserved                           | reserved      | N/A                                                          |
    | 49    | 0x4A002A9E |   0 | reserved                           | reserved      | N/A                                                          |
    | 50    | 0x4A002AA0 | 203 | PRUSS2_IRQ_HOST9                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 9 (AM57xx only)                     |
    | 51    | 0x4A002AA2 | 202 | PRUSS2_IRQ_HOST8                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 8 (AM57xx only)                     |
    | 52    | 0x4A002AA4 | 201 | PRUSS2_IRQ_HOST7                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 7 (AM57xx only)                     |
    | 53    | 0x4A002AA6 | 200 | PRUSS2_IRQ_HOST6                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 6 (AM57xx only)                     |
    | 54    | 0x4A002AA8 | 199 | PRUSS2_IRQ_HOST5                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 5 (AM57xx only)                     |
    | 55    | 0x4A002AAA | 198 | PRUSS2_IRQ_HOST4                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 4 (AM57xx only)                     |
    | 56    | 0x4A002AAC | 197 | PRUSS2_IRQ_HOST3                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 3 (AM57xx only)                     |
    | 57    | 0x4A002AAE | 196 | PRUSS2_IRQ_HOST2                   | PRU_ICSS2     | PRU-ICSS2 host interrupt 2 (AM57xx only)                     |
    | 58    | 0x4A002AB0 | 193 | PRUSS1_IRQ_HOST9                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 9 (AM57xx only)                     |
    | 59    | 0x4A002AB2 | 192 | PRUSS1_IRQ_HOST8                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 8 (AM57xx only)                     |
    | 60    | 0x4A002AB4 | 191 | PRUSS1_IRQ_HOST7                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 7 (AM57xx only)                     |
    | 61    | 0x4A002AB6 | 190 | PRUSS1_IRQ_HOST6                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 6 (AM57xx only)                     |
    | 62    | 0x4A002AB8 | 189 | PRUSS1_IRQ_HOST5                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 5 (AM57xx only)                     |
    | 63    | 0x4A002ABA | 188 | PRUSS1_IRQ_HOST4                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 4 (AM57xx only)                     |
    | 64    | 0x4A002ABC | 187 | PRUSS1_IRQ_HOST3                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 3 (AM57xx only)                     |
    | 65    | 0x4A002ABE | 186 | PRUSS1_IRQ_HOST2                   | PRU_ICSS1     | PRU-ICSS1 host interrupt 2 (AM57xx only)                     |
    | 66    | 0x4A002AC0 |  73 | USB2_IRQ_INTR0                     | USB2          | USB2 interrupt 0                                             |
    | 67    | 0x4A002AC2 |  71 | USB1_IRQ_INTR0                     | USB1          | USB1 interrupt 0                                             |
    | 68    | 0x4A002AC4 |  96 | HDMI_IRQ                           | HDMI          | HDMI interrupt                                               |
    | 69    | 0x4A002AC6 |  20 | DISPC_IRQ                          | DISPC         | Display controller interrupt                                 |
    | 70    | 0x4A002AC8 | 392 | VIP1_IRQ_2                         | VIP1          | VIP1 interrupt 2                                             |
    | 71    | 0x4A002ACA | 351 | VIP1_IRQ_1                         | VIP1          | VIP1 interrupt 1                                             |
    | 72    | 0x4A002ACC | 354 | VPE_IRQ                            | VPE           | VPE interrupt                                                |
    | 73    | 0x4A002ACE |  47 | RNG_IRQ                            | RNG           | RNG interrupt                                                |
    | 74    | 0x4A002AD0 |  46 | SHA2MD5_1_IRQ_P                    | SHA2MD5_1     | SHA2MD5_1 interrupt on HIB2                                  |
    | 75    | 0x4A002AD2 |  77 | DES3DES_IRQ_P                      | DES3DES       | DES3DES public interrupt                                     |
    | 76    | 0x4A002AD4 |  59 | reserved                           | reserved      | N/A                                                          |
    | 77    | 0x4A002AD6 |  80 | AES1_IRQ_P                         | AES1          | AES1 public interrupt                                        |
    | 78    | 0x4A002AD8 | 120 | BB2D_IRQ                           | BB2D          | BB2D interrupt                                               |
    | 79    | 0x4A002ADA |  16 | GPU_IRQ                            | GPU           | GPU interrupt                                                |
    | 80    | 0x4A002ADC | 222 | DCAN1_IRQ_INT0                     | DCAN1         | DCAN1 interrupt 0                                            |
    | 81    | 0x4A002ADE | 337 | GMAC_SW_IRQ_MISC_PULSE             | GMAC_SW       | GMAC_SW miscellaneous interrupt                              |
    | 82    | 0x4A002AE0 | 336 | GMAC_SW_IRQ_TX_PULSE               | GMAC_SW       | GMAC_SW transmit interrupt                                   |
    | 83    | 0x4A002AE2 | 335 | GMAC_SW_IRQ_RX_PULSE               | GMAC_SW       | GMAC_SW receive interrupt                                    |
    | 84    | 0x4A002AE4 | 334 | GMAC_SW_IRQ_RX_THRESH_PULSE        | GMAC_SW       | GMAC_SW receive threshold interrupt                          |
    | 85    | 0x4A002AE6 |  87 | USB2_IRQ_INTR1                     | USB2          | USB2 interrupt 1                                             |
    | 86    | 0x4A002AE8 |  72 | USB1_IRQ_INTR1                     | USB1          | USB1 interrupt 1                                             |
    | 87    | 0x4A002AEA | 217 | RTC_SS_IRQ_ALARM                   | RTC_SS        | RTC_SS alarm interrupt                                       |
    | 88    | 0x4A002AEC |  49 | SATA_IRQ                           | SATA          | SATA interrupt                                               |
    | 89    | 0x4A002AEE | 343 | QSPI_IRQ                           | QSPI          | QSPI interrupt                                               |
    | 90    | 0x4A002AF0 |  86 | MCSPI3_IRQ                         | MCSPI3        | McSPI3 interrupt                                             |
    | 91    | 0x4A002AF2 | 396 | IPU2_IRQ_MMU                       | IPU2          | IPU2 MMU interrupt                                           |
    | 92    | 0x4A002AF4 | 395 | IPU1_IRQ_MMU                       | IPU1          | IPU1 MMU interrupt                                           |
    | 93    | 0x4A002AF6 | 145 | DSP1_IRQ_MMU1                      | DSP1          | DSP1 MMU1 interrupt                                          |
    | 94    | 0x4A002AF8 |  23 | DSP1_IRQ_MMU0                      | DSP1          | DSP1 MMU0 interrupt                                          |
    | 95    | 0x4A002AFA |  81 | MMC2_IRQ                           | MMC2          | MMC2 interrupt                                               |
    | 96    | 0x4A002AFC |  78 | MMC1_IRQ                           | MMC1          | MMC1 interrupt                                               |
    | 97    | 0x4A002AFE |  51 | I2C1_IRQ                           | I2C1          | I2C1 interrupt                                               |
    | 98    | 0x4A002B00 | 108 | DMM_IRQ                            | DMM           | DMM interrupt                                                |
    | 99    | 0x4A002B02 |  75 | WD_TIMER2_IRQ                      | WD_TIMER2     | WD_TIMER2 interrupt                                          |
    | 100   | 0x4A002B04 | 342 | TIMER16_IRQ                        | TIMER16       | TIMER16 interrupt                                            |
    | 101   | 0x4A002B06 | 341 | TIMER15_IRQ                        | TIMER15       | TIMER15 interrupt                                            |
    | 102   | 0x4A002B08 | 340 | TIMER14_IRQ                        | TIMER14       | TIMER14 interrupt                                            |
    | 103   | 0x4A002B0A | 339 | TIMER13_IRQ                        | TIMER13       | TIMER13 interrupt                                            |
    | 104   | 0x4A002B0C |  90 | TIMER12_IRQ                        | TIMER12       | TIMER12 interrupt                                            |
    | 105   | 0x4A002B0E |  42 | TIMER11_IRQ                        | TIMER11       | TIMER11 interrupt                                            |
    | 106   | 0x4A002B10 |  41 | TIMER10_IRQ                        | TIMER10       | TIMER10 interrupt                                            |
    | 107   | 0x4A002B12 |  40 | TIMER9_IRQ                         | TIMER9        | TIMER9 interrupt                                             |
    | 108   | 0x4A002B14 |  39 | TIMER8_IRQ                         | TIMER8        | TIMER8 interrupt                                             |
    | 109   | 0x4A002B16 |  38 | TIMER7_IRQ                         | TIMER7        | TIMER7 interrupt                                             |
    | 110   | 0x4A002B18 |  37 | TIMER6_IRQ                         | TIMER6        | TIMER6 interrupt                                             |
    | 111   | 0x4A002B1A |  36 | TIMER5_IRQ                         | TIMER5        | TIMER5 interrupt                                             |
    | 112   | 0x4A002B1C |  35 | TIMER4_IRQ                         | TIMER4        | TIMER4 interrupt                                             |
    | 113   | 0x4A002B1E |  34 | TIMER3_IRQ                         | TIMER3        | TIMER3 interrupt                                             |
    | 114   | 0x4A002B20 |  33 | TIMER2_IRQ                         | TIMER2        | TIMER2 interrupt                                             |
    | 115   | 0x4A002B22 | 256 | MAILBOX6_IRQ_USER3                 | MAILBOX6      | Mailbox 6 user 3 interrupt                                   |
    | 116   | 0x4A002B24 | 255 | MAILBOX6_IRQ_USER2                 | MAILBOX6      | Mailbox 6 user 2 interrupt                                   |
    | 117   | 0x4A002B26 | 254 | MAILBOX6_IRQ_USER1                 | MAILBOX6      | Mailbox 6 user 1 interrupt                                   |
    | 118   | 0x4A002B28 | 253 | MAILBOX6_IRQ_USER0                 | MAILBOX6      | Mailbox 6 user 0 interrupt                                   |
    | 119   | 0x4A002B2A | 252 | MAILBOX5_IRQ_USER3                 | MAILBOX5      | Mailbox 5 user 3 interrupt                                   |
    | 120   | 0x4A002B2C | 251 | MAILBOX5_IRQ_USER2                 | MAILBOX5      | Mailbox 5 user 2 interrupt                                   |
    | 121   | 0x4A002B2E | 250 | MAILBOX5_IRQ_USER1                 | MAILBOX5      | Mailbox 5 user 1 interrupt                                   |
    | 122   | 0x4A002B30 | 249 | MAILBOX5_IRQ_USER0                 | MAILBOX5      | Mailbox 5 user 0 interrupt                                   |
    | 123   | 0x4A002B32 | 248 | MAILBOX4_IRQ_USER3                 | MAILBOX4      | Mailbox 4 user 3 interrupt                                   |
    | 124   | 0x4A002B34 | 247 | MAILBOX4_IRQ_USER2                 | MAILBOX4      | Mailbox 4 user 2 interrupt                                   |
    | 125   | 0x4A002B36 | 246 | MAILBOX4_IRQ_USER1                 | MAILBOX4      | Mailbox 4 user 1 interrupt                                   |
    | 126   | 0x4A002B38 | 245 | MAILBOX4_IRQ_USER0                 | MAILBOX4      | Mailbox 4 user 0 interrupt                                   |
    | 127   | 0x4A002B3A | 244 | MAILBOX3_IRQ_USER3                 | MAILBOX3      | Mailbox 3 user 3 interrupt                                   |
    | 128   | 0x4A002B3C | 243 | MAILBOX3_IRQ_USER2                 | MAILBOX3      | Mailbox 3 user 2 interrupt                                   |
    | 129   | 0x4A002B3E | 242 | MAILBOX3_IRQ_USER1                 | MAILBOX3      | Mailbox 3 user 1 interrupt                                   |
    | 130   | 0x4A002B40 | 241 | MAILBOX3_IRQ_USER0                 | MAILBOX3      | Mailbox 3 user 0 interrupt                                   |
    | 131   |        N/A | N/A | MPU_CLUSTER_IRQ_PMU_C0             | MPU_CLUSTER   | MPU core 0 PMU interrupt                                     |
    | 132   |        N/A | N/A | MPU_CLUSTER_IRQ_PMU_C1             | MPU_CLUSTER   | MPU core 1 PMU interrupt                                     |
    | 133   | 0x4A002B42 |   0 | reserved                           | reserved      | N/A                                                          |
    | 134   | 0x4A002B44 |  69 | UART3_IRQ                          | UART3         | UART3 interrupt                                              |
    | 135   | 0x4A002B46 | 116 | GPIO8_IRQ_1                        | GPIO8         | GPIO8 interrupt 1                                            |
    | 136   | 0x4A002B48 |  30 | GPIO7_IRQ_1                        | GPIO7         | GPIO7 interrupt 1                                            |
    | 137   | 0x4A002B4A |  29 | GPIO6_IRQ_1                        | GPIO6         | GPIO6 interrupt 1                                            |
    | 138   | 0x4A002B4C |  28 | GPIO5_IRQ_1                        | GPIO5         | GPIO5 interrupt 1                                            |
    | 139   | 0x4A002B4E |   0 | reserved                           | reserved      | N/A                                                          |
    | 140   | 0x4A002B50 |   0 | reserved                           | reserved      | N/A                                                          |
    | 141   | 0x4A002B52 |  27 | GPIO4_IRQ_1                        | GPIO4         | GPIO4 interrupt 1                                            |
    | 142   | 0x4A002B54 |  26 | GPIO3_IRQ_1                        | GPIO3         | GPIO3 interrupt 1                                            |
    | 143   | 0x4A002B56 |  25 | GPIO2_IRQ_1                        | GPIO2         | GPIO2 interrupt 1                                            |
    | 144   | 0x4A002B58 |  24 | GPIO1_IRQ_1                        | GPIO1         | GPIO1 interrupt 1                                            |
    | 145   | 0x4A002B5A | 371 | EDMA_TC1_IRQ_ERR                   | EDMA          | TC1 EDMA TPTC1 error interrupt                               |
    | 146   | 0x4A002B5C | 370 | EDMA_TC0_IRQ_ERR                   | EDMA          | TC0 EDMA TPTC0 error interrupt                               |
    | 147   | 0x4A002B5E | 359 | EDMA_TPCC_IRQ_ERR                  | EDMA          | TPCC EDMA TPCC error interrupt                               |
    | 148   | 0x4A002B60 | 360 | EDMA_TPCC_IRQ_MP                   | EDMA          | TPCC EDMA TPCC memory protection interrupt                   |
    | 149   | 0x4A002B62 | 361 | EDMA_TPCC_IRQ_REGION0              | EDMA          | TPCC EDMA TPCC region 0 interrupt                            |
    | 150   | 0x4A002B64 |  10 | DMA_SYSTEM_IRQ_3                   | DMA_SYSTEM    | System DMA interrupt 3                                       |
    | 151   | 0x4A002B66 |   9 | DMA_SYSTEM_IRQ_2                   | DMA_SYSTEM    | System DMA interrupt 2                                       |
    | 152   | 0x4A002B68 |   8 | DMA_SYSTEM_IRQ_1                   | DMA_SYSTEM    | System DMA interrupt 1                                       |
    | 153   | 0x4A002B6A |   7 | DMA_SYSTEM_IRQ_0                   | DMA_SYSTEM    | System DMA interrupt 0                                       |
    | 154   | 0x4A002B6C | 121 | CTRL_MODULE_CORE_IRQ_THERMAL_ALERT | CTRL_MODULE   | CTRL_MODULE thermal alert interrupt                          |
    | 155   | 0x4A002B6E | 233 | PCIe_SS1_IRQ_INT1                  | PCIe_SS1      | PCIe_SS1 interrupt 1                                         |
    | 156   | 0x4A002B70 | 232 | PCIe_SS1_IRQ_INT0                  | PCIe_SS1      | PCIe_SS1 interrupt 0                                         |
    | 157   | 0x4A002B72 |   6 | PRM_IRQ_MPU                        | PRM           | PRCM interrupt to MPU                                        |
    | 158   | 0x4A002B74 |   4 | L3_MAIN_IRQ_DBG_ERR                | L3_MAIN       | L3_MAIN debug error                                          |
    | 159   | 0x4A002B76 |  32 | TIMER1_IRQ                         | TIMER1        | TIMER1 interrupt                                             |
    |----------------------------------------------------------------------------------------------------------------------------------------------|
    
    
    Billa,

    I just remembered that the omapconf utility has a great capability for being able to parse the entire crossbar.  I know you mentioned omapconf wasn't working earlier, but that's because it was having trouble detecting the CPU type.  We can just force it as "DRA72x" which is the correct setting for AM570x devices.  So try this:

    omapconf --force dra72x dump crossbar irq mpu

    Or redirect to a txt file:

    omapconf --force dra72x dump crossbar irq mpu > irq-decode.txt

    Please attach the txt file rather than trying to copy/paste the output into e2e.  The formatting will be too hard to read in e2e so the text file will be better.  I attached mine as an example.  Thanks!

    Brad