1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/bus/allwinner,sun8i-a23-rsb.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Allwinner A23 RSB Device Tree Bindings 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14c66ec88fSEmmanuel Vadot "#address-cells": 15c66ec88fSEmmanuel Vadot const: 1 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot "#size-cells": 18c66ec88fSEmmanuel Vadot const: 0 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot compatible: 21c66ec88fSEmmanuel Vadot oneOf: 22c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-a23-rsb 23c66ec88fSEmmanuel Vadot - items: 24*5def4c47SEmmanuel Vadot - enum: 25*5def4c47SEmmanuel Vadot - allwinner,sun8i-a83t-rsb 26*5def4c47SEmmanuel Vadot - allwinner,sun50i-h616-rsb 27c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-a23-rsb 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot reg: 30c66ec88fSEmmanuel Vadot maxItems: 1 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot interrupts: 33c66ec88fSEmmanuel Vadot maxItems: 1 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot clocks: 36c66ec88fSEmmanuel Vadot maxItems: 1 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot resets: 39c66ec88fSEmmanuel Vadot maxItems: 1 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot clock-frequency: 42c66ec88fSEmmanuel Vadot minimum: 1 43c66ec88fSEmmanuel Vadot maximum: 20000000 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel VadotpatternProperties: 46c66ec88fSEmmanuel Vadot "^.*@[0-9a-fA-F]+$": 47c66ec88fSEmmanuel Vadot type: object 48c66ec88fSEmmanuel Vadot properties: 49c66ec88fSEmmanuel Vadot reg: 50c66ec88fSEmmanuel Vadot maxItems: 1 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot required: 53c66ec88fSEmmanuel Vadot - reg 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotrequired: 56c66ec88fSEmmanuel Vadot - compatible 57c66ec88fSEmmanuel Vadot - reg 58c66ec88fSEmmanuel Vadot - interrupts 59c66ec88fSEmmanuel Vadot - clocks 60c66ec88fSEmmanuel Vadot - resets 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadotexamples: 63c66ec88fSEmmanuel Vadot - | 64c66ec88fSEmmanuel Vadot rsb@1f03400 { 65c66ec88fSEmmanuel Vadot compatible = "allwinner,sun8i-a23-rsb"; 66c66ec88fSEmmanuel Vadot reg = <0x01f03400 0x400>; 67c66ec88fSEmmanuel Vadot interrupts = <0 39 4>; 68c66ec88fSEmmanuel Vadot clocks = <&apb0_gates 3>; 69c66ec88fSEmmanuel Vadot clock-frequency = <3000000>; 70c66ec88fSEmmanuel Vadot resets = <&apb0_rst 3>; 71c66ec88fSEmmanuel Vadot #address-cells = <1>; 72c66ec88fSEmmanuel Vadot #size-cells = <0>; 73c66ec88fSEmmanuel Vadot 74c66ec88fSEmmanuel Vadot pmic@3e3 { 75c66ec88fSEmmanuel Vadot reg = <0x3e3>; 76c66ec88fSEmmanuel Vadot 77c66ec88fSEmmanuel Vadot /* ... */ 78c66ec88fSEmmanuel Vadot }; 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot 81c66ec88fSEmmanuel VadotadditionalProperties: false 82