I.MX Linux Reference Manual NXP Semiconductors
Total Page:16
File Type:pdf, Size:1020Kb
NXP Semiconductors Document identifier: IMXLXRM Reference Manual Rev. LF5.10.35_2.0.0, 30 June 2021 i.MX Linux Reference Manual NXP Semiconductors Contents Chapter 1 Introduction......................................................................................... 21 1.1 Overview..................................................................................................................................21 1.1.1 Software Base...........................................................................................................................21 1.1.2 Features.................................................................................................................................... 21 1.2 Audience..................................................................................................................................25 1.2.1 Conventions.............................................................................................................................. 25 1.2.2 Definitions, Acronyms, and Abbreviations.................................................................................25 1.3 References.............................................................................................................................. 29 Chapter 2 System................................................................................................ 31 2.1 Machine-Specific Layer (MSL)................................................................................................ 31 2.1.1 Introduction............................................................................................................................... 31 2.1.2 Interrupts (Operation)................................................................................................................31 2.1.2.1 Interrupt Hardware Operation...................................................................................................... 31 2.1.2.2 Interrupt Software Operation........................................................................................................31 2.1.2.3 Interrupt Features........................................................................................................................ 32 2.1.2.4 Interrupt Source Code Structure.................................................................................................. 32 2.1.2.5 Interrupt Programming Interface.................................................................................................. 32 2.1.3 Timer......................................................................................................................................... 32 2.1.3.1 Timer Software Operation............................................................................................................33 2.1.3.2 Timer Features.............................................................................................................................33 2.1.3.3 Timer Source Code Structure...................................................................................................... 33 2.1.3.4 Timer Programming Interface...................................................................................................... 33 2.1.4 Memory Map............................................................................................................................. 34 2.1.4.1 Memory Map Hardware Operation...............................................................................................34 2.1.4.2 Memory Map Features.................................................................................................................34 2.1.5 IOMUX.......................................................................................................................................34 2.1.5.1 IOMUX Hardware Operation........................................................................................................34 2.1.5.2 IOMUX Software Operation......................................................................................................... 34 2.1.5.3 IOMUX Features.......................................................................................................................... 35 2.1.5.4 IOMUX Source Code Structure....................................................................................................35 2.1.5.5 IOMUX Programming Interface....................................................................................................35 2.1.5.6 IOMUX Control Through GPIO Module....................................................................................... 36 2.1.5.6.1 GPIO Hardware Operation............................................................................................36 2.1.5.6.2 GPIO Software Operation (general)..............................................................................36 2.1.5.6.3 GPIO Implementation................................................................................................... 36 2.1.6 General Purpose Input/Output (GPIO)......................................................................................36 2.1.6.1 GPIO Software Operation............................................................................................................ 36 2.1.6.1.1 API for GPIO................................................................................................................. 37 2.1.6.2 GPIO Features.............................................................................................................................37 2.1.6.3 GPIO Module Source Code Structure..........................................................................................37 2.1.6.4 GPIO Programming Interface 2................................................................................................... 37 2.1.7 Clock......................................................................................................................................... 37 2.1.7.1 Clock Software Operation............................................................................................................ 38 2.1.7.2 Clock Features.............................................................................................................................38 2.1.7.3 Source Code Structure................................................................................................................ 38 2.1.7.4 .....................................................................................................................................................38 2.2 System Controller....................................................................................................................38 2.2.1 Introduction............................................................................................................................... 38 2.3 Boot Image.............................................................................................................................. 40 i.MX Linux Reference Manual, Rev. LF5.10.35_2.0.0, 30 June 2021 Reference Manual 2 / 275 NXP Semiconductors Contents 2.3.1 Introduction............................................................................................................................... 40 2.4 Anatop Regulator Driver..........................................................................................................41 2.4.1 Introduction............................................................................................................................... 41 2.4.2 Hardware Operation..................................................................................................................41 2.4.3 Software Operation................................................................................................................... 41 2.4.4 Driver Features......................................................................................................................... 42 2.4.5 Driver Interface Details..............................................................................................................42 2.4.6 Regulator APIs.......................................................................................................................... 42 2.4.7 Source Code Structure..............................................................................................................43 2.4.8 Menu Configuration Options..................................................................................................... 43 2.5 Power Management................................................................................................................ 43 2.5.1 Low Level Power Management (PM)........................................................................................ 43 2.5.1.1 Introduction.................................................................................................................................. 43 2.5.1.2 Software Operation...................................................................................................................... 44 2.5.1.3 Source Code Structure................................................................................................................ 45 2.5.1.4 Menu Configuration Options........................................................................................................ 46 2.5.1.5 Programming Interface...............................................................................................................