1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Main sandbox devicetree 4 */ 5 6/dts-v1/; 7 8#include <config.h> 9 10/ { 11 #address-cells = <1>; 12 #size-cells = <1>; 13 model = "sandbox"; 14 compatible = "sandbox"; 15 16 aliases { 17 i2c0 = &i2c_0; 18 pci0 = &pcic; 19 rtc0 = &rtc_0; 20 axi0 = &axi; 21 spi0 = &spi; 22 }; 23 24 binman: binman { 25 }; 26 27 memory { 28 reg = <0 CFG_SYS_SDRAM_SIZE>; 29 }; 30 31 reserved-memory { 32 #address-cells = <1>; 33 #size-cells = <1>; 34 ranges; 35 36 reservation_test0 { 37 size = <0x4000>; 38 alignment = <0x2000>; 39 }; 40 41 reservation_test1: restest@a000 { 42 reg = <0x00d0a000 0x2000>; 43 }; 44 45 reservation_test2: restest@7000 { 46 reg = <0x00d07000 0x1000>; 47 }; 48 }; 49 50 cros_ec: cros-ec { 51 reg = <0 0>; 52 bootph-some-ram; 53 compatible = "google,cros-ec-sandbox"; 54 }; 55 56 dsi_host: dsi_host { 57 compatible = "sandbox,dsi-host"; 58 status = "okay"; 59 }; 60 61 ethrawbus { 62 compatible = "sandbox,eth-raw-bus"; 63 skip-localhost = <0>; 64 }; 65 66 eth@10002000 { 67 compatible = "sandbox,eth"; 68 reg = <0x10002000 0x1000>; 69 }; 70 71 i2c_0: i2c@0 { 72 #address-cells = <1>; 73 #size-cells = <0>; 74 reg = <0 0>; 75 compatible = "sandbox,i2c"; 76 clock-frequency = <400000>; 77 pinctrl-names = "default"; 78 pinctrl-0 = <&pinctrl_i2c0>; 79 bootph-pre-ram; 80 }; 81 82 pcic: pci@0 { 83 compatible = "sandbox,pci"; 84 device_type = "pci"; 85 bus-range = <0x00 0xff>; 86 #address-cells = <3>; 87 #size-cells = <2>; 88 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000 89 0x01000000 0 0x20000000 0x20000000 0 0x2000>; 90 }; 91 92 spi: spi@0 { 93 bootph-some-ram; 94 #address-cells = <1>; 95 #size-cells = <0>; 96 reg = <0 0>; 97 compatible = "sandbox,spi"; 98 cs-gpios = <0>, <&gpio_a 0>; 99 }; 100}; 101 102#include "sandbox.dtsi" 103#include "cros-ec-keyboard.dtsi" 104#include "sandbox_pmic.dtsi" 105 106#if IS_ENABLED(CONFIG_SUPPORT_VPL) 107#include "sandbox_vpl.dtsi" 108#endif 109 110#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) 111#include "sandbox_capsule.dtsi" 112#endif 113