1/* 2 * Copyright 2022 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Application overlay for testing the emul.h API. 7 * 8 * Names in this file should be chosen in a way that won't conflict 9 * with real-world devicetree nodes, to allow these tests to run on 10 * (and be extended to test) real hardware. 11 */ 12 13&i2c0 { 14 test_bmi: bmi@68 { 15 compatible = "bosch,bmi160"; 16 reg = <0x68>; 17 status = "okay"; 18 }; 19 20 emul_tester_a: driver@aa { 21 compatible = "vnd,emul-tester"; 22 reg = <0xaa>; 23 status = "okay"; 24 scale = <1>; 25 }; 26 emul_tester_b: driver@bb { 27 compatible = "vnd,emul-tester"; 28 reg = <0xbb>; 29 status = "okay"; 30 scale = <10>; 31 }; 32}; 33