nvcamera-daemon crash when using ov5693 camera

Hi,

I’m trying to use ov5693 sensor camera. I’m using Tegra 24.2, we’ve been successful to use the camera in 24.1. But we get nvcamera-daemon crash in 24.2. I’ve been able to use the cameara of the reference board in 24.2 but getting crash for our camera, there is only minimal difference between reference board camera and ours. We’ve successful with 23.2, 24.1 but not 24.2. I’m not able to see where the problem could be, the clock and gpio are checked by scope and they are ok. Following is the crash info when I use nvgstcapture

[ 67.880463] nvcamera-daemon[1716]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
[ 67.880469] pgd = ffffffc0bac3b000
[ 67.883864] [00000000] *pgd=0000000138d13003, *pmd=0000000000000000

[ 67.890646] CPU: 1 PID: 1716 Comm: nvcamera-daemon Not tainted 3.10.96 #13
[ 67.890652] task: ffffffc0cdb45100 ti: ffffffc0eb74c000 task.ti: ffffffc0eb74c000
[ 67.890659] PC is at 0x40322c
[ 67.890663] LR is at 0x403228
[ 67.890667] pc : [<000000000040322c>] lr : [<0000000000403228>] pstate: 60000000
[ 67.890671] sp : 0000007f96c5e4a0
[ 67.890674] x29: 0000007f96c629d0 x28: 0000007f96c631e0
[ 67.890681] x27: 0000000000000001 x26: 0000000000000314
[ 67.890687] x25: 0000007f96c60510 x24: 0000007f987ae000
[ 67.890692] x23: 0000007f96c5e520 x22: 0000000000000001
[ 67.890698] x21: 0000007f96c5f510 x20: 0000000000000000
[ 67.890704] x19: 0000007f96c60b30 x18: 0000000000000014
[ 67.890709] x17: 0000007f9878dfa0 x16: 0000007f98529488
[ 67.890715] x15: 0000007f9911d000 x14: 7265766972446172
[ 67.890721] x13: 656d61432f697061 x12: 2f637273206d6f72
[ 67.890726] x11: 6620676e69746167 x10: 61706f7270282020
[ 67.890732] x9 : 3a726574656d6172 x8 : 0000000000000040
[ 67.890738] x7 : 0000007f90dc04f0 x6 : 0000000000000001
[ 67.890743] x5 : 0000000000000000 x4 : 0000007f90000b10
[ 67.890749] x3 : 0000000000000000 x2 : 0000000000000000
[ 67.890754] x1 : 0000000000000000 x0 : 0000000000000000

[ 67.890767] Library at 0x40322c: 0x400000 /usr/sbin/nvcamera-daemon
[ 67.897103] Library at 0x403228: 0x400000 /usr/sbin/nvcamera-daemon
[ 67.903374] vdso base = 0x7f9911b000

I’ve set printk in various entry routines in ov5693 driver and it does not fail. How should I proceed?

Thanks,
Hakim

How about nvcamerasrc?

I tried gst-launch-1.0 nvcamerasrc and it also crashes /usr/sbin/nvcamera-daemon. I can capture raw frame using v4l sample application from https://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html and display by Irfanview. But I need a way to display the stream.

Can you try to restart the nvcamera-daemon? And then exec the gst command in another terminal.

ubuntu@tegra-ubuntu:~ sudo service nvcamera-daemon stop ubuntu@tegra-ubuntu:~ sudo /usr/sbin/nvcamera-daemon

The output looks promising, something probably can be done in the ov5693 driver to satisfy nvcamera-daemon, please provide your thoughts, just let you know that we don’t use any regulator that reference camera does, ours are always powered ON.

Following is the output from nvcamera-daemon

NvPclHwGetModuleData: Misc Driver v4l2_focuser_stub already exists. Avoiding duplicate drivers
NvPclHwGetModuleList: No module data found
Sensor_LoadModeProperties: failure ------------------
Sensor_LoadModeList: failure ------------------
(NvOdmDevice) Error NotInitialized: V4L2Device not powered on (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function setControlVal(), line 378)
NvPclDriver_V4L2_Sensor_Initialize: Failure ---------------------
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function open(), line 121)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 516)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 702)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 263)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 422)
Segmentation fault

The print indicates it failed to load sensor mode from device-tree.
FYI.
It’s what I am seeing on my board,

ubuntu@tegra-ubuntu:~$ ls /proc/device-tree/host1x/i2c@546c0000/ov5693_c@36/mode0/
active_h           dpcm_enable               max_exp_time   mclk_khz         min_gain_val   pix_clk_hz
active_w           embedded_metadata_height  max_framerate  mclk_multiplier  min_hdr_ratio  pixel_t
cil_settletime     inherent_gain             max_gain_val   min_exp_time     name           readout_orientation
discontinuous_clk  line_length               max_hdr_ratio  min_framerate    num_lanes      tegra_sinterface

I got camera working by using export enableCamScfLogs=1 export enableCamPclLogs=1; these two flags helped me to fix device tree. I’ve one issue here is that I can use only one camera using nvgstcapture, does nvgstcapture have issue in this regard?

We’ve another board where we have one camera at i2c address 0x7000c400, register 36, csi channel 4, ov5693 sensor. I can capture raw image using v4l2 capture application but nvgstcapture dies after a few seconds, no image but a green screen. I’ve reviewed device tree many time and am tired. I’ve the following output using those export flags. It looks to me nvcamera-daemon somehow shuts down csi channel 4 so it does not get any image and times out. It’s likely a devicetree issue, how do I get more information to see what is missing?

Thanks so much.

root@tegra-ubuntu:/home/ubuntu# export enableCamScfLogs=1
root@tegra-ubuntu:/home/ubuntu# export enableCamScfLogs=1
root@tegra-ubuntu:/home/ubuntu# export enableCamPclLogs=1
root@tegra-ubuntu:/home/ubuntu# /usr/sbin/nvcamera-daemon
Thread 1 getting next capture

Thread 1 is waiting

Thread 3 getting next capture

Thread 4 getting next capture

Thread 2 getting next capture

Starting services…

Thread 3 is waiting

Thread 4 is waiting

Thread 2 is waiting

getInstance: s_instance(0x7f7d1a2e80)

doCreateSensor: create SensorType(gyroscope) sensor(0x7f7d1a2f80)

doCreateSensor: create SensorType(accelerometer) sensor(0x7f7d1a32c0)

doCreateSensor: create SensorType(magnetometer) sensor(0x7f7d1a3350)

doCreateSensor: create SensorType(temperature) sensor(0x7f7d21f5f0)

doCreateSensor: create SensorType(proximity) sensor(0x7f7d2229d0)

doCreateSensor: create SensorType(rotation vector) sensor(0x7f7d225db0)

doCreateSensor: create SensorType(linear acceleration) sensor(0x7f7d229190)

getInstance: s_instance(0x7f7d1a2e80)

AC plugin not present: dlopen “acplugin.so”, acplugin.so: cannot open shared object file: No such file or directory

Services are started

NvPclSetHotplugCallback: ++++++++++++++++++++++

imager: Calibration blob file handling NOT supported in this build

NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclHwMatchPartNum: Found calibration Part#:P5V27C:“P5V27C”
NvPclHwGetModuleData: Misc Driver v4l2_focuser_stub already exists. Avoiding duplicate drivers
NvPclHwPrintModuleDefinition – Name: e3326_front_P5V27C
NvPclHwPrintModuleDefinition – Position: 0
NvPclHwPrintModuleDefinition – CalibrationData Found: 1
NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2_focuser_stub
NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: lc898212 6-0072
NvPclHwPrintCameraSubModule – HwCamSubModule[1].Name: v4l2_sensor
NvPclHwPrintCameraSubModule – HwCamSubModule[1].DevName: ov5693 0-0036
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: e3326_front_P5V27C position0
NvPclHwScanExternalCameras – adding video0 to discover list
NvPclHwScanExternalCameras – adding video0 to discover list
initialize: /dev/video0
getHotplugMonitor: Getting hotplug monitor instance
initializeHotplug++
hotPlugfunc ++
addWatch: Watch added wd=‘1’
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[0]
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_focuser_stub)
NvPclCreateDriver: Found a Driver name match (v4l2_focuser_stub)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_focuser_stub ++++++++++++++++++
NvPclDriver_V4L2_Focuser_Stub_Initialize WARNING: No focuser object, allocating for lens
NvPclDriver_V4L2_Focuser_Stub_Initialize: Loaded focuser static properties--------------
NvPclInitializeDrivers: NvOdmLensStub ------------------
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
initialize: ov5693 0-0036
OFDPropertyGetString: could not read property [use_decibel_gain]
OFDPropertyGetString: could not read property [use_sensor_mode_id]
OFDPropertyCopyToLong: could not read property [has-eeprom]
Control Frame Rate not found
Control Exposure not found
Sensor_FindCustomCIDs: calculated MaxCoarseDiff 6
Sensor_LoadBinaryBlob: Binary read 8
Sensor_LoadBinaryBlob: Binary read 512
OFDPropertyGetString: could not read property [type]
Sensor_LoadSubType: Sensor type missing in DT, 502

OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode0.mode_type]
Sensor_LoadModeModeType: mode 0: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode0.pixel_phase]
Sensor_LoadModePixelPhase: mode 0: Failed to load pixeltype
OFDPropertyCopyToLong: could not read property [mode0.embedded_metadata_height]
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyCopyToLong: could not read property [mode1.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode1.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode1.mode_type]
Sensor_LoadModeModeType: mode 1: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode1.pixel_phase]
Sensor_LoadModePixelPhase: mode 1: Failed to load pixeltype
OFDPropertyCopyToLong: could not read property [mode1.embedded_metadata_height]
OFDPropertyGetString: could not read property [mode1.x_start]
OFDPropertyGetString: could not read property [mode1.y_start]
OFDPropertyGetString: could not read property [mode1.x_end]
OFDPropertyGetString: could not read property [mode1.y_end]
OFDPropertyGetString: could not read property [mode1.h_scaling]
OFDPropertyGetString: could not read property [mode1.v_scaling]
OFDPropertyCopyToLong: could not read property [mode2.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode2.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode2.mode_type]
Sensor_LoadModeModeType: mode 2: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode2.pixel_phase]
Sensor_LoadModePixelPhase: mode 2: Failed to load pixeltype
OFDPropertyCopyToLong: could not read property [mode2.embedded_metadata_height]
OFDPropertyGetString: could not read property [mode2.x_start]
OFDPropertyGetString: could not read property [mode2.y_start]
OFDPropertyGetString: could not read property [mode2.x_end]
OFDPropertyGetString: could not read property [mode2.y_end]
OFDPropertyGetString: could not read property [mode2.h_scaling]
OFDPropertyGetString: could not read property [mode2.v_scaling]
OFDPropertyCopyToLong: could not read property [mode3.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode3.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode3.mode_type]
Sensor_LoadModeModeType: mode 3: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode3.pixel_phase]
Sensor_LoadModePixelPhase: mode 3: Failed to load pixeltype
OFDPropertyCopyToLong: could not read property [mode3.embedded_metadata_height]
OFDPropertyGetString: could not read property [mode3.x_start]
OFDPropertyGetString: could not read property [mode3.y_start]
OFDPropertyGetString: could not read property [mode3.x_end]
OFDPropertyGetString: could not read property [mode3.y_end]
OFDPropertyGetString: could not read property [mode3.h_scaling]
OFDPropertyGetString: could not read property [mode3.v_scaling]
NvPclDriver_V4L2_Sensor_Initialize: Loaded Driver: 4 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
populateStaticProperties

