Files
Linux_Drivers/u-boot-2021.10/tools/dtoc/test/dtoc_test_inst.dts
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

59 lines
948 B
Plaintext

// SPDX-License-Identifier: GPL-2.0+
/*
* Test device tree file for dtoc
*
* Copyright 2017 Google, Inc
*/
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
aliases {
testbus2 = &bus2;
testfdt1 = &testfdt_1;
i2c4 = &i2c;
};
spl-test {
u-boot,dm-pre-reloc;
compatible = "sandbox,spl-test";
boolval;
intval = <1>;
};
i2c: i2c {
u-boot,dm-pre-reloc;
compatible = "sandbox,i2c";
intval = <3>;
};
spl-test3 {
u-boot,dm-pre-reloc;
compatible = "sandbox,spl-test";
stringarray = "one";
longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
};
bus2: some-bus {
#address-cells = <1>;
#size-cells = <0>;
compatible = "denx,u-boot-test-bus";
reg = <3 1>;
ping-expect = <4>;
ping-add = <4>;
testfdt_1: test {
compatible = "denx,u-boot-fdt-test", "google,another-fdt-test";
reg = <5>;
ping-expect = <5>;
ping-add = <5>;
};
test0 {
compatible = "google,another-fdt-test";
};
};
};