55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/power/allwinner,sun20i-d1-ppu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner SoCs PPU power domain controller8 9maintainers:10 - Samuel Holland <samuel@sholland.org>11 12description:13 D1 and related SoCs contain a power domain controller for the CPUs, GPU, and14 video-related hardware.15 16properties:17 compatible:18 enum:19 - allwinner,sun20i-d1-ppu20 21 reg:22 maxItems: 123 24 clocks:25 description: Bus Clock26 maxItems: 127 28 resets:29 maxItems: 130 31 '#power-domain-cells':32 const: 133 34required:35 - compatible36 - reg37 - clocks38 - resets39 - '#power-domain-cells'40 41additionalProperties: false42 43examples:44 - |45 #include <dt-bindings/clock/sun20i-d1-r-ccu.h>46 #include <dt-bindings/reset/sun20i-d1-r-ccu.h>47 48 ppu: power-controller@7001000 {49 compatible = "allwinner,sun20i-d1-ppu";50 reg = <0x7001000 0x1000>;51 clocks = <&r_ccu CLK_BUS_R_PPU>;52 resets = <&r_ccu RST_BUS_R_PPU>;53 #power-domain-cells = <1>;54 };55