summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2016-10-07 21:20:11 +0300
committerPatrick Williams <patrick@stwcx.xyz>2016-10-31 19:32:29 +0300
commit48d024162c96d540d9d5f225c95f172f81d1b124 (patch)
tree1d7f4f36f23dfd1d830572d717c8dc06e0a20d22 /meta-openbmc-machines
parent4ef18bf263b8fc0e8197fadc3cd0dfec7105c6c6 (diff)
downloadopenbmc-48d024162c96d540d9d5f225c95f172f81d1b124.tar.xz
Create YAML config file for device tree generation.
This file will be read by the device tree generation code to fill in some things that aren't strictly hardware dependent so don't belong in the XML. Change-Id: I8d863adfd04c13dee5e133f1aceed76d470c2fe1 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/workbook/devtree-config/config.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/workbook/devtree-config/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/workbook/devtree-config/config.yaml
new file mode 100644
index 000000000..c289bb2e0
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/workbook/devtree-config/config.yaml
@@ -0,0 +1,34 @@
+#Device tree include files, which can be
+#included in different parts of the tree.
+#Optional.
+includes:
+ pre-root-node:
+ - aspeed-g5.dtsi
+ - dt-bindings/gpio/aspeed-gpio.h
+ root-node:
+ - aspeed-bmc-opp-spi-flash-legacy.dtsi
+ post-root-node:
+ bmc-flash:
+ - aspeed-bmc-opp-flash-layout.dtsi
+
+#The BMC's memory base address and size.
+#Required.
+memory:
+ base: 0x80000000
+ size: 0x40000000
+
+#Values for the chosen node.
+#Required.
+chosen:
+ stdout-path: uart5
+ bootargs: console=ttyS4,115200 earlyprintk
+
+#Values for the aliases node.
+#Optional.
+aliases:
+ serial4: uart5
+
+#The number that should be added to the MRW's
+#I2C bus number to get the device tree's number.
+#Optional.
+i2c-bus-adjust: -1