forked from raspberrypi/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DT overlays for ADV7282M, OV5647, and TC358743
DT overlays to setup the above devices via i2c_vc and csi1 tc358743-fast is tc358743 at 990Mbit/s Adds new overlay for TC358743 HDMI to CSI2 bridge running at 990Mbit/s per lane instead of 594Mbit/s. That means 1080P50 UYVY can run down 2 lanes. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
- Loading branch information
Showing
5 changed files
with
233 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Definitions for Analog Devices ADV7282-M video to CSI2 bridge on VC I2C bus | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/{ | ||
compatible = "brcm,bcm2708"; | ||
|
||
fragment@0 { | ||
target = <&i2c_vc>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
adv7282: adv7282@21 { | ||
compatible = "adi,adv7282-m"; | ||
reg = <0x21>; | ||
status = "okay"; | ||
clock-frequency = <24000000>; | ||
port { | ||
adv7282_0: endpoint { | ||
remote-endpoint = <&csi1_ep>; | ||
clock-lanes = <0>; | ||
data-lanes = <1>; | ||
//clock-noncontinuous; | ||
link-frequencies = | ||
/bits/ 64 <297000000>; | ||
|
||
mclk-frequency = <12000000>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
fragment@1 { | ||
target = <&csi1>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
port { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
csi1_ep: endpoint { | ||
remote-endpoint = <&adv7282_0>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Definitions for OV5647 camera module on VC I2C bus | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/{ | ||
compatible = "brcm,bcm2708"; | ||
|
||
fragment@0 { | ||
target = <&i2c_vc>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
ov5647: ov5647@36 { | ||
compatible = "ov5647"; | ||
reg = <0x36>; | ||
status = "okay"; | ||
|
||
pwdn-gpios = <&gpio 41 1>; | ||
clocks = <&ov5647_clk>; | ||
|
||
ov5647_clk: camera-clk { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <25000000>; | ||
}; | ||
|
||
port { | ||
ov5647_0: endpoint { | ||
remote-endpoint = <&csi1_ep>; | ||
clock-lanes = <0>; | ||
data-lanes = <1 2>; | ||
clock-noncontinuous; | ||
link-frequencies = | ||
/bits/ 64 <297000000>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&csi1>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
port { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
csi1_ep: endpoint { | ||
remote-endpoint = <&ov5647_0>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Definitions for Toshiba TC358743 HDMI to CSI2 bridge on VC I2C bus | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/{ | ||
compatible = "brcm,bcm2708"; | ||
|
||
fragment@0 { | ||
target = <&i2c_vc>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
tc358743@0f { | ||
compatible = "toshiba,tc358743"; | ||
reg = <0x0f>; | ||
status = "okay"; | ||
|
||
clocks = <&tc358743_clk>; | ||
clock-names = "refclk"; | ||
|
||
tc358743_clk: bridge-clk { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <27000000>; | ||
}; | ||
|
||
port { | ||
tc358743: endpoint { | ||
remote-endpoint = <&csi1_ep>; | ||
clock-lanes = <0>; | ||
data-lanes = <1 2>; | ||
clock-noncontinuous; | ||
link-frequencies = | ||
/bits/ 64 <495000000>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&csi1>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
port { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
csi1_ep: endpoint { | ||
remote-endpoint = <&tc358743>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Definitions for Toshiba TC358743 HDMI to CSI2 bridge on VC I2C bus | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/{ | ||
compatible = "brcm,bcm2708"; | ||
|
||
fragment@0 { | ||
target = <&i2c_vc>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
tc358743@0f { | ||
compatible = "toshiba,tc358743"; | ||
reg = <0x0f>; | ||
status = "okay"; | ||
|
||
clocks = <&tc358743_clk>; | ||
clock-names = "refclk"; | ||
|
||
tc358743_clk: bridge-clk { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <27000000>; | ||
}; | ||
|
||
port { | ||
tc358743: endpoint { | ||
remote-endpoint = <&csi1_ep>; | ||
clock-lanes = <0>; | ||
data-lanes = <1 2>; | ||
clock-noncontinuous; | ||
link-frequencies = | ||
/bits/ 64 <297000000>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&csi1>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "okay"; | ||
|
||
port { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
csi1_ep: endpoint { | ||
remote-endpoint = <&tc358743>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |