// SPDX-License-Identifier: GPL-2.0-only // Definitions for Toshiba TC358743 HDMI to CSI2 bridge on VC I2C bus /dts-v1/; /plugin/; /{ compatible = "brcm,bcm2835"; 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>; clock-noncontinuous; link-frequencies = /bits/ 64 <486000000>; }; }; }; }; }; fragment@1 { target = <&csi1>; __overlay__ { status = "okay"; port { csi1_ep: endpoint { remote-endpoint = <&tc358743>; }; }; }; }; fragment@2 { target = <&i2c_vc>; __overlay__ { tc358743@0f { port { endpoint { data-lanes = <1 2>; }; }; }; }; }; fragment@3 { target = <&i2c_vc>; __dormant__ { tc358743@0f { port { endpoint { data-lanes = <1 2 3 4>; }; }; }; }; }; fragment@4 { target = <&i2c0_pins>; __dormant__ { brcm,pins = <28 29>; brcm,function = <4>; /* alt0 */ }; }; fragment@5 { target = <&i2c0_pins>; __overlay__ { brcm,pins = <44 45>; brcm,function = <5>; /* alt1 */ }; }; fragment@6 { target = <&i2c0_pins>; __dormant__ { brcm,pins = <0 1>; brcm,function = <4>; /* alt0 */ }; }; fragment@7 { target = <&i2c_vc>; __overlay__ { status = "okay"; }; }; __overrides__ { i2c_pins_0_1 = <0>,"-4-5+6"; i2c_pins_28_29 = <0>,"+4-5-6"; 4lane = <0>, "-2+3"; link-frequency = <&tc358743>,"link-frequencies#0"; }; };