diff --git a/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/Makefile b/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/Makefile index 98d1a9e0a40d..a490f66f1610 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/Makefile +++ b/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/Makefile @@ -19,7 +19,6 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \ mcp2515_12mhz.dtbo \ mcp2515_16mhz.dtbo \ onewire.dtbo \ - ov5647.dtbo \ pcf8563.dtbo \ pwm1.dtbo \ pwm2.dtbo \ diff --git a/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/ov5647.dts b/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/ov5647.dts deleted file mode 100644 index eefd7ff9e553..000000000000 --- a/arch/arm64/boot/dts/rockchip/overlays/odroidm1s/ov5647.dts +++ /dev/null @@ -1,151 +0,0 @@ -/dts-v1/; -/plugin/; - -#include -#include -#include -#include - -/ { - fragment@0 { - target = <&csi2_dphy_hw>; - - __overlay__ { - status = "okay"; - }; - }; - - fragment@1 { - target = <&csi2_dphy0>; - - __overlay__ { - status = "okay"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - mipi_in_ucam2: endpoint@0 { - reg = <0>; - remote-endpoint = <&ov5647_out>; - data-lanes = <1 2>; - }; - }; - port@1 { - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - csidphy_out: endpoint@0 { - reg = <0>; - remote-endpoint = <&isp0_in>; - }; - }; - }; - }; - }; - - fragment@2 { - target = <&rkisp>; - - __overlay__ { - status = "okay"; - }; - }; - - fragment@3 { - target = <&rkisp_mmu>; - - __overlay__ { - status = "okay"; - }; - }; - - fragment@4 { - target = <&rkisp_vir0>; - - __overlay__ { - status = "okay"; - - port { - #address-cells = <1>; - #size-cells = <0>; - - isp0_in: endpoint@0 { - reg = <0>; - remote-endpoint = <&csidphy_out>; - }; - }; - }; - }; - - fragment@5 { - target = <&pinctrl>; - - __overlay__ { - camif { - cam_pwdn: cam-pwdn { - rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - }; - }; - - fragment@6 { - // i2c2, i2c@fe5b0000 - target = <&i2c2>; - - __overlay__ { - status = "okay"; - - ov5647: ov5647@36 { - status = "okay"; - compatible = "ovti,ov5647"; - reg = <0x36>; - clocks = <&pmucru CLK_WIFI>; - clock-names = "xvclk"; - power-domains = <&power RK3568_PD_VI>; - pinctrl-names = "default"; - - rockchip,camera-module-index = <0>; - rockchip,camera-module-facing = "back"; - rockchip,camera-module-name = "TongJu"; - rockchip,camera-module-lens-name = "CHT842-MD"; - - port { - ov5647_out: endpoint { - remote-endpoint = <&mipi_in_ucam2>; - data-lanes = <1 2>; - clock-lanes = <0>; - link-frequencies = - /bits/ 64 <150000000>; - }; - }; - }; - }; - }; - - fragment@7 { - target-path = "/"; - - #address-cells = <1>; - #size-cells = <0>; - - __overlay__ { - vcc_cam: vcc-camera { - compatible = "regulator-fixed"; - regulator-name = "vcc_cam"; - pinctrl-names = "default"; - pinctrl-0 = <&cam_pwdn>; - enable-active-high; - gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; - regulator-always-on; - regulator-boot-on; - }; - }; - }; -};