1c25b84c0SMaxime Ripard# SPDX-License-Identifier: GPL-2.0 2c25b84c0SMaxime Ripard%YAML 1.2 3c25b84c0SMaxime Ripard--- 4e1ff7390SRob Herring$id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml# 5c25b84c0SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 6c25b84c0SMaxime Ripard 7c25b84c0SMaxime Ripardtitle: Allwinner A31 MIPI D-PHY Controller Device Tree Bindings 8c25b84c0SMaxime Ripard 9c25b84c0SMaxime Ripardmaintainers: 10c25b84c0SMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 11c25b84c0SMaxime Ripard - Maxime Ripard <maxime.ripard@bootlin.com> 12c25b84c0SMaxime Ripard 13c25b84c0SMaxime Ripardproperties: 14c25b84c0SMaxime Ripard "#phy-cells": 15c25b84c0SMaxime Ripard const: 0 16c25b84c0SMaxime Ripard 17c25b84c0SMaxime Ripard compatible: 18db08ca5aSJagan Teki oneOf: 19db08ca5aSJagan Teki - const: allwinner,sun6i-a31-mipi-dphy 20db08ca5aSJagan Teki - items: 21db08ca5aSJagan Teki - const: allwinner,sun50i-a64-mipi-dphy 22db08ca5aSJagan Teki - const: allwinner,sun6i-a31-mipi-dphy 23c25b84c0SMaxime Ripard 24c25b84c0SMaxime Ripard reg: 25c25b84c0SMaxime Ripard maxItems: 1 26c25b84c0SMaxime Ripard 27c25b84c0SMaxime Ripard clocks: 28c25b84c0SMaxime Ripard items: 29c25b84c0SMaxime Ripard - description: Bus Clock 30c25b84c0SMaxime Ripard - description: Module Clock 31c25b84c0SMaxime Ripard 32c25b84c0SMaxime Ripard clock-names: 33c25b84c0SMaxime Ripard items: 34c25b84c0SMaxime Ripard - const: bus 35c25b84c0SMaxime Ripard - const: mod 36c25b84c0SMaxime Ripard 37c25b84c0SMaxime Ripard resets: 38c25b84c0SMaxime Ripard maxItems: 1 39c25b84c0SMaxime Ripard 40c25b84c0SMaxime Ripardrequired: 41c25b84c0SMaxime Ripard - "#phy-cells" 42c25b84c0SMaxime Ripard - compatible 43c25b84c0SMaxime Ripard - reg 44c25b84c0SMaxime Ripard - clocks 45c25b84c0SMaxime Ripard - clock-names 46c25b84c0SMaxime Ripard - resets 47c25b84c0SMaxime Ripard 48c25b84c0SMaxime RipardadditionalProperties: false 49c25b84c0SMaxime Ripard 50c25b84c0SMaxime Ripardexamples: 51c25b84c0SMaxime Ripard - | 52c25b84c0SMaxime Ripard dphy0: d-phy@1ca1000 { 53c25b84c0SMaxime Ripard compatible = "allwinner,sun6i-a31-mipi-dphy"; 54c25b84c0SMaxime Ripard reg = <0x01ca1000 0x1000>; 55c25b84c0SMaxime Ripard clocks = <&ccu 23>, <&ccu 97>; 56c25b84c0SMaxime Ripard clock-names = "bus", "mod"; 57c25b84c0SMaxime Ripard resets = <&ccu 4>; 58c25b84c0SMaxime Ripard #phy-cells = <0>; 59c25b84c0SMaxime Ripard }; 60c25b84c0SMaxime Ripard 61c25b84c0SMaxime Ripard... 62