1/dts-v1/; 2 3#include <config.h> 4 5/ { 6 #address-cells = <2>; 7 #size-cells = <2>; 8 model = "sandbox"; 9 compatible = "sandbox"; 10 11 aliases { 12 i2c0 = &i2c_0; 13 pci0 = &pcic; 14 rtc0 = &rtc_0; 15 axi0 = &axi; 16 spi0 = &spi; 17 }; 18 19 memory { 20 reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>; 21 }; 22 23 reserved-memory { 24 #address-cells = <2>; 25 #size-cells = <2>; 26 ranges; 27 28 reservation_test_size { 29 size = <0 0x4000>; 30 alignment = <0 0x2000>; 31 }; 32 33 reservation_test@a000 { 34 reg = <0 0x00d0a000 0 0x2000>; 35 }; 36 37 reservation_test@7000 { 38 reg = <0 0x00d07000 0 0x1000>; 39 }; 40 }; 41 42 /* ... */ 43 cros_ec: cros-ec { 44 reg = <0 0 0 0>; 45 u-boot,dm-pre-reloc; 46 compatible = "google,cros-ec-sandbox"; 47 }; 48 49 ethrawbus { 50 compatible = "sandbox,eth-raw-bus"; 51 skip-localhost = <1>; 52 }; 53 54 eth@10002000 { 55 compatible = "sandbox,eth"; 56 reg = <0x0 0x10002000 0x0 0x1000>; 57 fake-host-hwaddr = [00 00 66 44 22 00]; 58 }; 59 60 i2c_0: i2c@0 { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 reg = <0 0 0 0>; 64 compatible = "sandbox,i2c"; 65 clock-frequency = <400000>; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&pinctrl_i2c0>; 68 }; 69 70 pcic: pci@0 { 71 compatible = "sandbox,pci"; 72 device_type = "pci"; 73 bus-range = <0x00 0xff>; 74 #address-cells = <3>; 75 #size-cells = <2>; 76 ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000 77 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>; 78 }; 79 80 spi: spi@0 { 81 u-boot,dm-pre-reloc; 82 #address-cells = <1>; 83 #size-cells = <0>; 84 reg = <0 0 0 0>; 85 compatible = "sandbox,spi"; 86 cs-gpios = <0>, <&gpio_a 0>; 87 }; 88 89}; 90 91#include "sandbox.dtsi" 92#include "cros-ec-keyboard.dtsi" 93#include "sandbox_pmic.dtsi" 94