populateStaticProperties

sourceRegistry[0] assigned

ispRegistry[0] assigned

Using Source GUID 0

NvPclPowerOn: +++++++++++
NvPclPowerOn: -----------
Using ISP A

AC plugin not present: dlopen “acplugin.so”, acplugin.so: cannot open shared object file: No such file or directory

No library found, disabling AC plugin.

NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
Sensor_WriteMode: Target mode Id(1): Resolution 2592x1458
Sensor_GetV4LPixelType: pixel type 0x101 invalid
setActiveBufferMemory: 2
setActivePixelFormat: 808535890
INPUT: Width 2592 Height 1944 pixelformat RG10

INPUT: Width 2592 Height 1458 pixelformat RG10

Sensor_WriteFrameRate: INPUT frameLength:1984, frameRate:30.000000
Sensor_WriteGain: INPUT gainCtrl:100 analogGain:1.000000
Sensor_WriteExposure: INPUT coarseTime:1978, expTime:0.033230
NvPclDriver_UpdateOutputSettings: OUTPUT frameLength:1984, frameRate:30.001921
NvPclDriver_UpdateOutputSettings: OUTPUT analogGain:1.000000
NvPclDriver_UpdateOutputSettings: OUTPUT coarseTime:1978, expTime:0.033230
NvPclDriver_V4L2_Sensor_Write:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
NvPclDriver_V4L2_Sensor_Write:-----------------------
NvPclSettingsApply: Reading PCL settings
populateStaticProperties

InstructionList:

  • GraphSettings
    | SensorMode: 2592x1458 BayerS16BGGR 30.0fps
    | output 0: 640x480 BL Y8 420
    | downscaleForPostProcessing

  • Instruction List
    | id: 0

    • 0: CCDataSetupStage
      | EstimatedIspOutLatencyFrames: 5
      | NumConcurrentCaptures: 1
      | UnprocessedYuvBufferMask: 0

    • 1: ACSynchronizeStage

    • 2: AeAfApplyStage

    • 3: AcPluginStage
      | operation: opApplyPreCapture

    • 4: AcMergeStage

    • 5: TempBufferAcquireStage
      | Buffer Index: 2
      | BufferRequirements: 854x480 BL Y8 420

    • 6: TempBufferAcquireStage
      | Buffer Index: 3
      | BufferRequirements: 2592x1 Pitch NonColor8

    • 7: SensorISPCaptureStage
      | Source GUID: 0
      | Output A Buffer: 2
      | SensorMetadata Buffer: 3

    • 8: StatsBufferAcquireStage
      | Buffer Index: 1
      | BufferRequirements: 640x360 Pitch Y8 420

    • 9: BlitStage
      | Input Buffer: 2
      | Output Buffer: 1
      | Filter: Nearest
      | Transform: None
      | Src Rect: Not used
      | Dst Rect: Not used

    • 10: StatsUpdateStage
      | Outut Meta Buffer: 3

    • 11: BufferReturnStage
      | Output A Buffer: 3

    • 12: AcPluginStage
      | operation: opAnalyzePostCapture

    • 13: AfAnalysisStage

    • 14: BlitStage
      | Input Buffer: 2
      | Output Buffer: 0
      | Filter: Smart
      | Transform: None
      | Src Rect: [0, 0, 854, 480]
      | Dst Rect: Not used

    • 15: MonitorStage

    • 16: ExifStage

    • 17: MakerNoteStage

    • 18: BufferReturnStage
      | Output A Buffer: 0

    • 19: MetadataReturnStage

    • 20: BufferReturnStage
      | Output A Buffer: 2

Created fiber 0x7f340008c0 for CC 101

Thread 1 is working on CC 101

CC 101 completed step 0 in fiber 0x7f340008c0

CC 101 processing step 1 in fiber 0x7f340008c0

FiberScheduler: cc 101, fiber 0x7f340008c0 in progress…

Thread 1 getting next capture

Thread 3 is waiting

cc 101(0) runCount=0 runIspOut=0, latest ccId=0Thread 1 is waiting

populateStaticProperties

FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation

Thread 4 is working on CC 101

CC 101 processing step 2 in fiber 0x7f340008c0

FiberScheduler: cc 101, fiber 0x7f340008c0 in progress…

Thread 4 getting next capture

Thread 2 is waiting

NV AE and AfApply algorithms are active.

Thread 4 is waiting

FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation

Thread 3 is working on CC 101

CC 101 processing step 3 in fiber 0x7f340008c0

FiberScheduler: cc 101, fiber 0x7f340008c0 in progress…

Thread 3 getting next capture

FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation

Thread 1 is working on CC 101

Thread 3 is waiting

Thread 2 is waiting

CC 101 processing step 4 in fiber 0x7f340008c0

FiberScheduler: cc 101, fiber 0x7f340008c0 in progress…

Thread 1 getting next capture

Thread 1 is waiting

Thread 4 is waiting

FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation

Thread 3 is working on CC 101

Created fiber 0x7f34000d00 for CC 102

Thread 2 is working on CC 102

CC 102 completed step 0 in fiber 0x7f34000d00

CC 102 processing step 1 in fiber 0x7f34000d00

CC 101 completed step 5 in fiber 0x7f340008c0

cc 102(1) runCount=1 runIspOut=0, latest ccId=0
FiberScheduler: cc 102, fiber 0x7f34000d00 in progress…

Thread 2 getting next capture

Thread 2 is waiting

FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation

CC 101 completed step 6 in fiber 0x7f340008c0

Thread 4 is working on CC 102

CC 101 processing step 7 in fiber 0x7f340008c0

Thread 1 is waiting

FiberScheduler: cc 101, fiber 0x7f340008c0 in progress…

Thread 3 getting next capture

Thread 3 is waiting

CC 102 processing step 2 in fiber 0x7f34000d00

FiberScheduler: cc 102, fiber 0x7f34000d00 in progress…

Thread 4 getting next capture

Thread 4 is waiting

Thread 2 is waiting

populateStaticProperties

PowerServiceUtils:calculateReqClock: entered

PowerServiceHw:addRequest: table size: before: 0, after:1

PowerServiceHw:debugPrint: Request table for hw[1][0]

PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2

PowerServiceHw:debugPrint: req[0]: inW=2592, inH=1458, inBpp = 10, fps=30

PowerServiceHw:debugPrint: req[0]: outW=0, outH=0, outBpp=0

PowerServiceHw:debugPrint: req[0]: clock=160000000, timeout=450

PowerServiceHw:debugPrint: req[0]: isoBw=0, timeout=450

PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=450
NV AE and AfApply algorithms are active.

NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL

Thread 1 is waiting

NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation

Sensor_WriteFrameRate: INPUT frameLength:1984, frameRate:30.000000
Sensor_WriteGain: INPUT gainCtrl:100 analogGain:1.000000
Sensor_WriteExposure: INPUT coarseTime:1978, expTime:0.033230
PowerServiceHw:addRequest: table size: before: 0, after:1

PowerServiceHw:debugPrint: Request table for hw[0][0]

PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2

NvPclDriver_UpdateOutputSettings: OUTPUT frameLength:1984, frameRate:30.001921
NvPclDriver_UpdateOutputSettings: OUTPUT analogGain:1.000000
NvPclDriver_UpdateOutputSettings: OUTPUT coarseTime:1978, expTime:0.033230
NvPclDriver_V4L2_Sensor_Write:-----------------------
PowerServiceHw:debugPrint: req[0]: inW=2592, inH=1458, inBpp = 10, fps=30

NvPclSettingsApply: Reading PCL settingsThread 3 is working on CC 102

CC 102 processing step 3 in fiber 0x7f34000d00

FiberScheduler: cc 102, fiber 0x7f34000d00 in progress…

Thread 3 getting next capture

FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation

Thread 3 is working on CC 102

Thread 2 is waiting
PowerServiceHw:debugPrint: req[0]: outW=0, outH=0, outBpp=0

CC 102 processing step 4 in fiber 0x7f34000d00

PowerServiceHw:debugPrint: req[0]: clock=0, timeout=450

PowerServiceHw:debugPrint: req[0]: isoBw=0, timeout=450

PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=450

PowerServiceHw:setClock: PowerServiceHw[1]: requested_clock_Hz=160000000

PowerServiceUtils:calculateReqClock: entered

PowerServiceHw:addRequest: table size: before: 0, after:1

PowerServiceHw:debugPrint: Request table for hw[2][0]

PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2

PowerServiceHw:debugPrint: req[0]: inW=2592, inH=1458, inBpp = 10, fps=30

Thread 4 is waiting

PowerServiceHw:debugPrint: req[0]: outW=854, outH=480, outBpp=12

PowerServiceHw:debugPrint: req[0]: clock=160000000, timeout=450

PowerServiceHw:debugPrint: req[0]: isoBw=240000, timeout=450

PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=450

PowerServiceHw:updateRequests: table size: before: 1, after:1

PowerServiceHw:debugPrint: Request table for hw[2][0]

PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2

PowerServiceHw:debugPrint: req[0]: inW=2592, inH=1458, inBpp = 10, fps=30

PowerServiceHw:debugPrint: req[0]: outW=854, outH=480, outBpp=12

PowerServiceHw:debugPrint: req[0]: clock=160000000, timeout=449

