1/* 2 * Copyright 2023 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 test_gpio_0: gpio@ffff { 9 gpio-controller; 10 #gpio-cells = <0x2>; 11 compatible = "vnd,gpio-device"; 12 status = "okay"; 13 reg = <0xffff 0x1000>; 14 }; 15 16 test_i2c: i2c@11112222 { 17 #address-cells = <1>; 18 #size-cells = <0>; 19 compatible = "vnd,i2c"; 20 status = "okay"; 21 reg = <0x11112222 0x1000>; 22 clock-frequency = <100000>; 23 24 test_dev_a: test-i2c-dev@10 { 25 compatible = "vnd,i2c-device"; 26 status = "okay"; 27 reg = <0x10>; 28 supply-gpios = <&test_gpio_0 1 0>; 29 }; 30 31 test_dev_b: test-i2c-dev@11 { 32 compatible = "vnd,i2c-device"; 33 status = "okay"; 34 reg = <0x11>; 35 supply-gpios = <&test_gpio_0 2 0>; 36 }; 37 }; 38}; 39