Path: blob/main/sys/contrib/device-tree/Bindings/display/arm,komeda.txt
48376 views
Device Tree bindings for Arm Komeda display driver12Required properties:3- compatible: Should be "arm,mali-d71"4- reg: Physical base address and length of the registers in the system5- interrupts: the interrupt line number of the device in the system6- clocks: A list of phandle + clock-specifier pairs, one for each entry7in 'clock-names'8- clock-names: A list of clock names. It should contain:9- "aclk": for the main processor clock10- #address-cells: Must be 111- #size-cells: Must be 012- iommus: configure the stream id to IOMMU, Must be configured if want to13enable iommu in display. for how to configure this node please reference14devicetree/bindings/iommu/arm,smmu-v3.txt,15devicetree/bindings/iommu/iommu.txt1617Required properties for sub-node: pipeline@nq18Each device contains one or two pipeline sub-nodes (at least one), each19pipeline node should provide properties:20- reg: Zero-indexed identifier for the pipeline21- clocks: A list of phandle + clock-specifier pairs, one for each entry22in 'clock-names'23- clock-names: should contain:24- "pxclk": pixel clock2526- port: each pipeline connect to an encoder input port. The connection is27modeled using the OF graph bindings specified in28Documentation/devicetree/bindings/graph.txt2930Optional properties:31- memory-region: phandle to a node describing memory (see32Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt)33to be used for the framebuffer; if not present, the framebuffer may34be located anywhere in memory.3536Example:37/ {38...3940dp0: display@c00000 {41#address-cells = <1>;42#size-cells = <0>;43compatible = "arm,mali-d71";44reg = <0xc00000 0x20000>;45interrupts = <0 168 4>;46clocks = <&dpu_aclk>;47clock-names = "aclk";48iommus = <&smmu 0>, <&smmu 1>, <&smmu 2>, <&smmu 3>,49<&smmu 4>, <&smmu 5>, <&smmu 6>, <&smmu 7>,50<&smmu 8>, <&smmu 9>;5152dp0_pipe0: pipeline@0 {53clocks = <&fpgaosc2>;54clock-names = "pxclk";55reg = <0>;5657port {58dp0_pipe0_out: endpoint {59remote-endpoint = <&db_dvi0_in>;60};61};62};6364dp0_pipe1: pipeline@1 {65clocks = <&fpgaosc2>;66clock-names = "pxclk";67reg = <1>;6869port {70dp0_pipe1_out: endpoint {71remote-endpoint = <&db_dvi1_in>;72};73};74};75};76...77};787980