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_am1805: am1805@0 { 28 compatible = "ambiq,am1805"; 29 status = "okay"; 30 reg = <0x0>; 31 am1805-gpios = <&test_gpio 0 0>; 32 }; 33 34 test_pcf8523: pcf8523@1 { 35 compatible = "nxp,pcf8523"; 36 status = "okay"; 37 reg = <0x1>; 38 alarms-count = <1>; 39 battery-switch-over = "standard"; 40 int1-gpios = <&test_gpio 0 0>; 41 }; 42 43 test_pcf8563: pcf8563@2 { 44 compatible = "nxp,pcf8563"; 45 status = "okay"; 46 reg = <0x2>; 47 }; 48 49 test_rv3028: rv3028@3 { 50 compatible = "microcrystal,rv3028"; 51 status = "okay"; 52 reg = <0x3>; 53 clkout-frequency = <1>; 54 backup-switch-mode = "disabled"; 55 trickle-resistor-ohms = <3000>; 56 int-gpios = <&test_gpio 0 0>; 57 }; 58 59 test_rv8263: rv8263@4 { 60 compatible = "microcrystal,rv-8263-c8"; 61 status = "okay"; 62 reg = <0x4>; 63 int-gpios = <&test_gpio 0 0>; 64 clkout = <4096>; 65 }; 66 67 test_ds1307: ds1307@5 { 68 compatible = "maxim,ds1307"; 69 status = "okay"; 70 reg = <0x5>; 71 }; 72 }; 73 }; 74}; 75