2023-06-01 16:23:03 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Sample expo screen layout
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2023-08-14 22:40:28 +00:00
|
|
|
/* see expo_ids.h for the IDs */
|
2023-06-01 16:23:03 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
dynamic-start = <ID_DYNAMIC_START>;
|
|
|
|
|
|
|
|
scenes {
|
|
|
|
main {
|
|
|
|
id = <ID_SCENE1>;
|
|
|
|
|
|
|
|
/* value refers to the matching id in /strings */
|
|
|
|
title-id = <ID_SCENE1_TITLE>;
|
|
|
|
|
|
|
|
/* simple string is used as it is */
|
|
|
|
prompt = "UP and DOWN to choose, ENTER to select";
|
|
|
|
|
|
|
|
/* defines a menu within the scene */
|
|
|
|
cpu-speed {
|
|
|
|
type = "menu";
|
|
|
|
id = <ID_CPU_SPEED>;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* has both string and ID. The string is ignored
|
|
|
|
* if the ID is present and points to a string
|
|
|
|
*/
|
|
|
|
title = "CPU speed";
|
|
|
|
title-id = <ID_CPU_SPEED_TITLE>;
|
|
|
|
|
|
|
|
/* menu items as simple strings */
|
|
|
|
item-label = "2 GHz", "2.5 GHz", "3 GHz";
|
|
|
|
|
|
|
|
/* IDs for the menu items */
|
|
|
|
item-id = <ID_CPU_SPEED_1 ID_CPU_SPEED_2
|
|
|
|
ID_CPU_SPEED_3>;
|
2023-08-14 22:40:37 +00:00
|
|
|
|
|
|
|
start-bit = <0x400>;
|
|
|
|
bit-length = <2>;
|
2023-06-01 16:23:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
power-loss {
|
|
|
|
type = "menu";
|
|
|
|
id = <ID_POWER_LOSS>;
|
|
|
|
|
|
|
|
title = "AC Power";
|
|
|
|
item-label = "Always Off", "Always On",
|
|
|
|
"Memory";
|
|
|
|
|
|
|
|
item-id = <ID_AC_OFF ID_AC_ON ID_AC_MEMORY>;
|
2023-08-14 22:40:37 +00:00
|
|
|
start-bit = <0x422>;
|
|
|
|
bit-length = <2>;
|
2023-06-01 16:23:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
strings {
|
|
|
|
title {
|
|
|
|
id = <ID_SCENE1_TITLE>;
|
|
|
|
value = "Test Configuration";
|
|
|
|
value-es = "configuración de prueba";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|