PowerServiceHw:debugPrint: req[0]: isoBw=240000, timeout=449

PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=449

PowerServiceHw:setClock: PowerServiceHw[2]: requested_clock_Hz=160000000

PowerServiceHwIsp:setLaBw: m_bwVal_Iso=240000 and m_bwVal_NonIso=0

PowerServiceCore:setCameraBw: totalIsoBw=240000

FiberScheduler: cc 102, fiber 0x7f34000d00 in progress…

Thread 3 getting next capture

Thread 3 is waiting

NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
Sensor_WriteFrameRate: INPUT frameLength:1984, frameRate:30.000000
Sensor_WriteGain: INPUT gainCtrl:100 analogGain:1.000000
Sensor_WriteExposure: INPUT coarseTime:1978, expTime:0.033230
NvPclDriver_UpdateOutputSettings: OUTPUT frameLength:1984, frameRate:30.001921
FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation

Thread 2 is working on CC 102

NvPclDriver_UpdateOutputSettings: OUTPUT analogGain:1.000000
Thread 1 is waiting

NvPclDriver_UpdateOutputSettings: OUTPUT coarseTime:1978, expTime:0.033230
NvPclDriver_V4L2_Sensor_Write:-----------------------
NvPclSettingsApply: Reading PCL settings
CC 102 completed step 5 in fiber 0x7f34000d00

CC 102 completed step 6 in fiber 0x7f34000d00

CC 102 processing step 7 in fiber 0x7f34000d00

FiberScheduler: cc 102, fiber 0x7f34000d00 in progress…

Thread 2 getting next capture

Thread 2 is waiting

Thread 4 is waiting

NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
Sensor_WriteFrameRate: INPUT frameLength:1984, frameRate:29.999998
Sensor_WriteGain: INPUT gainCtrl:100 analogGain:1.000000
Sensor_WriteExposure: INPUT coarseTime:1978, expTime:0.033230
NvPclDriver_UpdateOutputSettings: OUTPUT frameLength:1984, frameRate:30.001921
NvPclDriver_UpdateOutputSettings: OUTPUT analogGain:1.000000
NvPclDriver_UpdateOutputSettings: OUTPUT coarseTime:1978, expTime:0.033230
NvPclDriver_V4L2_Sensor_Write:-----------------------
NvPclSettingsApply: Reading PCL settings
SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Created fiber 0x7f34000f20 for CC 103

populateStaticProperties

launchCC abort cc 104

Created fiber 0x7f7d756a00 for CC 104

SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 731)
Thread 1 is working on CC 103

Fiber 0x7f34000f20 is aborting in CC 2

FiberScheduler: cc 103, fiber 0x7f34000f20 aborted

populateStaticProperties

launchCC abort cc 105

Created fiber 0x7f7d752ac0 for CC 105

SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 731)
Thread 2 is working on CC 104

Fiber 0x7f7d756a00 is aborting in CC 3

FiberScheduler: cc 104, fiber 0x7f7d756a00 aborted

populateStaticProperties

launchCC abort cc 106

Created fiber 0x7f7d7565c0 for CC 106

SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 731)
Thread 4 is working on CC 105

Fiber 0x7f7d752ac0 is aborting in CC 3

FiberScheduler: cc 105, fiber 0x7f7d752ac0 aborted

Thread 3 is working on CC 106

Fiber 0x7f7d7565c0 is aborting in CC 3

FiberScheduler: cc 106, fiber 0x7f7d7565c0 aborted

FiberScheduler: fiber 0x7f7d756a00 exiting

Thread 2 getting next capture

disposing CC 104

Thread 2 is waiting

populateStaticProperties

launchCC abort cc 107

Created fiber 0x7f7d752ea0 for CC 107

SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 731)
Thread 2 is working on CC 107

Fiber 0x7f7d752ea0 is aborting in CC 3

FiberScheduler: cc 107, fiber 0x7f7d752ea0 aborted

FiberScheduler: fiber 0x7f7d752ac0 exiting

Thread 4 getting next capture

disposing CC 105

Thread 4 is waiting

Segmentation fault
root@tegra-ubuntu:/home/ubuntu#

  1. nvgstcapture can be running with different sensor id, which is matching with /dev/videoX
nvgstcapture-1.0 --svs="nvoverlaysink" --camsrc=1 --sensor-id=0  --cus-prev-res=1920x1080
  1. sensor i2c address 0x7000c400

V4L2 capture works, but nvgstcapture doesn’t. That indicates where the issue is.
V4L2 reads properties from sensor driver, while nvgstcapture gets properties from device tree.

If possible, please paste the device tree configuration to us for review.

Our sensor is e3326/ov5693

/dts-v1/;

