diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-01-12 15:10:28 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2018-01-12 15:10:28 +0100 |
commit | 8a0284f26bb2451c9e13cc19739fdcdad40d504e (patch) | |
tree | 928f49d99614e98e854da16ba2357c1f55e652fc | |
parent | f7d7a0a26e0cccbb186ca49774c37ebbcd556cb3 (diff) |
apalis-imx8qm: add Apalis I2C3 for camera and OV5640
Currently the master clock is missing hence the camera can not
work. Further investigations are needed.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts index 7ef5424e43d3..fbfcf378dac4 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts @@ -144,6 +144,13 @@ >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + SC_P_SIM0_PD_DMA_I2C3_SCL 0xc600004c + SC_P_SIM0_POWER_EN_DMA_I2C3_SDA 0xc600004c + >; + }; + pinctrl_lpuart0: lpuart0grp { fsl,pins = < SC_P_UART0_RX_DMA_UART0_RX 0x06000020 @@ -512,6 +519,34 @@ }; }; +&i2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpi2c3>; + status = "okay"; +/* + ov5640_mipi@3c { + compatible = "ovti,ov564x_mipi"; + reg = <0x3c>; + clocks = <&clks 147>; + clock-names = "csi_mclk"; + DOVDD-supply = <®_1p8v>; + AVDD-supply = <®_2p5v>; + DVDD-supply = <®_1p8v>; + pwn-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; + rst-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; + ipu_id = <0>; + csi_id = <1>; + mclk = <22000000>; + mclk_source = <0>; + pwms = <&pwm3 0 45 0>; + status = "okay"; + }; +*/ +}; + /* Apalis UART3 */ &lpuart0 { pinctrl-names = "default"; |