blob: d279a6d3f263434e67dc8125a1a7f67a087c56d9 [file] [log] [blame]
/*
* Copyright 2023 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
test_gpio_0: gpio@ffff {
gpio-controller;
#gpio-cells = <0x2>;
compatible = "vnd,gpio-device";
status = "okay";
reg = <0xffff 0x1000>;
};
test_i2c: i2c@11112222 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "vnd,i2c";
status = "okay";
reg = <0x11112222 0x1000>;
clock-frequency = <100000>;
test_dev_a: test-i2c-dev@10 {
compatible = "vnd,i2c-device";
status = "okay";
reg = <0x10>;
supply-gpios = <&test_gpio_0 1 0>;
};
test_dev_b: test-i2c-dev@11 {
compatible = "vnd,i2c-device";
status = "okay";
reg = <0x11>;
supply-gpios = <&test_gpio_0 2 0>;
};
test_dev_c: test-i2c-dev@12 {
compatible = "vnd,i2c-device";
status = "okay";
reg = <0x12>;
supply-gpios = <&test_gpio_0 3 0>;
};
};
};