diff options
Diffstat (limited to 'roms/u-boot/tools/dtoc/test/dtoc_test_single_reg.dts')
-rw-r--r-- | roms/u-boot/tools/dtoc/test/dtoc_test_single_reg.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/roms/u-boot/tools/dtoc/test/dtoc_test_single_reg.dts b/roms/u-boot/tools/dtoc/test/dtoc_test_single_reg.dts new file mode 100644 index 000000000..804b67855 --- /dev/null +++ b/roms/u-boot/tools/dtoc/test/dtoc_test_single_reg.dts @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Test device tree file for dtoc + * + * Copyright 2017 Google, Inc + */ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + i2c@0 { + compatible = "sandbox,i2c"; + u-boot,dm-pre-reloc; + #address-cells = <1>; + #size-cells = <0>; + pmic@9 { + compatible = "sandbox,pmic"; + u-boot,dm-pre-reloc; + reg = <9>; + low-power; + + gpio { + compatible = "sandbox,gpio"; + }; + }; + }; +}; |