18c2ecf20Sopenharmony_ciCE4100 Device Tree Bindings 28c2ecf20Sopenharmony_ci--------------------------- 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe CE4100 SoC uses for in core peripherals the following compatible 58c2ecf20Sopenharmony_ciformat: <vendor>,<chip>-<device>. 68c2ecf20Sopenharmony_ciMany of the "generic" devices like HPET or IO APIC have the ce4100 78c2ecf20Sopenharmony_ciname in their compatible property because they first appeared in this 88c2ecf20Sopenharmony_ciSoC. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciThe CPU nodes 118c2ecf20Sopenharmony_ci------------- 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci cpus { 148c2ecf20Sopenharmony_ci #address-cells = <1>; 158c2ecf20Sopenharmony_ci #size-cells = <0>; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci cpu@0 { 188c2ecf20Sopenharmony_ci device_type = "cpu"; 198c2ecf20Sopenharmony_ci compatible = "intel,ce4100"; 208c2ecf20Sopenharmony_ci reg = <0x00>; 218c2ecf20Sopenharmony_ci }; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci cpu@2 { 248c2ecf20Sopenharmony_ci device_type = "cpu"; 258c2ecf20Sopenharmony_ci compatible = "intel,ce4100"; 268c2ecf20Sopenharmony_ci reg = <0x02>; 278c2ecf20Sopenharmony_ci }; 288c2ecf20Sopenharmony_ci }; 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciA "cpu" node describes one logical processor (hardware thread). 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciRequired properties: 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci- device_type 358c2ecf20Sopenharmony_ci Device type, must be "cpu". 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci- reg 388c2ecf20Sopenharmony_ci Local APIC ID, the unique number assigned to each processor by 398c2ecf20Sopenharmony_ci system hardware. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciThe SoC node 428c2ecf20Sopenharmony_ci------------ 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ciThis node describes the in-core peripherals. Required property: 458c2ecf20Sopenharmony_ci compatible = "intel,ce4100-cp"; 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ciThe PCI node 488c2ecf20Sopenharmony_ci------------ 498c2ecf20Sopenharmony_ciThis node describes the PCI bus on the SoC. Its property should be 508c2ecf20Sopenharmony_ci compatible = "intel,ce4100-pci", "pci"; 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciIf the OS is using the IO-APIC for interrupt routing then the reported 538c2ecf20Sopenharmony_ciinterrupt numbers for devices is no longer true. In order to obtain the 548c2ecf20Sopenharmony_cicorrect interrupt number, the child node which represents the device has 558c2ecf20Sopenharmony_cito contain the interrupt property. Besides the interrupt property it has 568c2ecf20Sopenharmony_cito contain at least the reg property containing the PCI bus address and 578c2ecf20Sopenharmony_cicompatible property according to "PCI Bus Binding Revision 2.1". 58