diff options
author | Jacob Chen <jacob2.chen@rock-chips.com> | 2017-10-30 20:01:37 +0800 |
---|---|---|
committer | Jacob Chen <jacob2.chen@rock-chips.com> | 2018-01-11 17:16:08 +0800 |
commit | 77c621e5319e4b78cb04cc00699f1877627ccc05 (patch) | |
tree | bb9c1e7593c6d2c521b48195a8ea5ba26d7c59ee | |
parent | e2346cddf0d238162a1eaca8f93e7cf8dd7a1476 (diff) |
ARM: dts: rk3288-miniarm: enable rkisp1 and add imx219/ov5647
Change-Id: Ifb9c18be4cc7fc3d663101c41e3c0be9eff513d4
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
-rw-r--r-- | arch/arm/boot/dts/rk3288-miniarm.dts | 91 |
1 files changed, 83 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/rk3288-miniarm.dts b/arch/arm/boot/dts/rk3288-miniarm.dts index b746ad79b291..2fbec41f0b23 100644 --- a/arch/arm/boot/dts/rk3288-miniarm.dts +++ b/arch/arm/boot/dts/rk3288-miniarm.dts @@ -41,6 +41,7 @@ /dts-v1/; #include <dt-bindings/clock/rockchip,rk808.h> #include "rk3288.dtsi" +#include "rk3288-rkisp1.dtsi" / { compatible = "rockchip,rk3288-miniarm", "rockchip,rk3288"; @@ -171,6 +172,24 @@ startup-delay-us = <100000>; vin-supply = <&vcc_io>; }; + + vcc_cam: vcc-camera { + compatible = "regulator-fixed"; + regulator-name = "vcc_cam"; + pinctrl-names = "default"; + pinctrl-0 = <&cam_pwr>; + enable-active-high; + gpio = <&gpio2 0 GPIO_ACTIVE_HIGH>; + regulator-always-on; + regulator-boot-on; + }; + + ext_cam_clk: external-camera-clock { + compatible = "fixed-clock"; + clock-frequency = <25000000>; + clock-output-names = "CLK_CAMERA_25MHZ"; + #clock-cells = <0>; + }; }; &cpu0 { @@ -422,29 +441,79 @@ &i2c2 { status = "okay"; + camera0: ov5647@36 { + compatible = "ovti,ov5647"; + reg = <0x36>; + clocks = <&ext_cam_clk>; + status = "okay"; + }; + + camera1: imx219@10 { + compatible = "sony,imx219"; + reg = <0x10>; + clocks = <&ext_cam_clk>; + status = "okay"; + + port { + imx219_out: endpoint { + remote-endpoint = <&imx219_in>; + data-lanes = <1 2>; + }; + }; + }; + m24c08@50 { compatible = "at,24c08"; reg = <0x50>; }; }; -&i2c1 { +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&isp { status = "okay"; - pcm5122: pcm5122@4c { - #sound-dai-cells = <0>; - compatible = "ti,pcm5122"; - reg = <0x4c>; - status = "disabled"; + port { + isp_mipi_in: endpoint { + remote-endpoint = <&dphy_rx0_out>; + }; }; }; -&i2c3 { +&isp_mmu { status = "okay"; }; -&i2c4 { +&mipi_phy_rx0 { status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + imx219_in: endpoint { + remote-endpoint = <&imx219_out>; + data-lanes = <1 2>; + }; + }; + + port@1 { + reg = <1>; + + dphy_rx0_out: endpoint { + remote-endpoint = <&isp_mipi_in>; + }; + }; + }; }; &spi2 { @@ -688,4 +757,10 @@ rockchip,pins = <4 19 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + cam_pins { + cam_pwr: cam-pwr { + rockchip,pins = <2 0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; |