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