// SPDX-License-Identifier: GPL-2.0+ /* * Expo definition for the configuration editor * * This used for testing building an expo from a data file. This devicetree * provides a description of the objects to be created. */ #include &cedit { dynamic-start = ; scenes { main { id = ; /* value refers to the matching id in /strings */ title-id = ; /* 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 = ; /* * has both string and ID. The string is ignored * if the ID is present and points to a string */ title = "CPU speed"; title-id = ; /* menu items as simple strings */ item-label = "2 GHz", "2.5 GHz", "3 GHz"; /* IDs for the menu items */ item-id = ; }; power-loss { type = "menu"; id = ; title = "AC Power"; item-label = "Always Off", "Always On", "Memory"; item-id = ; }; machine-name { id = ; type = "textline"; max-chars = <20>; title = "Machine name"; edit-id = ; }; }; }; strings { title { id = ; value = "Test Configuration"; value-es = "configuraciĆ³n de prueba"; }; }; };