1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*84943d6fSEmmanuel Vadot%YAML 1.2 3*84943d6fSEmmanuel Vadot--- 4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/devfreq/event/rockchip,dfi.yaml# 5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*84943d6fSEmmanuel Vadot 7*84943d6fSEmmanuel Vadottitle: Rockchip DFI 8*84943d6fSEmmanuel Vadot 9*84943d6fSEmmanuel Vadotmaintainers: 10*84943d6fSEmmanuel Vadot - Sascha Hauer <s.hauer@pengutronix.de> 11*84943d6fSEmmanuel Vadot 12*84943d6fSEmmanuel Vadotproperties: 13*84943d6fSEmmanuel Vadot compatible: 14*84943d6fSEmmanuel Vadot enum: 15*84943d6fSEmmanuel Vadot - rockchip,rk3399-dfi 16*84943d6fSEmmanuel Vadot - rockchip,rk3568-dfi 17*84943d6fSEmmanuel Vadot - rockchip,rk3588-dfi 18*84943d6fSEmmanuel Vadot 19*84943d6fSEmmanuel Vadot clocks: 20*84943d6fSEmmanuel Vadot maxItems: 1 21*84943d6fSEmmanuel Vadot 22*84943d6fSEmmanuel Vadot clock-names: 23*84943d6fSEmmanuel Vadot items: 24*84943d6fSEmmanuel Vadot - const: pclk_ddr_mon 25*84943d6fSEmmanuel Vadot 26*84943d6fSEmmanuel Vadot interrupts: 27*84943d6fSEmmanuel Vadot minItems: 1 28*84943d6fSEmmanuel Vadot maxItems: 4 29*84943d6fSEmmanuel Vadot 30*84943d6fSEmmanuel Vadot reg: 31*84943d6fSEmmanuel Vadot maxItems: 1 32*84943d6fSEmmanuel Vadot 33*84943d6fSEmmanuel Vadot rockchip,pmu: 34*84943d6fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 35*84943d6fSEmmanuel Vadot description: 36*84943d6fSEmmanuel Vadot Phandle to the syscon managing the "PMU general register files". 37*84943d6fSEmmanuel Vadot 38*84943d6fSEmmanuel Vadotrequired: 39*84943d6fSEmmanuel Vadot - compatible 40*84943d6fSEmmanuel Vadot - interrupts 41*84943d6fSEmmanuel Vadot - reg 42*84943d6fSEmmanuel Vadot 43*84943d6fSEmmanuel Vadotif: 44*84943d6fSEmmanuel Vadot properties: 45*84943d6fSEmmanuel Vadot compatible: 46*84943d6fSEmmanuel Vadot contains: 47*84943d6fSEmmanuel Vadot enum: 48*84943d6fSEmmanuel Vadot - rockchip,rk3399-dfi 49*84943d6fSEmmanuel Vadot 50*84943d6fSEmmanuel Vadotthen: 51*84943d6fSEmmanuel Vadot required: 52*84943d6fSEmmanuel Vadot - clocks 53*84943d6fSEmmanuel Vadot - clock-names 54*84943d6fSEmmanuel Vadot 55*84943d6fSEmmanuel VadotadditionalProperties: false 56*84943d6fSEmmanuel Vadot 57*84943d6fSEmmanuel Vadotexamples: 58*84943d6fSEmmanuel Vadot - | 59*84943d6fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 60*84943d6fSEmmanuel Vadot #include <dt-bindings/clock/rk3308-cru.h> 61*84943d6fSEmmanuel Vadot 62*84943d6fSEmmanuel Vadot bus { 63*84943d6fSEmmanuel Vadot #address-cells = <2>; 64*84943d6fSEmmanuel Vadot #size-cells = <2>; 65*84943d6fSEmmanuel Vadot 66*84943d6fSEmmanuel Vadot dfi: dfi@ff630000 { 67*84943d6fSEmmanuel Vadot compatible = "rockchip,rk3399-dfi"; 68*84943d6fSEmmanuel Vadot reg = <0x00 0xff630000 0x00 0x4000>; 69*84943d6fSEmmanuel Vadot interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>; 70*84943d6fSEmmanuel Vadot rockchip,pmu = <&pmugrf>; 71*84943d6fSEmmanuel Vadot clocks = <&cru PCLK_DDR_MON>; 72*84943d6fSEmmanuel Vadot clock-names = "pclk_ddr_mon"; 73*84943d6fSEmmanuel Vadot }; 74*84943d6fSEmmanuel Vadot }; 75