1/* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 test { 8 #address-cells = <1>; 9 #size-cells = <1>; 10 11 test_i2c: i2c@11112222 { 12 #address-cells = <1>; 13 #size-cells = <0>; 14 compatible = "vnd,i2c"; 15 reg = <0x11112222 0x1000>; 16 status = "okay"; 17 clock-frequency = <100000>; 18 19 #include "i2c.dtsi" 20 }; 21 22 test_gpio: gpio@deadbeef { 23 compatible = "vnd,gpio"; 24 gpio-controller; 25 reg = <0xdeadbeef 0x1000>; 26 #gpio-cells = <0x2>; 27 status = "okay"; 28 }; 29 30 #include "misc.dtsi" 31 }; 32}; 33