i2c@c25000 { video_encoder0: adv7280@20 { compatible = "adi,adv7280-m"; reg = <0x20>; devnode = "video0"; physical_w = "3.680"; physical_h = "2.760"; use_sensor_mode_id = "false"; /* ADV7180_MODE_720X576, 30 FPS, uyvy16 */ mode0 { mclk_khz = "24000"; num_lanes = "1"; tegra_sinterface = "serial_d"; phy_mode = "DPHY"; discontinuous_clk = "no"; dpcm_enable = "false"; cil_settletime = "0"; active_w = "720"; active_h = "576"; pixel_t = "yuv_uyvy16"; readout_orientation = "90"; line_length = "1000"; inherent_gain = "1"; mclk_multiplier = "9.33"; pix_clk_hz = "182400000"; // gain and exposure are meaningless gain_factor = "10"; framerate_factor = "1000000"; exposure_factor = "1000000"; min_gain_val = "0"; /* 1.00x */ max_gain_val = "254"; /* 10.66x */ step_gain_val = "1"; default_gain = "16"; /* 1.00x */ min_hdr_ratio = "1"; max_hdr_ratio = "1"; min_framerate = "30000000"; /* 30.0 fps */ max_framerate = "30000000"; /* 30.0 fps */ step_framerate = "1"; default_framerate = "30000000"; /* 30.0 fps */ min_exp_time = "8"; /* us */ max_exp_time = "7719"; /* us */ step_exp_time = "1"; default_exp_time = "2233"; /* us */ embedded_metadata_height = "0"; }; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; cam3_out: endpoint { port-index = <1>; bus-width = <1>; remote-endpoint = <&csi_in3>; }; }; }; }; }; host1x { vi_base: vi@15700000 { num-channels = <4>; ports { #address-cells = <1>; #size-cells = <0>; <........> vi_port3: port@3 { reg = <3>; vi_in3: endpoint { port-index = <3>; bus-width = <1>; remote-endpoint = <&csi_out3>; }; }; }; }; csi_base: nvcsi@150c0000 { num-channels = <4>; #address-cells = <1>; #size-cells = <0>; <........> csi_chan3: channel@3 { reg = <3>; ports { #address-cells = <1>; #size-cells = <0>; csi_chan3_port0: port@6 { reg = <0>; csi_in3: endpoint@6 { port-index = <3>; bus-width = <1>; remote-endpoint = <&cam3_out>; }; }; csi_chan3_port1: port@7 { reg = <1>; csi_out3: endpoint@7 { remote-endpoint = <&vi_in3>; }; }; }; }; }; }; tegra-camera-platform { num_csi_lanes = <7>; max_lane_speed = <1500000>; min_bits_per_pixel = <10>; vi_peak_byte_per_pixel = <2>; vi_bw_margin_pct = <25>; max_pixel_rate = <300000>; isp_peak_byte_per_pixel = <5>; isp_bw_margin_pct = <25>; modules { <........> cam_module3: module3 { status = "okay"; badge = "porg_topleft_RBPCV2"; position = "topleft"; orientation = "1"; cam_module3_drivernode0: drivernode0 { status = "okay"; pcl_id = "v4l2_sensor"; devname = "adv7180 7-0020"; proc-device-tree = "/proc/device-tree/i2c@c250000/adv7280@20"; }; }; }; }; };