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 77ef62cebSEmmanuel Vadottitle: Allwinner A23 RSB 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: 245def4c47SEmmanuel Vadot - enum: 255def4c47SEmmanuel Vadot - allwinner,sun8i-a83t-rsb 265def4c47SEmmanuel 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 48*fac71e4eSEmmanuel Vadot additionalProperties: true 49c66ec88fSEmmanuel Vadot properties: 50c66ec88fSEmmanuel Vadot reg: 51c66ec88fSEmmanuel Vadot maxItems: 1 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadot required: 54c66ec88fSEmmanuel Vadot - reg 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadotrequired: 57c66ec88fSEmmanuel Vadot - compatible 58c66ec88fSEmmanuel Vadot - reg 59c66ec88fSEmmanuel Vadot - interrupts 60c66ec88fSEmmanuel Vadot - clocks 61c66ec88fSEmmanuel Vadot - resets 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadotexamples: 64c66ec88fSEmmanuel Vadot - | 65c66ec88fSEmmanuel Vadot rsb@1f03400 { 66c66ec88fSEmmanuel Vadot compatible = "allwinner,sun8i-a23-rsb"; 67c66ec88fSEmmanuel Vadot reg = <0x01f03400 0x400>; 68c66ec88fSEmmanuel Vadot interrupts = <0 39 4>; 69c66ec88fSEmmanuel Vadot clocks = <&apb0_gates 3>; 70c66ec88fSEmmanuel Vadot clock-frequency = <3000000>; 71c66ec88fSEmmanuel Vadot resets = <&apb0_rst 3>; 72c66ec88fSEmmanuel Vadot #address-cells = <1>; 73c66ec88fSEmmanuel Vadot #size-cells = <0>; 74c66ec88fSEmmanuel Vadot 75c66ec88fSEmmanuel Vadot pmic@3e3 { 76c66ec88fSEmmanuel Vadot reg = <0x3e3>; 77c66ec88fSEmmanuel Vadot 78c66ec88fSEmmanuel Vadot /* ... */ 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot }; 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel VadotadditionalProperties: false 83