/memreserve/ 0x0000000080000000 0x0000000000020000;
/ {
compatible = “nvidia,jetson-cv”, “nvidia,tegra210”;
interrupt-parent = <0x1>;
#address-cells = <0x2>;
#size-cells = <0x2>;
nvidia,dtbbuildtime = “Oct 12 2016”, “11:29:42”;
model = “jetson_tx1”;
nvidia,dtsfilename="/root/hj/jetsontx1/Linux_for_Tegra/sources/kernel_source/arch/arm64/boot/dts/tegra210-jetson-tx1-CTI-ASG002.dts";
nvidia,boardids = “2597:2180:A0”;
nvidia,proc-boardid = “2597:2180:A0”;
nvidia,pmu-boardid = “2597:2180:A0”;

thermal-zones {

	AO-therm {
		status = "okay";
		polling-delay = <0x0>;
		polling-delay-passive = <0x3e8>;
		thermal-sensors = <0x2>;

		trips {

			trip_shutdown {
				temperature = <0x1adb0>;
				hysteresis = <0x0>;
				type = "critical";
				writable;
			};
		};
	};

	CPU-therm {
		polling-delay = <0x0>;
		polling-delay-passive = <0x3e8>;
		thermal-sensors = <0x3 0x0>;
		status = "okay";

		trips {

			cpu_vmax1: cpu-vmax1 {
				temperature = <0x101d0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x4>;
				phandle = <0x4>;
			};

			cpu_vmax2: cpu-vmax2 {
				temperature = <0x14ff0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x6>;
				phandle = <0x6>;
			};

			cpu_critical {
				temperature = <0x19064>;
				hysteresis = <0x0>;
				type = "critical";
				writable;
				linux,phandle = <0x7>;
				phandle = <0x7>;
			};

			cpu_heavy {
				temperature = <0x180c4>;
				hysteresis = <0x0>;
				type = "hot";
				writable;
				linux,phandle = <0x9>;
				phandle = <0x9>;
			};

			cpu_throttle {
				temperature = <0x15ba8>;
				hysteresis = <0x0>;
				type = "passive";
				writable;
				linux,phandle = <0xb>;
				phandle = <0xb>;
			};

			cpu_edp_23: cpu_edp@23 {
				temperature = <0x59d8>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0xd>;
				phandle = <0xd>;
			};

			cpu_edp_40: cpu_edp@40 {
				temperature = <0x9c40>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0xf>;
				phandle = <0xf>;
			};

			cpu_edp_50: cpu_edp@50 {
				temperature = <0xc350>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x10>;
				phandle = <0x10>;
			};

			cpu_edp_60: cpu_edp@60 {
				temperature = <0xea60>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x11>;
				phandle = <0x11>;
			};

			cpu_edp_70: cpu_edp@70 {
				temperature = <0x11170>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x12>;
				phandle = <0x12>;
			};

			cpu_edp_74: cpu_edp@74 {
				temperature = <0x12110>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x13>;
				phandle = <0x13>;
			};

			cpu_edp_78: cpu_edp@78 {
				temperature = <0x130b0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x14>;
				phandle = <0x14>;
			};

			cpu_edp_82: cpu_edp@82 {
				temperature = <0x14050>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x15>;
				phandle = <0x15>;
			};

			cpu_edp_86: cpu_edp@86 {
				temperature = <0x14ff0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x16>;
				phandle = <0x16>;
			};

			cpu_edp_90: cpu_edp@90 {
				temperature = <0x15f90>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x17>;
				phandle = <0x17>;
			};

			cpu_edp_94: cpu_edp@94 {
				temperature = <0x16f30>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x18>;
				phandle = <0x18>;
			};

			cpu_edp_98: cpu_edp@98 {
				temperature = <0x17ed0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x19>;
				phandle = <0x19>;
			};

			cpu_edp_102: cpu_edp@102 {
				temperature = <0x18e70>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x1a>;
				phandle = <0x1a>;
			};
		};

		cooling-maps {

			cpu-vmax-map1 {
				trip = <0x4>;
				cooling-device = <0x5 0x1 0x1>;
			};

			cpu-vmax-map2 {
				trip = <0x6>;
				cooling-device = <0x5 0x2 0x2>;
			};

			map0 {
				trip = <0x7>;
				cdev-type = "tegra-shutdown";
				cooling-device = <0x8 0xffffffff 0xffffffff>;
			};

			map1 {
				trip = <0x9>;
				cdev-type = "tegra-heavy";
				cooling-device = <0xa 0xffffffff 0xffffffff>;
			};

			map2 {
				trip = <0xb>;
				cdev-type = "cpu-balanced";
				cooling-device = <0xc 0xffffffff 0xffffffff>;
			};

			map_cpu_edp_23 {
				trip = <0xd>;
				cooling-device = <0xe 0x128 0x128>;
			};

			map_cpu_edp_40 {
				trip = <0xf>;
				cooling-device = <0xe 0x139 0x139>;
			};

			map_cpu_edp_50 {
				trip = <0x10>;
				cooling-device = <0xe 0x143 0x143>;
			};

			map_cpu_edp_60 {
				trip = <0x11>;
				cooling-device = <0xe 0x14d 0x14d>;
			};

			map_cpu_edp_70 {
				trip = <0x12>;
				cooling-device = <0xe 0x157 0x157>;
			};

			map_cpu_edp_74 {
				trip = <0x13>;
				cooling-device = <0xe 0x15b 0x15b>;
			};

			map_cpu_edp_78 {
				trip = <0x14>;
				cooling-device = <0xe 0x15f 0x15f>;
			};

			map_cpu_edp_82 {
				trip = <0x15>;
				cooling-device = <0xe 0x163 0x163>;
			};

			map_cpu_edp_86 {
				trip = <0x16>;
				cooling-device = <0xe 0x167 0x167>;
			};

			map_cpu_edp_90 {
				trip = <0x17>;
				cooling-device = <0xe 0x16b 0x16b>;
			};

			map_cpu_edp_94 {
				trip = <0x18>;
				cooling-device = <0xe 0x16f 0x16f>;
			};

			map_cpu_edp_98 {
				trip = <0x19>;
				cooling-device = <0xe 0x173 0x173>;
			};

			map_cpu_edp_102 {
				trip = <0x1a>;
				cooling-device = <0xe 0x177 0x177>;
			};
		};

		thermal-zone-params {
			governor-name = "pid_thermal_gov";
			max_err_temp = <0x2328>;
			max_err_gain = <0x3e8>;
			gain_p = <0x3e8>;
			gain_d = <0x0>;
			up_compensation = <0x14>;
			down_compensation = <0x14>;
		};
	};

	GPU-therm {
		polling-delay = <0x0>;
		polling-delay-passive = <0x3e8>;
		thermal-sensors = <0x3 0x1>;
		status = "okay";

		thermal-zone-params {
			governor-name = "pid_thermal_gov";
			max_err_temp = <0x2328>;
			max_err_gain = <0x3e8>;
			gain_p = <0x3e8>;
			gain_d = <0x0>;
			up_compensation = <0x14>;
			down_compensation = <0x14>;
		};

		trips {

			gpu_critical {
				temperature = <0x19258>;
				hysteresis = <0x0>;
				type = "critical";
				writable;
				linux,phandle = <0x1b>;
				phandle = <0x1b>;
			};

			gpu_heavy {
				temperature = <0x186a0>;
				hysteresis = <0x0>;
				type = "hot";
				writable;
				linux,phandle = <0x1c>;
				phandle = <0x1c>;
			};

			gpu_throttle {
				temperature = <0x16184>;
				hysteresis = <0x0>;
				type = "passive";
				writable;
				linux,phandle = <0x1d>;
				phandle = <0x1d>;
			};
		};

		cooling-maps {

			map0 {
				trip = <0x1b>;
				cdev-type = "tegra-shutdown";
				cooling-device = <0x8 0xffffffff 0xffffffff>;
			};

			map1 {
				trip = <0x1c>;
				cdev-type = "tegra-heavy";
				cooling-device = <0xa 0xffffffff 0xffffffff>;
			};

			map2 {
				trip = <0x1d>;
				cdev-type = "gpu-balanced";
				cooling-device = <0x1e 0xffffffff 0xffffffff>;
			};
		};
	};

	LCPU-therm {
		polling-delay = <0x0>;
		polling-delay-passive = <0x3e8>;
		thermal-sensors = <0x3 0x2>;
		status = "disabled";

		trips {

			lcpu_vmax1: lcpu-vmax1 {
				temperature = <0x101d0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x1f>;
				phandle = <0x1f>;
			};

			lcpu_vmax2: lcpu-vmax2 {
				temperature = <0x14ff0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x20>;
				phandle = <0x20>;
			};

			lcpu_critical {
				temperature = <0x19258>;
				hysteresis = <0x0>;
				type = "critical";
				writable;
				linux,phandle = <0x21>;
				phandle = <0x21>;
			};

			lcpu_heavy {
				temperature = <0x18c7c>;
				hysteresis = <0x0>;
				type = "hot";
				writable;
				linux,phandle = <0x22>;
				phandle = <0x22>;
			};

			lcpu_throttle {
				temperature = <0x16760>;
				hysteresis = <0x0>;
				type = "passive";
				writable;
				linux,phandle = <0x23>;
				phandle = <0x23>;
			};
		};

		cooling-maps {

			lcpu-vmax-map1 {
				trip = <0x1f>;
				cooling-device = <0x5 0x1 0x1>;
			};

			lcpu-vmax-map2 {
				trip = <0x20>;
				cooling-device = <0x5 0x2 0x2>;
			};

			map0 {
				trip = <0x21>;
				cdev-type = "tegra-shutdown";
				cooling-device = <0x8 0xffffffff 0xffffffff>;
			};

			map1 {
				trip = <0x22>;
				cdev-type = "tegra-heavy";
				cooling-device = <0xa 0xffffffff 0xffffffff>;
			};

			map2 {
				trip = <0x23>;
				cdev-type = "cpu-balanced";
				cooling-device = <0xc 0xffffffff 0xffffffff>;
			};
		};

		thermal-zone-params {
			governor-name = "pid_thermal_gov";
			max_err_temp = <0x2328>;
			max_err_gain = <0x3e8>;
			gain_p = <0x3e8>;
			gain_d = <0x0>;
			up_compensation = <0x14>;
			down_compensation = <0x14>;
		};
	};

	PLL-therm {
		polling-delay = <0x0>;
		polling-delay-passive = <0x3e8>;
		thermal-sensors = <0x3 0x3>;
		status = "okay";

		thermal-zone-params {
			governor-name = "pid_thermal_gov";
			max_err_temp = <0x2328>;
			max_err_gain = <0x3e8>;
			gain_p = <0x3e8>;
			gain_d = <0x0>;
			up_compensation = <0x14>;
			down_compensation = <0x14>;
		};
	};

	PMIC-Die {
		polling-delay = <0x0>;
		polling-delay-passive = <0x0>;
		thermal-sensors = <0x24>;

		trips {

			die_temp_thresh: hot-die {
				temperature = <0x1d4c0>;
				type = "active";
				hysteresis = <0x0>;
				linux,phandle = <0x25>;
				phandle = <0x25>;
			};
		};

		cooling-maps {

			map0 {
				trip = <0x25>;
				cooling-device = <0x26 0xffffffff 0xffffffff>;
				contribution = <0x64>;
				cdev-type = "emergency-balanced";
			};
		};
	};

	Tdiode_tegra {
		status = "okay";
		polling-delay = <0x0>;
		polling-delay-passive = <0x3e8>;
		thermal-sensors = <0x27 0x1>;

		trips {

			cpu_vmin1: cpu-vmin1 {
				temperature = <0x3a98>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x28>;
				phandle = <0x28>;
			};

			gpu_scaling0: gpu-scaling0 {
				temperature = <0xffff9e58>;
				hysteresis = <0x0>;
				type = "active";
				linux,phandle = <0xbb>;
				phandle = <0xbb>;
			};

			gpu_scaling1: gpu-scaling1 {
				temperature = <0x3a98>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x2a>;
				phandle = <0x2a>;
			};

			gpu_scaling2: gpu-scaling2 {
				temperature = <0x7530>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x2c>;
				phandle = <0x2c>;
			};

			gpu_scaling3: gpu-scaling3 {
				temperature = <0xc350>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x2d>;
				phandle = <0x2d>;
			};

			gpu_scaling4: gpu-scaling4 {
				temperature = <0x11170>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x2e>;
				phandle = <0x2e>;
			};

			gpu_scaling5: gpu-scaling5 {
				temperature = <0x19a28>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x2f>;
				phandle = <0x2f>;
			};

			gpu_vmax1: gpu-vmax1 {
				temperature = <0x14438>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x30>;
				phandle = <0x30>;
			};

			core_vmin1: core-vmin1 {
				temperature = <0x3a98>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x32>;
				phandle = <0x32>;
			};

			core_vmax1: core-vmax1 {
				temperature = <0x14ff0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x34>;
				phandle = <0x34>;
			};

			tdiode_shutdown_warn: shutdown-warn-throttle {
				temperature = <0x19640>;
				hysteresis = <0x3e8>;
				type = "passive";
				linux,phandle = <0x36>;
				phandle = <0x36>;
			};

			gpu_edp_20: gpu_edp@20 {
				temperature = <0x4e20>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x38>;
				phandle = <0x38>;
			};

			gpu_edp_50: gpu_edp@50 {
				temperature = <0xc350>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x3a>;
				phandle = <0x3a>;
			};

			gpu_edp_70: gpu_edp@70 {
				temperature = <0x11170>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x3b>;
				phandle = <0x3b>;
			};

			gpu_edp_80: gpu_edp@80 {
				temperature = <0x13880>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x3c>;
				phandle = <0x3c>;
			};

			gpu_edp_90: gpu_edp@90 {
				temperature = <0x15f90>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x3d>;
				phandle = <0x3d>;
			};

			gpu_edp_95: gpu_edp@95 {
				temperature = <0x17318>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x3e>;
				phandle = <0x3e>;
			};

			gpu_edp_100: gpu_edp@100 {
				temperature = <0x186a0>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x3f>;
				phandle = <0x3f>;
			};

			gpu_edp_105: gpu_edp@105 {
				temperature = <0x19a28>;
				hysteresis = <0x3e8>;
				type = "active";
				linux,phandle = <0x40>;
				phandle = <0x40>;
			};
		};

		cooling-maps {

			cpu-vmin-map1 {
				trip = <0x28>;
				cooling-device = <0x29 0x1 0x1>;
			};

			gpu-scaling-map1 {
				trip = <0x2a>;
				cooling-device = <0x2b 0x1 0x1>;
			};

			gpu-scaling-map2 {
				trip = <0x2c>;
				cooling-device = <0x2b 0x2 0x2>;
			};

			gpu-scaling-map3 {
				trip = <0x2d>;
				cooling-device = <0x2b 0x3 0x3>;
			};

			gpu-scaling-map4 {
				trip = <0x2e>;
				cooling-device = <0x2b 0x4 0x4>;
			};

			gpu-scaling-map5 {
				trip = <0x2f>;
				cooling-device = <0x2b 0x5 0x5>;
			};

			gpu-vmax-map1 {
				trip = <0x30>;
				cooling-device = <0x31 0x1 0x1>;
			};

			core-vmin-map1 {
				trip = <0x32>;
				cooling-device = <0x33 0x1 0x1>;
			};

			core-vmax-map1 {
				trip = <0x34>;
				cooling-device = <0x35 0x1 0x1>;
			};

			map-shutdown-warn {
				trip = <0x36>;
				cooling-device = <0x37 0xffffffff 0xffffffff>;
				cdev-type = "shutdown_warning";
			};

			map_gpu_edp_20 {
				trip = <0x38>;
				cooling-device = <0x39 0x125 0x125>;
			};

			map_gpu_edp_50 {
				trip = <0x3a>;
				cooling-device = <0x39 0x143 0x143>;
			};

			map_gpu_edp_70 {
				trip = <0x3b>;
				cooling-device = <0x39 0x157 0x157>;
			};

			map_gpu_edp_80 {
				trip = <0x3c>;
				cooling-device = <0x39 0x161 0x161>;
			};

			map_gpu_edp_90 {
				trip = <0x3d>;
				cooling-device = <0x39 0x16b 0x16b>;
			};

			map_gpu_edp_95 {
				trip = <0x3e>;
				cooling-device = <0x39 0x170 0x170>;
			};

			map_gpu_edp_100 {
				trip = <0x3f>;
				cooling-device = <0x39 0x175 0x175>;
			};

			map_gpu_edp_105 {
				trip = <0x40>;
				cooling-device = <0x39 0x17a 0x17a>;
			};
		};

		thermal-zone-params {
			governor-name = "pid_thermal_gov";
		};

		tdiode_shutdown_warn_cool_dev: shutdown-warn-cool-dev {
			#cooling-cells = <0x2>;
			linux,phandle = <0x37>;
			phandle = <0x37>;
		};
	};

	Tboard_tegra {
		status = "okay";
		polling-delay = <0x0>;
		polling-delay-passive = <0x0>;
		thermal-sensors = <0x27 0x0>;

		thermal-zone-params {
			governor-name = "pid_thermal_gov";
		};

		tboard_dram_cool_dev: dram-cool-dev {
			#cooling-cells = <0x2>;
			linux,phandle = <0x42>;
			phandle = <0x42>;
		};

		trips {

			tboard_dram_throttle: dram-throttle {
				temperature = <0x13880>;
				hysteresis = <0x3e8>;
				type = "active";
				writable;
				linux,phandle = <0x41>;
				phandle = <0x41>;
			};
		};

		cooling-maps {

			map-tegra-dram {
				trip = <0x41>;
				cooling-device = <0x42 0x1 0x1>;
				cdev-type = "tegra-dram";
			};
		};
	};
};

cpus {
	#address-cells = <0x2>;
	#size-cells = <0x0>;
	status = "okay";

	cpu@0 {
		device_type = "cpu";
		compatible = "arm,cortex-a57-64bit", "arm,armv8";
		reg = <0x0 0x0>;
		enable-method = "psci";
		errata_hwcaps = <0x7>;
		status = "okay";
	};

	cpu@1 {
		device_type = "cpu";
		compatible = "arm,cortex-a57-64bit", "arm,armv8";
		reg = <0x0 0x1>;
		enable-method = "psci";
		errata_hwcaps = <0x7>;
		status = "okay";
	};

	cpu@2 {
		device_type = "cpu";
		compatible = "arm,cortex-a57-64bit", "arm,armv8";
		reg = <0x0 0x2>;
		enable-method = "psci";
		errata_hwcaps = <0x7>;
		status = "okay";
	};

	cpu@3 {
		device_type = "cpu";
		compatible = "arm,cortex-a57-64bit", "arm,armv8";
		reg = <0x0 0x3>;
		enable-method = "psci";
		errata_hwcaps = <0x7>;
		status = "okay";
	};
};

mc_clk_pd: mc-clk-pd {
	compatible = "nvidia,tegra210-mc-clk-pd";
	#power-domain-cells = <0x0>;
	linux,phandle = <0x43>;
	phandle = <0x43>;
};

ape_pd: ape-pd {
	compatible = "nvidia,tegra210-ape-pd";
	#power-domain-cells = <0x0>;
	power-domains = <0x43>;
	partition-id = <0x1b>;
	linux,phandle = <0x44>;
	phandle = <0x44>;
};

adsp_pd: adsp-pd {
	compatible = "nvidia,tegra210-adsp-pd";
	#power-domain-cells = <0x0>;
	power-domains = <0x44>;
	linux,phandle = <0x93>;
	phandle = <0x93>;
};

host1x_pd: host1x-pd {
	compatible = "nvidia,tegra210-host1x-pd";
	is_off;
	host1x;
	#power-domain-cells = <0x0>;
	power-domains = <0x43>;
	linux,phandle = <0x45>;
	phandle = <0x45>;
};

tsec_pd: tsec-pd {
	compatible = "nvidia,tegra210-tsec-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	linux,phandle = <0x80>;
	phandle = <0x80>;
};

nvdec_pd: nvdec-pd {
	compatible = "nvidia,tegra210-nvdec-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x19>;
	linux,phandle = <0x81>;
	phandle = <0x81>;
};

ve_pd: ve-pd {
	compatible = "nvidia,tegra210-ve-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x2>;
	linux,phandle = <0x6f>;
	phandle = <0x6f>;
};

ve2_pd: ve2-pd {
	compatible = "nvidia,tegra210-ve2-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x1d>;
	linux,phandle = <0x78>;
	phandle = <0x78>;
};

vic03_pd: vic03-pd {
	compatible = "nvidia,tegra210-vic03-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x17>;
	linux,phandle = <0x7e>;
	phandle = <0x7e>;
};

msenc_pd: msenc-pd {
	compatible = "nvidia,tegra210-msenc-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x6>;
	linux,phandle = <0x7f>;
	phandle = <0x7f>;
};

nvjpg_pd: nvjpg-pd {
	compatible = "nvidia,tegra210-nvjpg-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x1a>;
	linux,phandle = <0x82>;
	phandle = <0x82>;
};

gpu_pd: gpu-pd {
	compatible = "nvidia,tegra210-gpu-pd";
	is_off;
	#power-domain-cells = <0x0>;
	power-domains = <0x45>;
	partition-id = <0x1>;
	linux,phandle = <0x91>;
	phandle = <0x91>;
};

pcie_pd: pcie-pd {
	compatible = "nvidia, tegra210-pcie-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x3>;
};

sata_pd: sata-pd {
	compatible = "nvidia, tegra210-sata-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x8>;
};

sor_pd: sor-pd {
	compatible = "nvidia, tegra210-sor-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x11>;
};

disa_pd: disa-pd {
	compatible = "nvidia, tegra210-disa-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x12>;
};

disb_pd: disb-pd {
	compatible = "nvidia, tegra210-disb-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x13>;
};

xusba_pd: xusba-pd {
	compatible = "nvidia, tegra210-xusba-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x14>;
};

xusbb_pd: xusbb-pd {
	compatible = "nvidia, tegra210-xusbb-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x15>;
};

xusbc_pd: xusbc-pd {
	compatible = "nvidia, tegra210-xusbc-pd";
	#power-domain-cells = <0x0>;
	partition-id = <0x16>;
};

psci {
	compatible = "arm,psci-0.2";
	status = "okay";
	method = "smc";
};

tlk {
	compatible = "nvidia,trusted-little-kernel";
	logger = "enabled";
	storage = "enabled";
};

arm-pmu {
	compatible = "arm,armv8-pmuv3";
	status = "okay";
	interrupts = <0x0 0x90 0x4 0x0 0x91 0x4 0x0 0x92 0x4 0x0 0x93 0x4>;
};

tegra_car: clock {
	compatible = "nvidia,tegra210-car";
	reg = <0x0 0x60006000 0x0 0x1000>;
	#clock-cells = <0x1>;
	#reset-cells = <0x1>;
	status = "okay";
	linux,phandle = <0x70>;
	phandle = <0x70>;

	t210-clk-init-table {
		compatible = "nvidia,tegra-clk-init-table";
		clkinit-0 = <0x7d 0xfd 0x66ff300 0x0 0x6f 0xfd 0x2dc6c00 0x0 0x11 0xfd 0x2dc6c00 0x0 0x1e 0xe8 0xbb8000 0x0 0xb 0xe8 0x0 0x0 0x65 0xe8 0x0 0x0 0x66 0xe8 0x0 0x0 0xa 0xe8 0x5dc000 0x0 0x11a 0xfd 0x2dc6c00 0x0 0x6a 0xe8 0xbb8000 0x0 0x12c 0x124 0x0 0x0 0x12e 0x126 0x0 0x0 0xa4 0xfd 0x8f0d180 0x0 0xa5 0xfd 0x8f0d180 0x0 0x90 0xfd 0x8f0d180 0x0 0x91 0xfd 0x8f0d180 0x0 0x92 0xfd 0x8f0d180 0x0 0x7a 0xfd 0x2719c40 0x0 0x135 0x7a 0x0 0x0 0xc 0xfd 0x30d400 0x0 0x36 0xfd 0x30d400 0x0 0x43 0xfd 0x30d400 0x0 0x67 0xfd 0x30d400 0x0 0x2f 0xfd 0x30d400 0x0 0xd0 0xfd 0xc28cb00 0x0 0x51 0xe3 0xf4240 0x0 0x29 0xfd 0x17d7840 0x0 0x2c 0xfd 0x17d7840 0x0 0x2e 0xfd 0x17d7840 0x0 0x44 0xfd 0x17d7840 0x0 0xd3 0xfd 0x7ed6b40 0x0 0x6 0xfd 0x18519600 0x1 0x7 0xfd 0x18519600 0x0 0x37 0xfd 0x18519600 0x0 0x41 0xfd 0x18519600 0x0 0x79 0xfd 0x2719c40 0x0 0x134 0x79 0x26e8f00 0x0 0x78 0xe3 0x124f800 0x1 0x133 0x78 0x124f800 0x1 0xb1 0xfd 0x40d9900 0x0 0x0>;
	};
};

reserved-memory {
	#address-cells = <0x2>;
	#size-cells = <0x2>;
	ranges;

	iram: iram-carveout {
		compatible = "nvidia,iram-carveout";
		reg = <0x0 0x40001000 0x0 0x3f000>;
		no-map;
		linux,phandle = <0x47>;
		phandle = <0x47>;
	};
};

tegra-carveouts {
	compatible = "nvidia,carveouts";
	iommus = <0x46 0x6 0x46 0x1>;
	memory-region = <0x47>;
	status = "okay";
};

smmu: iommu {
	compatible = "nvidia,tegra210-smmu";
	reg = <0x0 0x70019000 0x0 0x1000 0x0 0x6000c000 0x0 0x1000>;
	status = "okay";
	#asids = <0x80>;
	dma-window = <0x0 0x80000000 0x0 0x7ff00000>;
	#iommu-cells = <0x1>;
	swgid-mask = <0xfff 0xfffccdcf>;
	#num-translation-enable = <0x5>;
	#num-asid-security = <0x8>;
	domains = <0x48 0x1004000 0x49 0x49 0x80000000 0x0 0x4a 0x0 0x4 0x4b 0x404 0x0 0x4b 0x8 0x0 0x4c 0x1 0x0 0x4c 0x2000000 0x0 0x4c 0x4000000 0x0 0x4c 0x8000000 0x0 0x4c 0x10000000 0x0 0x4c 0xffffffff 0xffffffff>;
	linux,phandle = <0x46>;
	phandle = <0x46>;

	address-space-prop {

		common_as: common {
			iova-start = <0x0 0x80000000>;
			iova-size = <0x0 0x7ff00000>;
			num-pf-page = <0x0>;
			gap-page = <0x1>;
			linux,phandle = <0x4c>;
			phandle = <0x4c>;
		};

		ppcs_as: ppcs {
			iova-start = <0x0 0x80000000>;
			iova-size = <0x0 0x7ff00000>;
			num-pf-page = <0x1>;
			gap-page = <0x1>;
			linux,phandle = <0x48>;
			phandle = <0x48>;
		};

		dc_as: dc {
			iova-start = <0x0 0x10000>;
			iova-size = <0x0 0xfffeffff>;
			num-pf-page = <0x0>;
			gap-page = <0x0>;
			linux,phandle = <0x4b>;
			phandle = <0x4b>;
		};

		gpu_as: gpu {
			iova-start = <0x0 0x100000>;
			iova-size = <0x3 0xffefffff>;
			alignment = <0x20000>;
			num-pf-page = <0x0>;
			gap-page = <0x0>;
			linux,phandle = <0x49>;
			phandle = <0x49>;
		};

		ape_as: ape {
			iova-start = <0x0 0x70300000>;
			iova-size = <0x0 0x8fc00000>;
			num-pf-page = <0x0>;
			gap-page = <0x1>;
			linux,phandle = <0x4a>;
			phandle = <0x4a>;
		};
	};
};

bpmp {
	compatible = "nvidia,tegra210-bpmp";
	carveout-start = <0x80005000>;
	carveout-size = <0x10000>;
	status = "okay";
};

mc {
	compatible = "nvidia,tegra-mc";
	reg-ranges = <0xa>;
	reg = <0x0 0x70019000 0x0 0xc 0x0 0x70019050 0x0 0x19c 0x0 0x70019200 0x0 0x24 0x0 0x7001929c 0x0 0x1b8 0x0 0x70019464 0x0 0x198 0x0 0x70019604 0x0 0x3b0 0x0 0x700199bc 0x0 0x20 0x0 0x700199f8 0x0 0x8c 0x0 0x70019ae4 0x0 0xb0 0x0 0x70019ba0 0x0 0x460 0x0 0x7001c000 0x0 0xc 0x0 0x7001c050 0x0 0x198 0x0 0x7001c200 0x0 0x24 0x0 0x7001c29c 0x0 0x1b8 0x0 0x7001c464 0x0 0x198 0x0 0x7001c604 0x0 0x3b0 0x0 0x7001c9bc 0x0 0x20 0x0 0x7001c9f8 0x0 0x8c 0x0 0x7001cae4 0x0 0xb0 0x0 0x7001cba0 0x0 0x460 0x0 0x7001d000 0x0 0xc 0x0 0x7001d050 0x0 0x198 0x0 0x7001d200 0x0 0x24 0x0 0x7001d29c 0x0 0x1b8 0x0 0x7001d464 0x0 0x198 0x0 0x7001d604 0x0 0x3b0 0x0 0x7001d9bc 0x0 0x20 0x0 0x7001d9f8 0x0 0x8c 0x0 0x7001dae4 0x0 0xb0 0x0 0x7001dba0 0x0 0x460>;
	interrupts = <0x0 0x4d 0x4>;
	int_count = <0x8>;
	int_mask = <0x23d40>;
	channels = <0x2>;
	status = "okay";
};

intc: interrupt-controller {
	compatible = "arm,cortex-a15-gic";
	#interrupt-cells = <0x3>;
	interrupt-controller;
	reg = <0x0 0x50041000 0x0 0x1000 0x0 0x50042000 0x0 0x100>;
	status = "okay";
	linux,phandle = <0x1>;
	phandle = <0x1>;
};

lic: interrupt-controller@60004000 {
	compatible = "nvidia,tegra-gic";
	interrupt-controller;
	reg = <0x0 0x60004000 0x0 0x40 0x0 0x60004100 0x0 0x40 0x0 0x60004200 0x0 0x40 0x0 0x60004300 0x0 0x40 0x0 0x60004400 0x0 0x40 0x0 0x60004500 0x0 0x40>;
	status = "okay";
};

agic-controller {
	compatible = "nvidia,tegra210-agic";
	interrupt-controller;
	no-gic-extension;
	not-per-cpu;
	reg = <0x0 0x702f9000 0x0 0x2000 0x0 0x702fa000 0x0 0x2000>;
	interrupts = <0x0 0x66 0xf04>;
	status = "okay";
};

timer {
	compatible = "arm,armv8-timer";
	interrupts = <0x1 0xd 0xf01 0x1 0xe 0xf01 0x1 0xb 0xf01 0x1 0xa 0xf01>;
	clock-frequency = <0x124f800>;
	status = "okay";
};

timer@60005000 {
	compatible = "nvidia,tegra210-timer";
	reg = <0x0 0x60005000 0x0 0x400>;
	interrupts = <0x0 0xb0 0x4 0x0 0xb1 0x4 0x0 0xb2 0x4 0x0 0xb3 0x4>;
	status = "okay";
};

rtc {
	compatible = "nvidia,tegra-rtc";
	reg = <0x0 0x7000e000 0x0 0x100>;
	interrupts = <0x0 0x2 0x4>;
	status = "okay";
};

apbdma: dma@60020000 {
	compatible = "nvidia,tegra124-apbdma";
	power-domains = <0x43>;
	reg = <0x0 0x60020000 0x0 0x1400>;
	interrupts = <0x0 0x68 0x4 0x0 0x69 0x4 0x0 0x6a 0x4 0x0 0x6b 0x4 0x0 0x6c 0x4 0x0 0x6d 0x4 0x0 0x6e 0x4 0x0 0x6f 0x4 0x0 0x70 0x4 0x0 0x71 0x4 0x0 0x72 0x4 0x0 0x73 0x4 0x0 0x74 0x4 0x0 0x75 0x4 0x0 0x76 0x4 0x0 0x77 0x4 0x0 0x80 0x4 0x0 0x81 0x4 0x0 0x82 0x4 0x0 0x83 0x4 0x0 0x84 0x4 0x0 0x85 0x4 0x0 0x86 0x4 0x0 0x87 0x4 0x0 0x88 0x4 0x0 0x89 0x4 0x0 0x8a 0x4 0x0 0x8b 0x4 0x0 0x8c 0x4 0x0 0x8d 0x4 0x0 0x8e 0x4 0x0 0x8f 0x4>;
	#dma-cells = <0x1>;
	status = "okay";
	linux,phandle = <0x5d>;
	phandle = <0x5d>;
};

pinmux: pinmux@700008d4 {
	compatible = "nvidia,tegra210-pinmux";
	reg = <0x0 0x700008d4 0x0 0x2a5 0x0 0x70003000 0x0 0x290>;
	#gpio-range-cells = <0x3>;
	status = "okay";
	pinctrl-names = "default", "drive", "unused";
	pinctrl-0 = <0x4d>;
	pinctrl-1 = <0x4e>;
	pinctrl-2 = <0x4f>;
	linux,phandle = <0x50>;
	phandle = <0x50>;

	prod-settings {
		#prod-cells = <0x4>;

		prod {
			status = "okay";
			nvidia,prod-boot-init;
			prod = <0x0 0x1c4 0x8080fff 0x51212000 0x0 0x128 0xfe0e0fff 0x1010000 0x0 0x12c 0xfe0e0fff 0x1010000 0x0 0x1c8 0xfffc002 0x1040 0x0 0x1dc 0x8080fff 0x51212000 0x0 0x1e0 0xfffc002 0x1040 0x0 0x23c 0xfe0e0fff 0x1f1f000 0x0 0x20 0xfe0e0fff 0x1010000 0x0 0x44 0xfe0e0fff 0x1010000 0x0 0x50 0xfe0e0fff 0x1010000 0x0 0x58 0xfe0e0fff 0x1010000 0x0 0x5c 0xfe0e0fff 0x1010000 0x0 0xa0 0xfe0e0fff 0x1010000 0x0 0xa4 0xfe0e0fff 0x1010000 0x0 0xa8 0xfe0e0fff 0x1010000 0x0 0xac 0xfe0e0fff 0x1010000 0x0 0xb0 0xfe0e0fff 0x1f1f000 0x0 0xb4 0xfe0e0fff 0x1f1f000 0x0 0xb8 0xfe0e0fff 0x1f1f000 0x0 0xbc 0xfe0e0fff 0x1f1f000 0x0 0xc0 0xfe0e0fff 0x1f1f000 0x0 0xc4 0xfe0e0fff 0x1f1f000 0x1 0x0 0xffff8dff 0x2000 0x1 0x4 0xffff8dff 0x2000 0x1 0x8 0xffff8dff 0x2000 0x1 0xc 0xffff8dff 0x2000 0x1 0x10 0xffff8dff 0x2000 0x1 0x14 0xffff8dff 0x2000 0x1 0x1c 0xffff8dff 0x2000 0x1 0x20 0xffff8dff 0x2000 0x1 0x24 0xffff8dff 0x2000 0x1 0x28 0xffff8dff 0x2000 0x1 0x2c 0xffff8dff 0x2000 0x1 0x30 0xffff8dff 0x2000 0x1 0x160 0xffffefff 0x1000>;
		};

		i2s2_prod {
			prod = <0x0 0xb0 0xfe0e0fff 0x1010000 0x0 0xb4 0xfe0e0fff 0x1010000 0x0 0xb8 0xfe0e0fff 0x1010000 0x0 0xbc 0xfe0e0fff 0x1010000>;
		};

		spi1_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0x200 0xfffffff 0x50000000 0x0 0x204 0xfffffff 0x50000000 0x0 0x208 0xfffffff 0x50000000 0x0 0x20c 0xfffffff 0x50000000 0x0 0x210 0xfffffff 0x50000000 0x1 0x50 0xffff9fff 0x6040 0x1 0x54 0xffff9fff 0x6040 0x1 0x58 0xffff9fff 0x6040 0x1 0x5c 0xffff9fff 0x6040 0x1 0x60 0xffff9fff 0x6040>;
		};

		spi2_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0x214 0xfffffff 0xd0000000 0x0 0x218 0xfffffff 0xd0000000 0x0 0x21c 0xfffffff 0xd0000000 0x0 0x220 0xfffffff 0xd0000000 0x0 0x224 0xfffffff 0xd0000000 0x1 0x64 0xffff9fff 0x6040 0x1 0x68 0xffff9fff 0x6040 0x1 0x6c 0xffff9fff 0x6040 0x1 0x70 0xffff9fff 0x6040 0x1 0x74 0xffff9fff 0x6040>;
		};

		spi3_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xcc 0xfebfbfff 0x1414000 0x0 0xd0 0xfebfbfff 0x1414000 0x0 0x140 0xfebfbfff 0x1414000 0x0 0x144 0xfebfbfff 0x1414000>;
		};

		spi4_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0x268 0xfebfbfff 0x1414000 0x0 0x26c 0xfebfbfff 0x1414000 0x0 0x270 0xfebfbfff 0x1414000 0x0 0x274 0xfebfbfff 0x1414000>;
		};

		i2c0_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xd4 0xfe0e0fff 0x1f000 0x0 0xd8 0xfe0e0fff 0x1f000 0x1 0xbc 0xffffeeff 0x0 0x1 0xc0 0xffffeeff 0x0>;
		};

		i2c1_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xdc 0xfe0e0fff 0x1f000 0x0 0xe0 0xfe0e0fff 0x1f000 0x1 0xc4 0xffffeeff 0x0 0x1 0xc8 0xffffeeff 0x0>;
		};

		i2c2_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xe4 0xfe0e0fff 0x1f000 0x0 0xe8 0xfe0e0fff 0x1f000 0x1 0xcc 0xffffeeff 0x0 0x1 0xd0 0xffffeeff 0x0 0x0 0x60 0xfe0e0fff 0x1f000 0x0 0x64 0xfe0e0fff 0x1f000 0x1 0xd4 0xffffeeff 0x0 0x1 0xd8 0xffffeeff 0x0>;
		};

		i2c4_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0x198 0xfe0e0fff 0x1f000 0x0 0x19c 0xfe0e0fff 0x1f000 0x1 0xdc 0xffffeeff 0x0 0x1 0xe0 0xffffeeff 0x0>;
		};

		i2c0_hs_prod {
			prod = <0x0 0xd4 0xfe0e0fff 0x1f1f000 0x0 0xd8 0xfe0e0fff 0x1f1f000 0x1 0xbc 0xffffeeff 0x1000 0x1 0xc0 0xffffeeff 0x1000>;
		};

		i2c1_hs_prod {
			prod = <0x0 0xdc 0xfe0e0fff 0x1f1f000 0x0 0xe0 0xfe0e0fff 0x1f1f000 0x1 0xc4 0xffffeeff 0x1000 0x1 0xc8 0xffffeeff 0x1000>;
		};

		i2c2_hs_prod {
			prod = <0x0 0xe4 0xfe0e0fff 0x1f1f000 0x0 0xe8 0xfe0e0fff 0x1f1f000 0x1 0xcc 0xffffeeff 0x1000 0x1 0xd0 0xffffeeff 0x1000 0x0 0x60 0xfe0e0fff 0x1f1f000 0x0 0x64 0xfe0e0fff 0x1f1f000 0x1 0xd4 0xffffeeff 0x1000 0x1 0xd8 0xffffeeff 0x1000>;
		};

		i2c4_hs_prod {
			prod = <0x0 0x198 0xfe0e0fff 0x1f1f000 0x0 0x19c 0xfe0e0fff 0x1f1f000 0x1 0xdc 0xffffeeff 0x1000 0x1 0xe0 0xffffeeff 0x1000>;
		};

		i2c0_override_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xd4 0xfffe0fff 0x0 0x0 0xd8 0xfffe0fff 0x0>;
		};

		i2c1_override_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xdc 0xfffe0fff 0x0 0x0 0xe0 0xfffe0fff 0x0>;
		};

		i2c2_override_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0xe4 0xfffe0fff 0x0 0x0 0xe8 0xfffe0fff 0x0>;
		};

		i2c4_override_prod {
			nvidia,prod-boot-init;
			prod = <0x0 0x198 0xfffe0fff 0x0 0x0 0x19c 0xfffe0fff 0x0 0x1 0xdc 0xfffffeff 0x100 0x1 0xe0 0xfffffeff 0x100>;
		};

		spi4_override_prod {
			nvidia,prod-boot-init;
			prod = <0x1 0x78 0xffff9fff 0x6000 0x1 0x7c 0xffff9fff 0x6000 0x1 0x80 0xffff9fff 0x6000 0x1 0x84 0xffff9fff 0x6000>;
		};
	};

	pinmux_default: common {
		linux,phandle = <0x4d>;
		phandle = <0x4d>;

		aud_mclk_pbb0 {
			nvidia,pins = "aud_mclk_pbb0";
			nvidia,function = "aud";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		dap1_din_pb1 {
			nvidia,pins = "dap1_din_pb1";
			nvidia,function = "i2s1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap1_dout_pb2 {
			nvidia,pins = "dap1_dout_pb2";
			nvidia,function = "i2s1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap1_fs_pb0 {
			nvidia,pins = "dap1_fs_pb0";
			nvidia,function = "i2s1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap1_sclk_pb3 {
			nvidia,pins = "dap1_sclk_pb3";
			nvidia,function = "i2s1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pk0 {
			nvidia,pins = "pk0";
			nvidia,function = "i2s5b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pk1 {
			nvidia,pins = "pk1";
			nvidia,function = "i2s5b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pk2 {
			nvidia,pins = "pk2";
			nvidia,function = "i2s5b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pk3 {
			nvidia,pins = "pk3";
			nvidia,function = "i2s5b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dmic1_clk_pe0 {
			nvidia,pins = "dmic1_clk_pe0";
			nvidia,function = "i2s3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dmic1_dat_pe1 {
			nvidia,pins = "dmic1_dat_pe1";
			nvidia,function = "i2s3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dmic2_clk_pe2 {
			nvidia,pins = "dmic2_clk_pe2";
			nvidia,function = "i2s3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dmic2_dat_pe3 {
			nvidia,pins = "dmic2_dat_pe3";
			nvidia,function = "i2s3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap4_din_pj5 {
			nvidia,pins = "dap4_din_pj5";
			nvidia,function = "i2s4b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap4_dout_pj6 {
			nvidia,pins = "dap4_dout_pj6";
			nvidia,function = "i2s4b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap4_fs_pj4 {
			nvidia,pins = "dap4_fs_pj4";
			nvidia,function = "i2s4b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap4_sclk_pj7 {
			nvidia,pins = "dap4_sclk_pj7";
			nvidia,function = "i2s4b";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dmic3_clk_pe4 {
			nvidia,pins = "dmic3_clk_pe4";
			nvidia,function = "dmic3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		dmic3_dat_pe5 {
			nvidia,pins = "dmic3_dat_pe5";
			nvidia,function = "dmic3";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		gen1_i2c_scl_pj1 {
			nvidia,pins = "gen1_i2c_scl_pj1";
			nvidia,function = "i2c1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		gen1_i2c_sda_pj0 {
			nvidia,pins = "gen1_i2c_sda_pj0";
			nvidia,function = "i2c1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		gen2_i2c_scl_pj2 {
			nvidia,pins = "gen2_i2c_scl_pj2";
			nvidia,function = "i2c2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		gen2_i2c_sda_pj3 {
			nvidia,pins = "gen2_i2c_sda_pj3";
			nvidia,function = "i2c2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		cam_i2c_scl_ps2 {
			nvidia,pins = "cam_i2c_scl_ps2";
			nvidia,function = "i2cvi";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		cam_i2c_sda_ps3 {
			nvidia,pins = "cam_i2c_sda_ps3";
			nvidia,function = "i2cvi";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		cam1_mclk_ps0 {
			nvidia,pins = "cam1_mclk_ps0";
			nvidia,function = "extperiph3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cam2_mclk_ps1 {
			nvidia,pins = "cam2_mclk_ps1";
			nvidia,function = "extperiph3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		pex_l0_clkreq_n_pa1 {
			nvidia,pins = "pex_l0_clkreq_n_pa1";
			nvidia,function = "pe0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x1>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		pex_l0_rst_n_pa0 {
			nvidia,pins = "pex_l0_rst_n_pa0";
			nvidia,function = "pe0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
			nvidia,io-high-voltage = <0x1>;
		};

		pex_l1_clkreq_n_pa4 {
			nvidia,pins = "pex_l1_clkreq_n_pa4";
			nvidia,function = "pe1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x1>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		pex_l1_rst_n_pa3 {
			nvidia,pins = "pex_l1_rst_n_pa3";
			nvidia,function = "pe1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
			nvidia,io-high-voltage = <0x1>;
		};

		pex_wake_n_pa2 {
			nvidia,pins = "pex_wake_n_pa2";
			nvidia,function = "pe";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		pa6 {
			nvidia,pins = "pa6";
			nvidia,function = "sata";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		sdmmc1_clk_pm0 {
			nvidia,pins = "sdmmc1_clk_pm0";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc1_cmd_pm1 {
			nvidia,pins = "sdmmc1_cmd_pm1";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc1_dat0_pm5 {
			nvidia,pins = "sdmmc1_dat0_pm5";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc1_dat1_pm4 {
			nvidia,pins = "sdmmc1_dat1_pm4";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc1_dat2_pm3 {
			nvidia,pins = "sdmmc1_dat2_pm3";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc1_dat3_pm2 {
			nvidia,pins = "sdmmc1_dat3_pm2";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pz1 {
			nvidia,pins = "pz1";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pz4 {
			nvidia,pins = "pz4";
			nvidia,function = "sdmmc1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc3_clk_pp0 {
			nvidia,pins = "sdmmc3_clk_pp0";
			nvidia,function = "sdmmc3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc3_cmd_pp1 {
			nvidia,pins = "sdmmc3_cmd_pp1";
			nvidia,function = "sdmmc3";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc3_dat0_pp5 {
			nvidia,pins = "sdmmc3_dat0_pp5";
			nvidia,function = "sdmmc3";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc3_dat1_pp4 {
			nvidia,pins = "sdmmc3_dat1_pp4";
			nvidia,function = "sdmmc3";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc3_dat2_pp3 {
			nvidia,pins = "sdmmc3_dat2_pp3";
			nvidia,function = "sdmmc3";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		sdmmc3_dat3_pp2 {
			nvidia,pins = "sdmmc3_dat3_pp2";
			nvidia,function = "sdmmc3";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		touch_clk_pv7 {
			nvidia,pins = "touch_clk_pv7";
			nvidia,function = "touch";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		lcd_te_py2 {
			nvidia,pins = "lcd_te_py2";
			nvidia,function = "displaya";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		lcd_bl_pwm_pv0 {
			nvidia,pins = "lcd_bl_pwm_pv0";
			nvidia,function = "pwm0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		gen3_i2c_scl_pf0 {
			nvidia,pins = "gen3_i2c_scl_pf0";
			nvidia,function = "i2c3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		gen3_i2c_sda_pf1 {
			nvidia,pins = "gen3_i2c_sda_pf1";
			nvidia,function = "i2c3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		pe7 {
			nvidia,pins = "pe7";
			nvidia,function = "pwm3";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart1_tx_pu0 {
			nvidia,pins = "uart1_tx_pu0";
			nvidia,function = "uarta";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart1_rx_pu1 {
			nvidia,pins = "uart1_rx_pu1";
			nvidia,function = "uarta";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart1_rts_pu2 {
			nvidia,pins = "uart1_rts_pu2";
			nvidia,function = "uarta";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart1_cts_pu3 {
			nvidia,pins = "uart1_cts_pu3";
			nvidia,function = "uarta";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart3_tx_pd1 {
			nvidia,pins = "uart3_tx_pd1";
			nvidia,function = "uartc";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart3_rx_pd2 {
			nvidia,pins = "uart3_rx_pd2";
			nvidia,function = "uartc";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart3_rts_pd3 {
			nvidia,pins = "uart3_rts_pd3";
			nvidia,function = "uartc";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart3_cts_pd4 {
			nvidia,pins = "uart3_cts_pd4";
			nvidia,function = "uartc";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart2_tx_pg0 {
			nvidia,pins = "uart2_tx_pg0";
			nvidia,function = "uartb";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart2_rx_pg1 {
			nvidia,pins = "uart2_rx_pg1";
			nvidia,function = "uartb";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart2_rts_pg2 {
			nvidia,pins = "uart2_rts_pg2";
			nvidia,function = "uartb";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart2_cts_pg3 {
			nvidia,pins = "uart2_cts_pg3";
			nvidia,function = "uartb";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		jtag_rtck {
			nvidia,pins = "jtag_rtck";
			nvidia,function = "jtag";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		spi4_mosi_pc7 {
			nvidia,pins = "spi4_mosi_pc7";
			nvidia,function = "spi4";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi4_miso_pd0 {
			nvidia,pins = "spi4_miso_pd0";
			nvidia,function = "spi4";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi4_sck_pc5 {
			nvidia,pins = "spi4_sck_pc5";
			nvidia,function = "spi4";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi4_cs0_pc6 {
			nvidia,pins = "spi4_cs0_pc6";
			nvidia,function = "spi4";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi1_mosi_pc0 {
			nvidia,pins = "spi1_mosi_pc0";
			nvidia,function = "spi1";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi1_miso_pc1 {
			nvidia,pins = "spi1_miso_pc1";
			nvidia,function = "spi1";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi1_sck_pc2 {
			nvidia,pins = "spi1_sck_pc2";
			nvidia,function = "spi1";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi1_cs0_pc3 {
			nvidia,pins = "spi1_cs0_pc3";
			nvidia,function = "spi1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi1_cs1_pc4 {
			nvidia,pins = "spi1_cs1_pc4";
			nvidia,function = "spi1";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi2_mosi_pb4 {
			nvidia,pins = "spi2_mosi_pb4";
			nvidia,function = "spi2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi2_miso_pb5 {
			nvidia,pins = "spi2_miso_pb5";
			nvidia,function = "spi2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi2_sck_pb6 {
			nvidia,pins = "spi2_sck_pb6";
			nvidia,function = "spi2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi2_cs0_pb7 {
			nvidia,pins = "spi2_cs0_pb7";
			nvidia,function = "spi2";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		spi2_cs1_pdd0 {
			nvidia,pins = "spi2_cs1_pdd0";
			nvidia,function = "spi2";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		usb_vbus_en0_pcc4 {
			nvidia,pins = "usb_vbus_en0_pcc4";
			nvidia,function = "usb";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		usb_vbus_en1_pcc5 {
			nvidia,pins = "usb_vbus_en1_pcc5";
			nvidia,function = "usb";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		dp_hpd0_pcc6 {
			nvidia,pins = "dp_hpd0_pcc6";
			nvidia,function = "dp";
			nvidia,pull = <0x1>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		hdmi_cec_pcc0 {
			nvidia,pins = "hdmi_cec_pcc0";
			nvidia,function = "cec";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x1>;
		};

		dap2_din_paa2 {
			nvidia,pins = "dap2_din_paa2";
			nvidia,function = "i2s2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap2_dout_paa3 {
			nvidia,pins = "dap2_dout_paa3";
			nvidia,function = "i2s2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap2_fs_paa0 {
			nvidia,pins = "dap2_fs_paa0";
			nvidia,function = "i2s2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dap2_sclk_paa1 {
			nvidia,pins = "dap2_sclk_paa1";
			nvidia,function = "i2s2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart4_tx_pi4 {
			nvidia,pins = "uart4_tx_pi4";
			nvidia,function = "uartd";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart4_rx_pi5 {
			nvidia,pins = "uart4_rx_pi5";
			nvidia,function = "uartd";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		uart4_rts_pi6 {
			nvidia,pins = "uart4_rts_pi6";
			nvidia,function = "uartd";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		uart4_cts_pi7 {
			nvidia,pins = "uart4_cts_pi7";
			nvidia,function = "uartd";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		pwr_i2c_scl_py3 {
			nvidia,pins = "pwr_i2c_scl_py3";
			nvidia,function = "i2cpmu";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		pwr_i2c_sda_py4 {
			nvidia,pins = "pwr_i2c_sda_py4";
			nvidia,function = "i2cpmu";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
			nvidia,io-high-voltage = <0x0>;
		};

		clk_32k_in {
			nvidia,pins = "clk_32k_in";
			nvidia,function = "clk";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		clk_32k_out_py5 {
			nvidia,pins = "clk_32k_out_py5";
			nvidia,function = "soc";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		dvfs_pwm_pbb1 {
			nvidia,pins = "dvfs_pwm_pbb1";
			nvidia,function = "cldvfs";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x1>;
			nvidia,enable-input = <0x0>;
		};

		lcd_gpio2_pv4 {
			nvidia,pins = "lcd_gpio2_pv4";
			nvidia,function = "pwm1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		shutdown {
			nvidia,pins = "shutdown";
			nvidia,function = "shutdown";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		pz5 {
			nvidia,pins = "pz5";
			nvidia,function = "soc";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		core_pwr_req {
			nvidia,pins = "core_pwr_req";
			nvidia,function = "core";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cpu_pwr_req {
			nvidia,pins = "cpu_pwr_req";
			nvidia,function = "cpu";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		pwr_int_n {
			nvidia,pins = "pwr_int_n";
			nvidia,function = "pmi";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		gpio_x1_aud_pbb3 {
			nvidia,pins = "gpio_x1_aud_pbb3";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		pe6 {
			nvidia,pins = "pe6";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		cam_rst_ps4 {
			nvidia,pins = "cam_rst_ps4";
			nvidia,function = "rsvd1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cam_af_en_ps5 {
			nvidia,pins = "cam_af_en_ps5";
			nvidia,function = "rsvd2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cam_flash_en_ps6 {
			nvidia,pins = "cam_flash_en_ps6";
			nvidia,function = "rsvd2";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cam1_pwdn_ps7 {
			nvidia,pins = "cam1_pwdn_ps7";
			nvidia,function = "rsvd1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cam2_pwdn_pt0 {
			nvidia,pins = "cam2_pwdn_pt0";
			nvidia,function = "rsvd1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		cam1_strobe_pt1 {
			nvidia,pins = "cam1_strobe_pt1";
			nvidia,function = "rsvd1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		pz3 {
			nvidia,pins = "pz3";
			nvidia,function = "rsvd1";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		nfc_en_pi0 {
			nvidia,pins = "nfc_en_pi0";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		touch_int_px1 {
			nvidia,pins = "touch_int_px1";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		touch_rst_pv6 {
			nvidia,pins = "touch_rst_pv6";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		lcd_bl_en_pv1 {
			nvidia,pins = "lcd_bl_en_pv1";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		lcd_rst_pv2 {
			nvidia,pins = "lcd_rst_pv2";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x0>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x0>;
		};

		button_power_on_px5 {
			nvidia,pins = "button_power_on_px5";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		button_vol_up_px6 {
			nvidia,pins = "button_vol_up_px6";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		button_vol_down_px7 {
			nvidia,pins = "button_vol_down_px7";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		button_slide_sw_py0 {
			nvidia,pins = "button_slide_sw_py0";
			nvidia,function = "rsvd0";
			nvidia,pull = <0x2>;
			nvidia,tristate = <0x0>;
			nvidia,enable-input = <0x1>;
		};

		lcd_g

The above post is unfinished, I couldn’t paste whole device tree, you’ve a limitation of lines.
We use an integrated approach to device tree, so we’ve made single device tree file combining all files that are needed. This way we can all understand and follow everything. The file is large about 10k lines, you don’t have attachment option, is there any way I can send you the file?
mono-tegra210-jetson-tx1-CTI-ASG001.zip (44.3 KB)

FYI, a file can be attached after the post is created. It’s the “paper clip” icon when the mouse is over the upper right of the comment.

updated with attachment in the previous post.

Hello nVConan,

Are you still reviewing my device tree or have you dropped this thread?

Thanks,
Hakim

Sorry for the later response, as I failed to download your attachment yesterday.

In terms of the port configuration, you are connecting ov5693 to csi_e.
But from the mode table, it’s set to csi_c. Which one is the real hw connection?

e3326_ov5693_out0: endpoint {
[b]          csi-port = <0x4>;
[/b]          bus-width = <0x2>;
          remote-endpoint = <0x85>;
          linux,phandle = <0x71>;
          phandle = <0x71>;
      };
mode0 {
      mclk_khz = "24000";
      num_lanes = [32 00];
[b]      tegra_sinterface = "serial_c";
[/b]      discontinuous_clk = "no";
      dpcm_enable = "false";

You got it, this is great!

I still haven’t gotten two cameras working together for ov5693 sensor. I’ll do some more investigation.

Hakim