94 lines
1.5 KiB
Plaintext
94 lines
1.5 KiB
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "brcm,bcm2835";
|
|
|
|
fragment@0 {
|
|
target = <&i2c0if>;
|
|
__overlay__ {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&cam1_clk>;
|
|
__overlay__ {
|
|
status = "okay";
|
|
clock-frequency = <24000000>;
|
|
};
|
|
};
|
|
|
|
fragment@2 {
|
|
target = <&i2c0mux>;
|
|
__overlay__ {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
fragment@100 {
|
|
target = <&i2c_csi_dsi>;
|
|
__overlay__ {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
sc235hai: sc235hai@30 {
|
|
compatible = "smartsens,sc235hai";
|
|
reg = <0x30>;
|
|
status = "okay";
|
|
|
|
clocks = <&cam1_clk>;
|
|
clock-names = "xclk";
|
|
|
|
VANA-supply = <&cam1_reg>; /* 2.8V analog */
|
|
VDIG-supply = <&cam_dummy_reg>; /* 1.2V digital */
|
|
VDDL-supply = <&cam_dummy_reg>; /* 1.8V I/O */
|
|
|
|
rotation = <180>;
|
|
orientation = <2>;
|
|
|
|
port {
|
|
sc235hai_0: endpoint {
|
|
remote-endpoint = <&csi1_ep>;
|
|
clock-lanes = <0>;
|
|
data-lanes = <1 2>;
|
|
clock-noncontinuous;
|
|
link-frequencies = /bits/ 64 <456000000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@101 {
|
|
target = <&csi1>;
|
|
__overlay__ {
|
|
status = "okay";
|
|
|
|
port {
|
|
csi1_ep: endpoint {
|
|
remote-endpoint = <&sc235hai_0>;
|
|
clock-lanes = <0>;
|
|
data-lanes = <1 2>;
|
|
clock-noncontinuous;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@102 {
|
|
target = <&csi1>;
|
|
__dormant__ {
|
|
compatible = "brcm,bcm2835-unicam-legacy";
|
|
};
|
|
};
|
|
|
|
__overrides__ {
|
|
rotation = <&sc235hai>,"rotation:0";
|
|
orientation = <&sc235hai>,"orientation:0";
|
|
media-controller = <0>,"!101";
|
|
cam1 = <0>,"+0+1+2-101";
|
|
};
|
|
};
|