blob: 9f08b9267ee51111cd9ddfcb21d82454ab3654db [file] [log] [blame]
/dts-v1/;
/ {
model = "GizmoShpere Gizmo";
config {
hwid = "X86 GIZMO TEST 1234";
};
chromeos-config {
gbb-flag-force-dev-boot-usb;
gbb-flag-disable-fw-rollback-check;
};
flash@ffe00000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "chromeos,flashmap";
reg = <0xffe00000 0x00200000>;
/* ---- Section: Rewritable slot A ---- */
rw-a {
label = "rw-section-a";
/* Alignment: 4k (for updating) */
reg = <0x00000000 0x00044000>;
};
rw-a-vblock {
label = "vblock-a";
/*
* Alignment: 4k (for updating) and must be in start of
* each RW_SECTION.
*/
reg = <0x000000000 0x00002000>;
type = "keyblock boot,ramstage";
with_index;
keyblock = "firmware.keyblock";
signprivate = "firmware_data_key.vbprivk";
version = <1>;
kernelkey = "kernel_subkey.vbpubk";
preamble-flags = <1>;
};
rw-a-boot {
/* Alignment: no requirement (yet). */
label = "fw-main-a";
reg = <0x00002000 0x00041fc0>;
type = "blob boot,ramstage";
with_index;
};
rw-a-firmware-id {
/* Alignment: no requirement. */
label = "rw-fwid-a";
reg = <0x00043fc0 0x00000040>;
read-only;
type = "blobstring fwid";
};
/* ---- Section: Rewritable shared 8 KB---- */
shared-section {
/*
* Alignment: 4k (for updating).
* Anything in this range may be updated in recovery.
*/
label = "rw-shared";
reg = <0x00044000 0x00002000>;
};
shared-data {
label = "shared-data";
/*
* Alignment: 4k (for random read/write).
* RW firmware can put calibration data here.
*/
reg = <0x00044000 0x00002000>;
type = "wiped";
wipe-value = [00];
};
/* ---- Section: Rewritable Event Log 8KB ---- */
rw-elog {
label = "rw-elog";
/* Alignment: 4K (for updating) */
reg = <0x00046000 0x00002000>;
type = "wiped";
wipe-value = [ff];
};
/* ---- Section: Rewritable slot B ---- */
rw-b {
label = "rw-section-b";
/* Alignment: 4k (for updating) */
reg = <0x00048000 0x00044000>;
};
rw-b-vblock {
label = "vblock-b";
/*
* Alignment: 4k (for updating) and must be in start of
* each RW_SECTION.
*/
reg = <0x00048000 0x00002000>;
type = "keyblock boot,ramstage";
with_index;
keyblock = "firmware.keyblock";
signprivate = "firmware_data_key.vbprivk";
version = <1>;
kernelkey = "kernel_subkey.vbpubk";
preamble-flags = <1>;
};
rw-b-boot {
label = "fw-main-b";
/* Alignment: no requirement (yet). */
reg = <0x0004a000 0x00041fc0>;
type = "blob boot,ramstage";
with_index;
};
rw-b-firmware-id {
label = "rw-fwid-b";
/* Alignment: no requirement. */
reg = <0x0008bfc0 0x00000040>;
read-only;
type = "blobstring fwid";
};
/* ---- Section: Rewritable VPD 8 KB ---- */
rw-vpd {
label = "rw-vpd";
/* Alignment: 4k (for updating) */
reg = <0x0008c000 0x00002000>;
type = "wiped";
wipe-value = [ff];
};
rw-legacy {
label = "rw-legacy";
reg = <0x0008e000 0x0003a000>;
};
/* ---- Section: Read-only ---- */
wp-ro {
label = "wp-ro";
reg = <0x000c8000 0x00140000>;
read-only;
};
ro-section {
label = "ro-section";
reg = <0x000c8000 0x00140000>;
read-only;
};
ro-fmap {
label = "fmap";
/* We encourage to align FMAP partition in as large
* block as possible so that flashrom can find it soon.
* For example, aligning to 512KB is better than to
* 256KB. */
reg = <0x000c8000 0x00001000>;
read-only;
type = "fmap";
ver-major = <1>;
ver-minor = <0>;
};
ro-gbb {
label = "gbb";
/* GBB offset must be aligned to 4K bytes */
reg = <0x000c9000 0x0002ef00>;
read-only;
type = "blob gbb";
};
ro-firmware-id {
label = "ro-frid";
reg = <0x000f7f00 0x00000100>;
read-only;
type = "blobstring fwid";
};
/* ---- Section: Vital-product data (VPD) ---- */
ro-vpd {
label = "ro-vpd";
/* VPD offset must be aligned to 4K bytes */
reg = <0x000f8000 0x00008000>;
read-only;
type = "wiped";
wipe-value = [ff];
};
ro-boot {
label = "coreboot";
reg = <0x00100000 0x00100000>; /* 1 MB */
read-only;
type = "blob coreboot";
required;
};
};
};