1/* 2 * Copyright (c) 2024 TOKITA Hiroshi 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 test { 8 #address-cells = <1>; 9 #size-cells = <1>; 10 11 test_gpio: gpio@deadbeef { 12 compatible = "vnd,gpio"; 13 gpio-controller; 14 reg = <0xdeadbeef 0x1000>; 15 #gpio-cells = <0x2>; 16 status = "okay"; 17 }; 18 19 test_i2c: i2c@11112222 { 20 #address-cells = <1>; 21 #size-cells = <0>; 22 compatible = "vnd,i2c"; 23 reg = <0x11112222 0x1000>; 24 status = "okay"; 25 clock-frequency = <100000>; 26 27 test_i2c_pi3usb9201: pi3usb9201@0 { 28 compatible = "diodes,pi3usb9201"; 29 reg = <0x0>; 30 charging-mode = "BC12_TYPE_NONE"; 31 intb-gpios = <&test_gpio 0 0>; 32 }; 33 34 test_i2c_p8xxx: p8xxx@1 { 35 compatible = "parade,ps8xxx"; 36 reg = <1>; 37 irq-gpios = <&test_gpio 0 0>; 38 }; 39 }; 40 }; 41}; 42