/* * Copyright (c) 2022, Kumar Gala * * SPDX-License-Identifier: Apache-2.0 * * Application overlay for testing driver builds * * Names in this file should be chosen in a way that won't conflict * with real-world devicetree nodes, to allow these tests to run on * (and be extended to test) real hardware. */ / { test { #address-cells = <1>; #size-cells = <1>; test_gpio: gpio@10001000 { compatible = "vnd,gpio"; gpio-controller; reg = <0x10001000 0x1000>; #gpio-cells = <0x2>; status = "okay"; }; test_i2c: i2c@10002000 { #address-cells = <1>; #size-cells = <0>; compatible = "vnd,i2c"; reg = <0x10002000 0x1000>; status = "okay"; clock-frequency = <100000>; test_i2c_mt9m114: mt9m114@0 { compatible = "aptina,mt9m114"; reg = <0>; }; test_i2c_ov2640: ov2640@1 { compatible = "ovti,ov2640"; reg = <0x1>; reset-gpios = <&test_gpio 0 0>; }; test_i2c_ov7725: ov7725@2 { compatible = "ovti,ov7725"; reg = <0x2>; reset-gpios = <&test_gpio 0 0>; }; test_i2c_ov5640: ov5640@3 { compatible = "ovti,ov5640"; reg = <0x3>; reset-gpios = <&test_gpio 0 0>; powerdown-gpios = <&test_gpio 1 0>; }; test_i2c_ov7670: ov7670@4 { compatible = "ovti,ov7670"; reg = <0x4>; }; test_i2c_gc2145: gc2145@5 { compatible = "galaxycore,gc2145"; reg = <0x5>; reset-gpios = <&test_gpio 0 0>; }; test_i2c_video_emul_imager: video_emul_imager@6 { compatible = "zephyr,video-emul-imager"; reg = <0x6>; port { test_video_emul_imager_ep_out: endpoint { remote-endpoint-label = "test_video_emul_rx_ep_in"; }; }; }; }; test_video_emul_rx: video_emul_rx@10003000 { compatible = "zephyr,video-emul-rx"; reg = <0x10003000 0x1000>; port { #address-cells = <1>; #size-cells = <0>; test_video_emul_rx_ep_in: endpoint@0 { reg = <0x0>; remote-endpoint-label = "test_video_emul_imager_ep_out"; }; test_video_emul_rx_ep_out: endpoint@1 { reg = <0x1>; remote-endpoint-label = "application"; }; }; }; }; };