131ca694eSMaxime Ripard# SPDX-License-Identifier: GPL-2.0 231ca694eSMaxime Ripard%YAML 1.2 331ca694eSMaxime Ripard--- 431ca694eSMaxime Ripard$id: http://devicetree.org/schemas/bus/allwinner,sun50i-a64-de2.yaml# 531ca694eSMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 631ca694eSMaxime Ripard 7dd3cb467SAndrew Lunntitle: Allwinner A64 Display Engine Bus 831ca694eSMaxime Ripard 931ca694eSMaxime Ripardmaintainers: 1031ca694eSMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 115c7404bbSMaxime Ripard - Maxime Ripard <mripard@kernel.org> 1231ca694eSMaxime Ripard 1331ca694eSMaxime Ripardproperties: 1431ca694eSMaxime Ripard $nodename: 1531ca694eSMaxime Ripard pattern: "^bus(@[0-9a-f]+)?$" 1631ca694eSMaxime Ripard 1731ca694eSMaxime Ripard "#address-cells": 1831ca694eSMaxime Ripard const: 1 1931ca694eSMaxime Ripard 2031ca694eSMaxime Ripard "#size-cells": 2131ca694eSMaxime Ripard const: 1 2231ca694eSMaxime Ripard 2331ca694eSMaxime Ripard compatible: 2431ca694eSMaxime Ripard oneOf: 2531ca694eSMaxime Ripard - const: allwinner,sun50i-a64-de2 2631ca694eSMaxime Ripard - items: 2731ca694eSMaxime Ripard - const: allwinner,sun50i-h6-de3 2831ca694eSMaxime Ripard - const: allwinner,sun50i-a64-de2 2931ca694eSMaxime Ripard 3031ca694eSMaxime Ripard reg: 3131ca694eSMaxime Ripard maxItems: 1 3231ca694eSMaxime Ripard 3331ca694eSMaxime Ripard allwinner,sram: 3431ca694eSMaxime Ripard description: 3531ca694eSMaxime Ripard The SRAM that needs to be claimed to access the display engine 3631ca694eSMaxime Ripard bus. 37d69c6dddSRob Herring $ref: /schemas/types.yaml#/definitions/phandle-array 3839bd2b6aSRob Herring items: 3939bd2b6aSRob Herring - items: 4039bd2b6aSRob Herring - description: phandle to SRAM 4139bd2b6aSRob Herring - description: register value for device 4231ca694eSMaxime Ripard 4331ca694eSMaxime Ripard ranges: true 4431ca694eSMaxime Ripard 4531ca694eSMaxime RipardpatternProperties: 4631ca694eSMaxime Ripard # All other properties should be child nodes with unit-address and 'reg' 4731ca694eSMaxime Ripard "^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+$": 4831ca694eSMaxime Ripard type: object 49*e62fc182SRob Herring additionalProperties: true 5031ca694eSMaxime Ripard properties: 5131ca694eSMaxime Ripard reg: 5231ca694eSMaxime Ripard maxItems: 1 5331ca694eSMaxime Ripard 5431ca694eSMaxime Ripard required: 5531ca694eSMaxime Ripard - reg 5631ca694eSMaxime Ripard 5731ca694eSMaxime Ripardrequired: 5831ca694eSMaxime Ripard - compatible 5931ca694eSMaxime Ripard - reg 6031ca694eSMaxime Ripard - "#address-cells" 6131ca694eSMaxime Ripard - "#size-cells" 6231ca694eSMaxime Ripard - ranges 6331ca694eSMaxime Ripard - allwinner,sram 6431ca694eSMaxime Ripard 6531ca694eSMaxime RipardadditionalProperties: false 6631ca694eSMaxime Ripard 6731ca694eSMaxime Ripardexamples: 6831ca694eSMaxime Ripard - | 6931ca694eSMaxime Ripard bus@1000000 { 7031ca694eSMaxime Ripard compatible = "allwinner,sun50i-a64-de2"; 7131ca694eSMaxime Ripard reg = <0x1000000 0x400000>; 7231ca694eSMaxime Ripard allwinner,sram = <&de2_sram 1>; 7331ca694eSMaxime Ripard #address-cells = <1>; 7431ca694eSMaxime Ripard #size-cells = <1>; 7531ca694eSMaxime Ripard ranges = <0 0x1000000 0x400000>; 7631ca694eSMaxime Ripard 7731ca694eSMaxime Ripard display_clocks: clock@0 { 7831ca694eSMaxime Ripard compatible = "allwinner,sun50i-a64-de2-clk"; 7931ca694eSMaxime Ripard reg = <0x0 0x100000>; 8031ca694eSMaxime Ripard clocks = <&ccu 52>, <&ccu 99>; 8131ca694eSMaxime Ripard clock-names = "bus", "mod"; 8231ca694eSMaxime Ripard resets = <&ccu 30>; 8331ca694eSMaxime Ripard #clock-cells = <1>; 8431ca694eSMaxime Ripard #reset-cells = <1>; 8531ca694eSMaxime Ripard }; 8631ca694eSMaxime Ripard }; 8731ca694eSMaxime Ripard 8831ca694eSMaxime Ripard... 89